# GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateOnCarPlayScreen

    static const https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Type-Definitions/GMSMapViewNavigationLayoutErrorCode.html
        GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateOnCarPlayScreen = 2

The layout delegate cannot be set on a CarPlay screen.