> Documentation index: https://developers.google.com/maps/documentation/llms.txt

# GoogleNavigation Framework Reference

# GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateWhileNavigationEnabled

    static const GMSMapViewNavigationLayoutErrorCode
        GMSMapViewNavigationLayoutErrorCodeCannotSetDelegateWhileNavigationEnabled =
            1

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