angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

remove poi from map

Open mattlbrody opened this issue 8 years ago • 3 comments

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?

mattlbrody avatar Sep 17 '15 01:09 mattlbrody

I know for certain this works as I used to use it regularly. Use the options attribute which is Map Options.

nmccready avatar Sep 17 '15 02:09 nmccready

Be sure to have the option attribute set in your HTML :

<ui-gmap-google-map center='map.center' zoom='map.zoom' options='map.options'>

edorgeville avatar Sep 29 '15 17:09 edorgeville

<sebm-google-map [options]="options" i tried this and assigned styles to my options variable but it didnt work

shy001 avatar Mar 28 '17 11:03 shy001