Enumerations
The following enumerations are available globally.
-
A
GMSNavigationDelayCategoryis a category that represents the delay category of a route or a a path.Declaration
Swift
enum GMSNavigationDelayCategory : Int, @unchecked SendableObjective-C
enum GMSNavigationDelayCategory : NSInteger {} -
The image size which
GMSNavigationStepInfoimages will be generated.Declaration
Swift
enum GMSNavigationManeuverImageSize : Int, @unchecked SendableObjective-C
enum GMSNavigationManeuverImageSize : NSInteger {} -
The camera mode which determines the camera following behavior.
Declaration
Swift
enum GMSNavigationCameraMode : Int, @unchecked SendableObjective-C
enum GMSNavigationCameraMode : NSInteger {} -
The different camera perspectives that can be set when following the user location.
Declaration
Swift
enum GMSNavigationCameraPerspective : Int, @unchecked SendableObjective-C
enum GMSNavigationCameraPerspective : NSInteger {} -
The different travel modes that can be used for navigation.
Declaration
Swift
enum GMSNavigationTravelMode : Int, @unchecked SendableObjective-C
enum GMSNavigationTravelMode : NSInteger {} -
Determines whether voice guidance is played under certain circumstances.
Declaration
Swift
enum GMSNavigationVoiceGuidance : Int, @unchecked SendableObjective-C
enum GMSNavigationVoiceGuidance : NSInteger {} -
Determines what type of audio devices voice guidance may be played through.
Declaration
Swift
enum GMSVoiceGuidanceAudioDeviceType : Int, @unchecked SendableObjective-C
enum GMSVoiceGuidanceAudioDeviceType : NSInteger {} -
A
GMSRouteStatusis a status code that represents the result of a route request.Declaration
Swift
enum GMSRouteStatus : Int, @unchecked SendableObjective-C
enum GMSRouteStatus : NSInteger {} -
Lighting mode is used to specify different color schemes based on available light.
Declaration
Swift
enum GMSNavigationLightingMode : Int, @unchecked SendableObjective-C
enum GMSNavigationLightingMode : NSInteger {} -
The routing strategy specifies how routes are ranked, which affects the route when it is chosen and during re-routing. The default value is
GMSNavigationRoutingStrategyDefaultBest.Declaration
Swift
enum GMSNavigationRoutingStrategy : Int, @unchecked SendableObjective-C
enum GMSNavigationRoutingStrategy : NSInteger {} -
The format specifies whether to show distance or ETA information in route callouts.
Declaration
Swift
enum GMSNavigationRouteCalloutFormat : Int, @unchecked SendableObjective-C
enum GMSNavigationRouteCalloutFormat : NSInteger {} -
Indicates the maximum number of alternate routes that can be requested.
Declaration
Swift
enum GMSNavigationAlternateRoutesStrategy : Int, @unchecked SendableObjective-C
enum GMSNavigationAlternateRoutesStrategy : NSInteger {} -
Declaration
Swift
enum GMSNavigationSpeedAlertSeverity : Int, @unchecked SendableObjective-C
NS_ENUM(NSInteger, GMSNavigationSpeedAlertSeverity) { /** Either speed or speed limit could not be determined. */ GMSNavigationSpeedAlertSeverityUnknown = -2, /** No speeding is occurring. */ GMSNavigationSpeedAlertSeverityNotSpeeding = -1, /** Minor speed alert. */ GMSNavigationSpeedAlertSeverityMinor = 0, /** Major speed alert. */ GMSNavigationSpeedAlertSeverityMajor, } -
The state of navigation.
Declaration
Swift
enum GMSNavigationNavState : Int, @unchecked SendableObjective-C
enum GMSNavigationNavState : NSInteger {} -
Whether this step is on a drive-on-right or drive-on-left route. May be unspecified.
Declaration
Swift
enum GMSNavigationDrivingSide : UInt, @unchecked SendableObjective-C
enum GMSNavigationDrivingSide : NSUInteger {} -
A set of values that specify the navigation action to take.
Declaration
Swift
enum GMSNavigationManeuver : UInt, @unchecked SendableObjective-C
enum GMSNavigationManeuver : NSUInteger {} -
A set of values describing the shape of a lane.
Declaration
Swift
enum GMSNavigationLaneShape : Int, @unchecked SendableObjective-C
enum GMSNavigationLaneShape : NSInteger {} -
How markers interact with other markers and regular labels. Defaults to
GMSCollisionBehaviorRequired.Marker collisions occur when coordinates intersect.
Priority is defined as: 1) Required > Optional 2) zIndex: higher zIndex > lower zIndex
Beyond this, it is undefined which marker will show if both are optional and have the same zIndex. Regular map labels are the lowest priority.
Declaration
Swift
enum GMSCollisionBehavior : Int, @unchecked SendableObjective-C
enum GMSCollisionBehavior : NSInteger {} -
GMSGeocodererror codes, embedded in NSError.Declaration
Swift
enum GMSGeocoderErrorCode : Int, @unchecked SendableObjective-C
enum GMSGeocoderErrorCode : NSInteger {} -
Flags that represent conditionally-available map capabilities (ones that require a mapID or some other map setting) that can be used to indicate availability.
Declaration
Swift
struct GMSMapCapabilityFlags : OptionSet, @unchecked SendableObjective-C
enum GMSMapCapabilityFlags : NSUInteger {} -
Display types for
GMSMapView.Declaration
Swift
enum GMSMapViewType : UInt, @unchecked SendableObjective-C
enum GMSMapViewType : NSUInteger {} -
Rendering frame rates for
GMSMapView.Declaration
Swift
enum GMSFrameRate : UInt, @unchecked SendableObjective-C
enum GMSFrameRate : NSUInteger {} -
Constants indicating how safe area insets are added to padding.
Declaration
Swift
enum GMSMapViewPaddingAdjustmentBehavior : UInt, @unchecked SendableObjective-C
enum GMSMapViewPaddingAdjustmentBehavior : NSUInteger {} -
Animation types for GMSMarker.
Declaration
Swift
enum GMSMarkerAnimation : UInt, @unchecked SendableObjective-C
enum GMSMarkerAnimation : NSUInteger {} -
Source types for Panoramas. Used to specify the source of a StreetView Panorama.
This API is experimental. Results may not always match expectations.
Declaration
Swift
enum GMSPanoramaSource : UInt, @unchecked SendableObjective-C
enum GMSPanoramaSource : NSUInteger {} -
GMSLengthKindindicates the type of a length value, which can be geodesic (in meters), rhumb length (in meters) and projected length (inGMSMapPointunits).Declaration
Swift
enum GMSLengthKind : UInt, @unchecked SendableObjective-C
enum GMSLengthKind : NSUInteger {}