Google has today announced new features to its Maps API that make its previously launched Styled Maps feature much more customizable. With this change, developers can now do things like specify precise colors, adjust line widths and control stroke styles, creating an entirely different look and feel.
To get started, check out the (dated-looking) Styled Maps Wizard. It’s easy to use, and will likely make it harder for your users to recognize what map service you’re using in the first place. Most importantly, it will allow for some extra flexibility when it comes to making your maps match your site.
More specifically, here’s exactly what you can do, from Thor Mitchell, Product Manager at Google Maps API:
- You can now specify a precise color for features as an RGB value in addition to the current adjustment filters for hue, saturation, lightness, and gamma.
- You can now style the outline stroke of features separately from the interior fill, and the label text separately from any icon
- You can now adjust the width of line features such as roads, rivers and also the width of feature outlines.