Cloud-based maps styling now available for the Maps Static API

On June 15, we announced new cloud-based maps styling features that allow you to customize, style, manage, and deploy changes to your maps from the Google Maps Platform tab in the Google Cloud console. These new features open up new workflows that give you the ability to make changes to your map without deploying code, while also giving you greater control over the behavior and styling of the map.

Today, we’re happy to announce that cloud-based maps styling can also be used with the Maps Static API. For those of you who haven’t used the Maps Static API, it allows you to embed a map as a static image on a webpage using only HTML, offering an easier-to-use alternative to the more interactive and feature-rich dynamic maps provided by the Maps JavaScript API. This makes static maps a great solution for simple use cases where you only need to display a minimal number of points spread over a limited area, such as the location of a single store.

Previously, it was possible to style static maps, but it required verbose, difficult-to-manage syntax embedded in URL parameters. For example, take this retro-styled map:

Styled static map

A map with retro custom styling

The request to render this as a static map without cloud-based maps styling looks like this:


Now, all you need to do is create a new map style with the in-console style editor, associate it with a map ID, and provide the ID in the request. What was once a complex set of parameters, now looks like this:


Much nicer, right? Plus you now also get access to all of our exciting new Maps customization features for your static map, including customizing POI boosting and filtering, and easily updating and deploying changes from the Google Cloud console. 

To learn more about using maps customization features for the Maps Static API, check out the documentation. We can’t wait to see the beautiful custom maps you’ll build.

For more information on Google Maps Platform, visit our website.

Read More