GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSNavigationDrivingSide
enum GMSNavigationDrivingSide : NSUInteger {}
Whether this step is on a drive-on-right or drive-on-left route. May be unspecified.
-
Declaration
Objective-C
GMSNavigationDrivingSideNone = 0
-
Declaration
Objective-C
GMSNavigationDrivingSideLeft = 1
-
Declaration
Objective-C
GMSNavigationDrivingSideRight = 2
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSNavigationDrivingSide\u003c/code\u003e is an enum used to indicate whether a route is designed for driving on the left or right side of the road.\u003c/p\u003e\n"],["\u003cp\u003eIt includes three possible values: \u003ccode\u003enone\u003c/code\u003e (unspecified), \u003ccode\u003eleft\u003c/code\u003e (drive-on-left), and \u003ccode\u003eright\u003c/code\u003e (drive-on-right).\u003c/p\u003e\n"],["\u003cp\u003eEach value is represented by an integer, with \u003ccode\u003enone\u003c/code\u003e being 0, \u003ccode\u003eleft\u003c/code\u003e being 1, and \u003ccode\u003eright\u003c/code\u003e being 2, accessible in both Swift and Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSNavigationDrivingSide\n========================\n\n enum GMSNavigationDrivingSide : NSUInteger {}\n\nWhether this step is on a drive-on-right or drive-on-left route. May be unspecified.\n- `\n ``\n ``\n `\n\n ### [GMSNavigationDrivingSideNone](#/c:@E@GMSNavigationDrivingSide@GMSNavigationDrivingSideNone)\n\n `\n ` \n Unspecified side. \n\n #### Declaration\n\n Swift \n\n case none = 0\n\n Objective-C \n\n GMSNavigationDrivingSideNone = 0\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationDrivingSideLeft](#/c:@E@GMSNavigationDrivingSide@GMSNavigationDrivingSideLeft)\n\n `\n ` \n Drive-on-left side. \n\n #### Declaration\n\n Swift \n\n case left = 1\n\n Objective-C \n\n GMSNavigationDrivingSideLeft = 1\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationDrivingSideRight](#/c:@E@GMSNavigationDrivingSide@GMSNavigationDrivingSideRight)\n\n `\n ` \n Drive-on-right side. \n\n #### Declaration\n\n Swift \n\n case right = 2\n\n Objective-C \n\n GMSNavigationDrivingSideRight = 2"]]