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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSMapID\u003c/code\u003e is an opaque identifier used for custom Google Maps configurations.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a \u003ccode\u003eGMSMapID\u003c/code\u003e using a unique string identifier.\u003c/p\u003e\n"],["\u003cp\u003eA demo \u003ccode\u003eGMSMapID\u003c/code\u003e is available for code samples, but it's not for production use and incurs charges.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003edemoMapID\u003c/code\u003e in your application will trigger a map load charge against the Dynamic Maps SKU.\u003c/p\u003e\n"]]],["`GMSMapID` is an identifier for custom map configurations. It cannot be initialized directly; instead, create a `GMSMapID` using `initWithIdentifier:` or `mapIDWithIdentifier:`, providing a string. The `demoMapID` is available for code samples but is not for production use or cloud features. Usage of the `demoMapID` will trigger charges on Dynamic Maps. It has to be copied using the `NSCopying` protocol.\n"],null,["GMSMapID \n\n @interface GMSMapID : NSObject \u003cNSCopying\u003e\n\nAn opaque identifier for a custom map configuration.\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)GMSMapID(im)init)`\n ` \n Unavailable \n\n Declaration \n Objective-C \n\n - (instancetype)init NS_UNAVAILABLE;\n\n- `\n ``\n ``\n `\n\n [-initWithIdentifier:](#/c:objc(cs)GMSMapID(im)initWithIdentifier:)`\n ` \n Creates a new mapID with the given string value. \n\n Declaration \n Swift \n\n init(identifier: String)\n\n Objective-C \n\n - (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier;\n\n- `\n ``\n ``\n `\n\n [+mapIDWithIdentifier:](#/c:objc(cs)GMSMapID(cm)mapIDWithIdentifier:)`\n ` \n Creates a new mapID with the given string value. \n\n Declaration \n Objective-C \n\n + (nonnull instancetype)mapIDWithIdentifier:(nonnull NSString *)identifier;\n\n- `\n ``\n ``\n `\n\n [demoMapID](#/c:objc(cs)GMSMapID(cpy)demoMapID)`\n ` \n Returns the DEMO_MAP_ID, which can be used for code samples which require a map ID. This map ID\n is not intended for use in production applications and cannot be used for features which require\n cloud configuration (such as Cloud Styling). \n Note\n 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: \u003chttps://developers.google.com/maps/billing-and-pricing/pricing#dynamic-maps\u003e \n\n Declaration \n Swift \n\n class var demoMapID: GMSMapID { get }\n\n Objective-C \n\n @property (class, nonatomic, readonly) NS_SWIFT_NAME GMSMapID *demoMapID;"]]