Last active
January 22, 2018 00:31
-
-
Save Plou/10979784 to your computer and use it in GitHub Desktop.
Hide "points of interest" in google maps
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
styles = [ | |
featureType: "poi", | |
elementType: "labels", | |
stylers: [ | |
visibility: "off" | |
] | |
]; | |
map = new google.maps.Map(document.getElementById('map-canvas'), { | |
disableDefaultUI: true, | |
styles: styles | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment