I would like to disable road marking on a Google map. I looked at https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleFeatureType and played with the wizard at http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index .html . However, any options that I chose did not turn off the road markings. Ideally, I would like to add my own routes (for example, airline flights), but road markings discard them.
Using the wizard, I got the following: http://maps.googleapis.com/maps/api/staticmap?center=42.629586,-83.822497&zoom=9&format=png&sensor=false&size=640x480&maptype=roadmap&style=feature:administrative.country|visibility:on = hue: 0x0099ff & style = element: labels | hue: 0xff0000 . I like it, but I want to turn off all road markings. Does anyone know how to do this.
Thanks BillN
You can remove traffic signs or traffic signs using the style generator. If you are using api v3 javascript. JSON style will look like
[ { featureType: "road", stylers: [ { visibility: "off" } ] },{ } ]
Here's a static link without roads.
http://maps.googleapis.com/maps/api/staticmap?center=45.95115,-113.884277&zoom=7&format=png&sensor=false&size=640x480&maptype=roadmap&style=feature:road|visibility:off