Stay organized with collections Save and categorize content based on your preferences.
GMSMapID@interface GMSMapID : NSObject <NSCopying>
An opaque identifier for a custom map configuration.
Unavailable
DeclarationObjective-C
- (instancetype)init NS_UNAVAILABLE;
Creates a new mapID with the given string value.
DeclarationSwift
init(identifier: String)
Objective-C
- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier;
Creates a new mapID with the given string value.
DeclarationObjective-C
+ (nonnull instancetype)mapIDWithIdentifier:(nonnull NSString *)identifier;
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).
DeclarationSwift
class var demoMapID: GMSMapID { get }
Objective-C
@property (class, nonatomic, readonly) NS_SWIFT_NAME GMSMapID *demoMapID;
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-07-14 UTC.
[[["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."],[[["`GMSMapID` is an opaque identifier used for custom Google Maps configurations."],["You can create a `GMSMapID` using a unique string identifier."],["A demo `GMSMapID` is available for code samples, but it's not for production use and incurs charges."],["Using `demoMapID` in your application will trigger a map load charge against the Dynamic Maps SKU."]]],["`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"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4