Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Forked from febuiles/map.js
Created June 8, 2011 19:58
Show Gist options
  • Save jpemberthy/1015241 to your computer and use it in GitHub Desktop.
Save jpemberthy/1015241 to your computer and use it in GitHub Desktop.
var simplified = { visibility: 'simplified' };
var style = {
'minimal': [
{ featureType: 'all',
stylers: [{ visibility: 'off' }] },
{ featureType: 'water',
stylers: [{ hue: 0 }, { visibility: 'on' }, { lightness: 0 }, { saturation: 0 }] },
{ featureType: 'water', elementType: 'label', stylers: [simplified] },
{ featureType: 'road',
stylers: [simplified, { lightness: -50 }, { saturation: -100 }],
elementType: 'label',
stylers: [simplified, { lightness: -51 }, { saturation: -100 }] },
{ featureType: 'road.highway',
elementType: 'label',
stylers: [{ visibility: 'off' }] },
{ featureType: 'road.arterial',
elementType: 'label',
stylers: [simplified] },
{ featureType: 'road.local',
elementType: 'label' },
{ featureType: 'landscape',
stylers: [{ hue: 10 }, simplified, { lightness: -50 }, { saturation: -30 } ] },
{ featureType: 'landscape',
elementType: 'label',
stylers: [{ visibility: 'off' }] },
{ featureType: "transit.station",
stylers: [{ visibility: "on" }, { lightness: -20 }, { saturation: -90 }] }
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment