Created
July 8, 2013 18:07
-
-
Save kpq/5951045 to your computer and use it in GitHub Desktop.
generic + unofficial map styles for NYT google maps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mapStyles = [ { "elementType" : "all", | |
"featureType" : "all", | |
"stylers" : [ { "lightness" : 53 }, | |
{ "gamma" : 0.80000000000000004 }, | |
{ "saturation" : -61 } | |
] | |
}, | |
{ "elementType" : "geometry", | |
"featureType" : "road.local", | |
"stylers" : [ { "saturation" : -73 }, | |
{ "lightness" : 33 }, | |
{ "gamma" : 0.80000000000000004 }, | |
{ "visibility" : "simplified" } | |
] | |
}, | |
{ "elementType" : "geometry", | |
"featureType" : "road.arterial", | |
"stylers" : [ { "saturation" : -91 }, | |
{ "gamma" : 0.80000000000000004 }, | |
{ "visibility" : "simplified" }, | |
{ "lightness" : 100 } | |
] | |
}, | |
{ "elementType" : "labels", | |
"featureType" : "road.arterial", | |
"stylers" : [ { "visibility" : "on" }, { "weight": 0.1 }, { saturation: -70 }, ] | |
}, | |
// { | |
// "featureType": "road.arterial", | |
// "elementType": "geometry.stroke", | |
// "stylers": [ | |
// { "visibility": "on" }, | |
// { "color": "#808080" } | |
// ] | |
// }, | |
{ "elementType" : "geometry", | |
"featureType" : "road.highway", | |
"stylers" : [ { "visibility" : "simplified" }, | |
{ "saturation" : -91 }, | |
{ "gamma" : 0.80000000000000004 }, | |
{ "lightness" : 94 } | |
] | |
}, | |
{ "elementType" : "labels", | |
"featureType" : "road.highway", | |
"stylers" : [ { "visibility" : "simplified" } ] | |
}, | |
{ "elementType" : "geometry", | |
"featureType" : "landscape.man_made", | |
"stylers" : [ { "visibility" : "simplified" }, | |
{ "gamma" : 0 } | |
] | |
}, | |
{ "elementType" : "labels", | |
"featureType" : "poi.park", | |
"stylers" : [ { "visibility" : "off" } ] | |
}, | |
{ "elementType" : "labels", | |
"featureType" : "administrative.locality", | |
"stylers" : [ { "visibility" : "on" } ] | |
}, | |
{ "featureType" : "administrative.neighborhood", | |
"stylers" : [ { "visibility" : "on" } ] | |
}, | |
{ "featureType" : "transit", | |
"stylers" : [ { "visibility" : "off" } ] | |
}, | |
{ | |
"featureType": "poi", | |
"elementType": "labels", | |
"stylers": [ | |
{ "visibility": "off" } | |
] | |
}, | |
{ | |
"featureType": "administrative.locality", | |
"elementType": "labels", | |
"stylers": [ | |
{ "visibility": "off" } | |
] | |
},{ | |
"featureType": "administrative.neighborhood", | |
"stylers": [ | |
{ "visibility": "off" } | |
] | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment