mapTemplateShouldProvideRouteSharing(_:)
Determines if the template should provide route sharing information to the vehicle. Apps that participate in route sharing will donate navigation information to the vehicle including the current route, a list of waypoints, and other metadata that allows the vehicle to track the user’s preferred route to their destination.
Declaration
optional func mapTemplateShouldProvideRouteSharing(_ mapTemplate: CPMapTemplate) -> BoolReturn Value
YES if the template should provide route sharing, otherwise NO