I'm using the Google Maps API and would like it to render a very simple image of countries/continents.
I also want to draw them in a suitable color that will work well with my site's color scheme.
Would I need to create my own tile-server? Or can I customize this somehow through the API?
In the Google Cloud Console, go to the Map Styles page. Select the style you want, and click Customize Style.
A custom map in Google Maps can be customized with various different components. You can add marker points, shapes or lines, as well as directions directly onto the map.
To color-code your map, just use the same method for the icons – click on the destination and when the box pops up, just click on whatever color you want to make it. You can make all restaurants blue, all shopping pink, all parks green, etc.
Google recently announced support for Styled Maps in the Google Maps API. You can extensively customize the color scheme used by Google Maps.
It is possible now with the Google maps V3 API. It comes as a custom map style.
Google made a style wizard: https://mapstyle.withgoogle.com/
Google Maps API v3. Working jsFiddle:
jsFiddle ---------------------------------------> http://jsfiddle.net/SQvej/
styles:[
{ featureType: "water", stylers: [ { hue: "#F4B741"} ] },
{ featureType: "road", stylers: [ { hue: "#ff0000" } ] }
]
Less words, more fiddles: http://24.media.tumblr.com/tumblr_m0i1emsdP31qaebp2o1_400.gif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With