Skip to content

Instantly share code, notes, and snippets.

@Plou
Last active January 22, 2018 00:31
Show Gist options
  • Save Plou/10979784 to your computer and use it in GitHub Desktop.
Save Plou/10979784 to your computer and use it in GitHub Desktop.
Hide "points of interest" in google maps
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