GoogleNavigation Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSNavigationLaneShape
enum GMSNavigationLaneShape : NSInteger {}
A set of values describing the shape of a lane.
-
Declaration
Objective-C
GMSNavigationLaneShapeUnknown = 0
-
Declaration
Objective-C
GMSNavigationLaneShapeStraight = 1
-
Slight left turn (10-45 degrees).
Declaration
Swift
case slightLeft = 2
Objective-C
GMSNavigationLaneShapeSlightLeft = 2
-
Slight right turn (10-45 degrees).
Declaration
Swift
case slightRight = 3
Objective-C
GMSNavigationLaneShapeSlightRight = 3
-
Normal left turn (45-135 degrees).
Declaration
Swift
case normalLeft = 4
Objective-C
GMSNavigationLaneShapeNormalLeft = 4
-
Normal right turn (45-135 degrees).
Declaration
Swift
case normalRight = 5
Objective-C
GMSNavigationLaneShapeNormalRight = 5
-
Sharp left turn (135-175 degrees).
Declaration
Objective-C
GMSNavigationLaneShapeSharpLeft = 6
-
Sharp right turn (135-175 degrees).
Declaration
Swift
case sharpRight = 7
Objective-C
GMSNavigationLaneShapeSharpRight = 7
-
A left turn onto the opposite side of the same street (175-180 degrees).
Declaration
Objective-C
GMSNavigationLaneShapeUTurnLeft = 8
-
A right turn onto the opposite side of the same street (175-180 degrees).
Declaration
Swift
case uTurnRight = 9
Objective-C
GMSNavigationLaneShapeUTurnRight = 9
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\u003eGMSNavigationLaneShape\u003c/code\u003e is an enum defining the shape of a traffic lane for navigation purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt provides values for various lane directions, including straight, left/right turns with different angles, and U-turns.\u003c/p\u003e\n"],["\u003cp\u003eEach lane shape is represented by an integer value, accessible through both Swift and Objective-C.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this enum to understand and display the intended path of a lane during navigation.\u003c/p\u003e\n"]]],[],null,["# GoogleNavigation Framework Reference\n\nGMSNavigationLaneShape\n======================\n\n enum GMSNavigationLaneShape : NSInteger {}\n\nA set of values describing the shape of a lane.\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeUnknown](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeUnknown)\n\n `\n ` \n Unknown lane shape. \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n Objective-C \n\n GMSNavigationLaneShapeUnknown = 0\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeStraight](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeStraight)\n\n `\n ` \n Continue straight. \n\n #### Declaration\n\n Swift \n\n case straight = 1\n\n Objective-C \n\n GMSNavigationLaneShapeStraight = 1\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeSlightLeft](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeSlightLeft)\n\n `\n ` \n Slight left turn (10-45 degrees). \n\n #### Declaration\n\n Swift \n\n case slightLeft = 2\n\n Objective-C \n\n GMSNavigationLaneShapeSlightLeft = 2\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeSlightRight](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeSlightRight)\n\n `\n ` \n Slight right turn (10-45 degrees). \n\n #### Declaration\n\n Swift \n\n case slightRight = 3\n\n Objective-C \n\n GMSNavigationLaneShapeSlightRight = 3\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeNormalLeft](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeNormalLeft)\n\n `\n ` \n Normal left turn (45-135 degrees). \n\n #### Declaration\n\n Swift \n\n case normalLeft = 4\n\n Objective-C \n\n GMSNavigationLaneShapeNormalLeft = 4\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeNormalRight](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeNormalRight)\n\n `\n ` \n Normal right turn (45-135 degrees). \n\n #### Declaration\n\n Swift \n\n case normalRight = 5\n\n Objective-C \n\n GMSNavigationLaneShapeNormalRight = 5\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeSharpLeft](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeSharpLeft)\n\n `\n ` \n Sharp left turn (135-175 degrees). \n\n #### Declaration\n\n Swift \n\n case sharpLeft = 6\n\n Objective-C \n\n GMSNavigationLaneShapeSharpLeft = 6\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeSharpRight](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeSharpRight)\n\n `\n ` \n Sharp right turn (135-175 degrees). \n\n #### Declaration\n\n Swift \n\n case sharpRight = 7\n\n Objective-C \n\n GMSNavigationLaneShapeSharpRight = 7\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeUTurnLeft](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeUTurnLeft)\n\n `\n ` \n A left turn onto the opposite side of the same street (175-180 degrees). \n\n #### Declaration\n\n Swift \n\n case uTurnLeft = 8\n\n Objective-C \n\n GMSNavigationLaneShapeUTurnLeft = 8\n\n- `\n ``\n ``\n `\n\n ### [GMSNavigationLaneShapeUTurnRight](#/c:@E@GMSNavigationLaneShape@GMSNavigationLaneShapeUTurnRight)\n\n `\n ` \n A right turn onto the opposite side of the same street (175-180 degrees). \n\n #### Declaration\n\n Swift \n\n case uTurnRight = 9\n\n Objective-C \n\n GMSNavigationLaneShapeUTurnRight = 9"]]