# GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateWhileNavigationEnabled

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

The layout delegate cannot be set after navigation UI has been enabled.