Created
September 12, 2014 21:45
-
-
Save AndreasPizsa/2fe06b416974d3ea3aa5 to your computer and use it in GitHub Desktop.
snazzymaps cdn
This file contains 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
window.snazzymaps = { | |
version : "1.0", | |
license : "MIT", | |
title : "Light Gray", | |
description :"Subtle gray colors for modern flat websites." | |
url : "http://snazzymaps.com/style/132/light-gray" | |
author: { | |
name : "ColorByt", | |
url : "http://themeforest.net/user/ColorByt" | |
}, | |
styles : [ | |
{ | |
"featureType": "water", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"color": "#d3d3d3" | |
} | |
] | |
}, | |
{ | |
"featureType": "transit", | |
"stylers": [ | |
{ | |
"color": "#808080" | |
}, | |
{ | |
"visibility": "off" | |
} | |
] | |
}, | |
{ | |
"featureType": "road.highway", | |
"elementType": "geometry.stroke", | |
"stylers": [ | |
{ | |
"visibility": "on" | |
}, | |
{ | |
"color": "#b3b3b3" | |
} | |
] | |
}, | |
{ | |
"featureType": "road.highway", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"color": "#ffffff" | |
} | |
] | |
}, | |
{ | |
"featureType": "road.local", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"visibility": "on" | |
}, | |
{ | |
"color": "#ffffff" | |
}, | |
{ | |
"weight": 1.8 | |
} | |
] | |
}, | |
{ | |
"featureType": "road.local", | |
"elementType": "geometry.stroke", | |
"stylers": [ | |
{ | |
"color": "#d7d7d7" | |
} | |
] | |
}, | |
{ | |
"featureType": "poi", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"visibility": "on" | |
}, | |
{ | |
"color": "#ebebeb" | |
} | |
] | |
}, | |
{ | |
"featureType": "administrative", | |
"elementType": "geometry", | |
"stylers": [ | |
{ | |
"color": "#a7a7a7" | |
} | |
] | |
}, | |
{ | |
"featureType": "road.arterial", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"color": "#ffffff" | |
} | |
] | |
}, | |
{ | |
"featureType": "road.arterial", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"color": "#ffffff" | |
} | |
] | |
}, | |
{ | |
"featureType": "landscape", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"visibility": "on" | |
}, | |
{ | |
"color": "#efefef" | |
} | |
] | |
}, | |
{ | |
"featureType": "road", | |
"elementType": "labels.text.fill", | |
"stylers": [ | |
{ | |
"color": "#696969" | |
} | |
] | |
}, | |
{ | |
"featureType": "administrative", | |
"elementType": "labels.text.fill", | |
"stylers": [ | |
{ | |
"visibility": "on" | |
}, | |
{ | |
"color": "#737373" | |
} | |
] | |
}, | |
{ | |
"featureType": "poi", | |
"elementType": "labels.icon", | |
"stylers": [ | |
{ | |
"visibility": "off" | |
} | |
] | |
}, | |
{ | |
"featureType": "poi", | |
"elementType": "labels", | |
"stylers": [ | |
{ | |
"visibility": "off" | |
} | |
] | |
}, | |
{ | |
"featureType": "road.arterial", | |
"elementType": "geometry.stroke", | |
"stylers": [ | |
{ | |
"color": "#d6d6d6" | |
} | |
] | |
}, | |
{ | |
"featureType": "road", | |
"elementType": "labels.icon", | |
"stylers": [ | |
{ | |
"visibility": "off" | |
} | |
] | |
}, | |
{}, | |
{ | |
"featureType": "poi", | |
"elementType": "geometry.fill", | |
"stylers": [ | |
{ | |
"color": "#dadada" | |
} | |
] | |
} | |
] |
This file contains 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
<script src="//cdn.snazzymaps.com/style/132/light-gray"></script> | |
<script> | |
var myOptions = { | |
zoom: 15, | |
center: new google.maps.LatLng(53.385873, -1.471471), | |
mapTypeId: google.maps.MapTypeId.ROADMAP, | |
styles: snazzymaps.styles | |
}; | |
var map = new google.maps.Map(document.getElementById('map'), myOptions); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment