GMSMapID Class Reference


Overview

An opaque identifier for a custom map configuration.

Public Member Functions

(instancetype) - initWithIdentifier:
 Creates a new mapID with the given string value.

Static Public Member Functions

(instancetype) + mapIDWithIdentifier:
 Creates a new mapID with the given string value.

Properties

GMSMapIDdemoMapID
 Returns the DEMO_MAP_ID, which can be used for code samples which require a map ID.

Member Function Documentation

- (instancetype) initWithIdentifier: (NSString *)  identifier

Creates a new mapID with the given string value.

+ (instancetype) mapIDWithIdentifier: (NSString *)  identifier

Creates a new mapID with the given string value.


Property Documentation

- (GMSMapID*) demoMapID [read, assign]

Returns the DEMO_MAP_ID, which can be used for code samples which require a map ID.

This map ID is not intended for use in production applications and cannot be used for features which require cloud configuration (such as Cloud Styling).

Note:
Usage of DEMO_MAP_ID triggers a map load charge against the Dynamic Maps SKU for Android and iOS. For more Information see Google Maps Billing: https://developers.google.com/maps/billing-and-pricing/pricing#dynamic-maps