Skip to content

Instantly share code, notes, and snippets.

@gabriellupu
Created February 7, 2018 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabriellupu/03327ad6fedb048ac6dc8d4d787e4ff1 to your computer and use it in GitHub Desktop.
Save gabriellupu/03327ad6fedb048ac6dc8d4d787e4ff1 to your computer and use it in GitHub Desktop.
Style for google maps, suitable for printing city map
[
{
"elementType": "labels",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative",
"elementType": "geometry",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#222222"
},
{
"weight": "1"
}
]
},
{
"featureType": "administrative.land_parcel",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative.neighborhood",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative.neighborhood",
"elementType": "labels",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "landscape",
"stylers": [
{
"color": "#ffffff"
}
]
},
{
"featureType": "landscape",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#dddddd"
}
]
},
{
"featureType": "landscape.man_made",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "landscape.natural",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "landscape.natural.terrain",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi.attraction",
"stylers": [
{
"hue": "#ff0000"
},
{
"saturation": -100
},
{
"gamma": 3.16
},
{
"visibility": "off"
}
]
},
{
"featureType": "poi.business",
"stylers": [
{
"hue": "#ff0000"
},
{
"saturation": -100
},
{
"gamma": 3.16
},
{
"visibility": "off"
}
]
},
{
"featureType": "poi.park",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "poi.place_of_worship",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"stylers": [
{
"color": "#999999"
}
]
},
{
"featureType": "road",
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "labels.text.stroke",
"stylers": [
{
"color": "#ffffff"
}
]
},
{
"featureType": "transit",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "transit.station",
"stylers": [
{
"visibility": "on"
},
{
"weight": 5.5
}
]
},
{
"featureType": "water",
"stylers": [
{
"color": "#b3c8fb"
},
{
"lightness": "50"
},
{
"gamma": "1"
},
{
"visibility": "on"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment