Google Maps Converter
V1 to V2 Style Converter
Convert Google Maps JavaScript API V1 style JSON to V2 CBMS format. Free online tool for migrating custom map styles.
Style Converter
V1 Input
V2 Output
How to Use Your V2 Style in Google Cloud Console
Access Google Cloud Console
Navigate to the Google Cloud Console and sign in with your credentials.
Navigate to Map Styles
Go to the Map Styles section in Google Cloud Console. If prompted, select the appropriate project.
Create a New Map Style
Click on Create Style, then in the dialog that appears, select the JSON tab.
You can either paste your converted V2 JSON directly into the provided field, or upload the JSON file you downloaded using the Upload a JSON File button.
Validate and Customize Your Style
Check for any errors in your JSON:
- If errors are present, a warning will indicate the number of errors. Expand the warning to view details.
- If the JSON is valid, a map preview will display your custom style, and the Customize button will become available.
Click Customize to create a new map style and optionally modify feature styles as needed.
Save and Publish Your Map Style
Click Save. In the Save and Publish Map Style dialog, enter a name for your style and, optionally, a description.
Click Save again. The style is automatically published, and you'll be directed to your new style's main page.
Associate Your Style with a Map ID
To apply your new style to a map, associate it with a map ID. For detailed instructions, refer to the Google Maps Platform documentation.