angular-google-maps
angular-google-maps copied to clipboard
remove poi from map
I tried doing this the traditional way inside of my controller on $scope.map, but it doesn't work. Here's the code.
styles: [ { featureType: "poi", elementType: "labels", stylers: [ { visibility: "off" } ] } ]
How can I get this to work, is there a better way to do it, like an attribute or something like that?
I know for certain this works as I used to use it regularly. Use the options attribute which is Map Options.
Be sure to have the option attribute set in your HTML :
<ui-gmap-google-map center='map.center' zoom='map.zoom' options='map.options'>
<sebm-google-map [options]="options" i tried this and assigned styles to my options variable but it didnt work