Skip to content

Instantly share code, notes, and snippets.

@ejholmes
Created August 15, 2012 22:54
Show Gist options
  • Save ejholmes/3364440 to your computer and use it in GitHub Desktop.
Save ejholmes/3364440 to your computer and use it in GitHub Desktop.
Base google map style
window.gmaps_style = [
{
featureType: 'all',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'administrative',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'administrative.country',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'administrative.land_parcel',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'administrative.locality',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'administrative.neighborhood',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'administrative.province',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'landscape',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'landscape.man_made',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'landscape.natural',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.attraction',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.business',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.government',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.medical',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.park',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.place_of_worship',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.school',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'poi.sports_complex',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'road',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'road.arterial',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'road.highway',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'road.highway.controlled_access',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'road.local',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'transit',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'transit.line',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'transit.station',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'transit.station.airport',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'transit.station.bus',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'transit.station.rail',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'on' }
]
},
{
featureType: 'water',
elementType: 'all',
stylers: [
{ hue: '#000000' },
{ saturation: 0 },
{ lightness: 0 },
{ visibility: 'off' }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment