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. | |
(GMSMapID *demoMapID) | - NS_SWIFT_NAME |
Returns the DEMO_MAP_ID, which can be used for code samples which require a Map ID. | |
Static Public Member Functions | |
(instancetype) | + mapIDWithIdentifier: |
Creates a new mapID with the given string value. |
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.
- (GMSMapID* demoMapID) NS_SWIFT_NAME | (demoMapID) |
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. See pricing and billing information about dynamic maps in Google Maps Billing documentation.