Created
September 11, 2014 16:40
-
-
Save jayrobin/7ad6c1c9e7fee7ee92a6 to your computer and use it in GitHub Desktop.
Disabling features on a map
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
map = new google.maps.Map(document.getElementById("google_map"), mapOptions); | |
var styles = [ | |
{ | |
featureType: "poi", | |
stylers: [ | |
{ visibility: "off" } | |
] | |
} | |
]; | |
map.setOptions({styles: styles}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment