Monday, July 16, 2012

Google Maps with Some Style

I know, I know, Google Maps API V3 is all I've been talking about, but there really is no end to what one can do using it.  As a mapaholic learning more and more each week, I can't help but want to share the things I discover.

There's no doubt the look of a regular Google Map is clean, classic and easy to read and understand.  Sometimes, that classic look just doesn't cut it.  Fortunately Google offers a great tool to style their maps with any colors you want.  It takes a little bit of trial and error because the feature classes and names are not very intuitive, but in just a few minutes you'll get the hang of it.

Once you get the custom style you like you click a button and are given a javascript object.  You can use that in your code to customize any map you host.  Here's what the code looks like.

Easy peasy lemon squeezy.  The Google Geo Developers Blog posted a few great examples of custom map styles.  I would be remiss if I didn't share this gem with you.

No comments:

Post a Comment