GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTCPolylineType
enum GMTCPolylineType : NSUInteger {}
Enum definition of all supported polyline types.
-
Declaration
Swift
case activeRoute = 0
Objective-C
GMTCPolylineTypeActiveRoute
-
Declaration
Swift
case remainingRoute = 1
Objective-C
GMTCPolylineTypeRemainingRoute
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\u003eGMTCPolylineType\u003c/code\u003e is an enumeration defining the supported types of polylines.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTCPolylineTypeActiveRoute\u003c/code\u003e represents the active route, with a value of 0 in Swift and \u003ccode\u003eGMTCPolylineTypeActiveRoute\u003c/code\u003e in Objective-C.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMTCPolylineTypeRemainingRoute\u003c/code\u003e indicates the remaining route, having a value of 1 in Swift and \u003ccode\u003eGMTCPolylineTypeRemainingRoute\u003c/code\u003e in Objective-C.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTCPolylineType\n================\n\n enum GMTCPolylineType : NSUInteger {}\n\nEnum definition of all supported polyline types.\n- `\n ``\n ``\n `\n\n ### [GMTCPolylineTypeActiveRoute](#/c:@E@GMTCPolylineType@GMTCPolylineTypeActiveRoute)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case activeRoute = 0\n\n Objective-C \n\n GMTCPolylineTypeActiveRoute\n\n- `\n ``\n ``\n `\n\n ### [GMTCPolylineTypeRemainingRoute](#/c:@E@GMTCPolylineType@GMTCPolylineTypeRemainingRoute)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case remainingRoute = 1\n\n Objective-C \n\n GMTCPolylineTypeRemainingRoute"]]