GoogleNavigation Framework Reference

  • GMSNavigationAlternateRoutesStrategy is an enum used to specify the maximum number of alternate routes to be requested during navigation.

  • The strategy can be set to show all available alternate routes (all), no alternate routes (none), or just one alternate route (one).

  • Each strategy option is represented by an integer value and is available in both Swift and Objective-C.

GMSNavigationAlternateRoutesStrategy

enum GMSNavigationAlternateRoutesStrategy : NSInteger {}

Indicates the maximum number of alternate routes that can be requested.