ng-show does not work with markers
I know it may be hard to implement, but I found out that ng-show does not currently work with markers. Is there a way to implement this feature?
markers and shapes works with ng-repeat.
https://rawgit.com/allenhwkim/angularjs-google-maps/master/build/marker_with_ng_repeat.html
http://plnkr.co/edit/?p=preview
Please provide me your plnkr if yours does not work.
I made a typo the first time I posted it. I meant ng-show.
http://plnkr.co/edit/flahlVtZaOrs4Uisj7uW?p=preview
We need to follow Google Maps V3 API to show and hide markers, which is visible
https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions
Good point. Still, I suppose people may be interested in using ng-show anyway, but I think right now visible does the trick somewhat. Eventually, I would suggest some watchers on the attribute changes on the markers/infowindow etc.