Created
February 1, 2017 08:37
-
-
Save baxtheman/38e898cb5c9eb95cca6264327f1991e5 to your computer and use it in GitHub Desktop.
Google Map dark theme
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
map = new google.maps.Map(document.getElementById('gmaps'), { | |
zoom: 5, | |
center: { | |
lat: 43, | |
lng: 12 | |
}, | |
mapTypeId: google.maps.MapTypeId.ROADMAP, | |
styles: [{ | |
"stylers": [{ | |
"hue": "#ff1a00" | |
}, { | |
"invert_lightness": true | |
}, { | |
"saturation": -100 | |
}, { | |
"lightness": 33 | |
}, { | |
"gamma": 0.5 | |
}] | |
}, { | |
"featureType": "water", | |
"elementType": "geometry", | |
"stylers": [{ | |
"color": "#2D333C" | |
}] | |
}] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment