Skip to content

Instantly share code, notes, and snippets.

@jalvarado91
Created January 9, 2014 22:53
Show Gist options
  • Save jalvarado91/8343654 to your computer and use it in GitHub Desktop.
Save jalvarado91/8343654 to your computer and use it in GitHub Desktop.
JSON to style a google map(API v3) to a clean look without all the clutter a usual map has. (Looks better near a water mass)
[
{
"featureType": "administrative.neighborhood",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "road.local",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "transit",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "landscape",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "road.highway",
"stylers": [
{ "saturation": -100 },
{ "weight": 1.1 },
{ "lightness": 13 },
{ "gamma": 1.53 }
]
},{
"featureType": "poi",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "water",
"stylers": [
{ "lightness": -21 }
]
},{
"featureType": "administrative.locality",
"stylers": [
{ "visibility": "off" }
]
},{
"featureType": "road.arterial",
"stylers": [
{ "visibility": "on" },
{ "lightness": 58 }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment