New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see
New map style for Google Maps Platform .
Send feedback
GMSMapID Class Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
GMSMapID * demoMapID
Returns the DEMO_MAP_ID, which can be used for code samples which require a map ID.
Member Function Documentation
Creates a new mapID with the given string value.
Creates a new mapID with the given string value.
Property Documentation
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
Send feedback
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 2024-04-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-04-01 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 2024-04-01 UTC."]]