Before you begin
Create amap ID: To use cloud-based maps styling, your map must be loaded using a map ID.
Update from hard-coded styling: Before adding a map ID to use cloud-based maps styling on an existing map that is customized with hard-coded styling, such as JSON or URL query parameters, remove the hard-coded styling to avoid a potential conflict with future features. You can import your JSON styling into a new map style.
- On Android,update
MapStyleOptions
- On iOS,update the
GMSMapStyle
class - On JavaScript,remove the
MapTypeStyle
styling - On Maps Static,remove the
style
parameter
- On Android,update
Billing
Using cloud-based maps styling requires a map ID.On Maps SDK for Android, Maps SDK for iOS, and JavaScript, using a map ID incurs a charge against the Dynamic Maps SKU.On the Maps Static API, using a map ID incurs a charge against theStatic MapsSKU.