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

Place Markers with open info windows on a map using ng-repeat

Open angelobsks opened this issue 11 years ago • 2 comments

Is there a way to place some markers on a map using ng-repeat that having all the info windows open when they appear ??? At the code showing at the screen dump i can't do it works.! ngmap_is1

angelobsks avatar May 03 '15 07:05 angelobsks

Same issue here. I have the issue even when I use just one marker with an info-window (code from example page). I can place marker and info-windows but the click event is not working at all...

waswrongassembled avatar May 10 '15 08:05 waswrongassembled

Please do not use info-window within ng-repeat. I think you do not know about it, but this issue has been discussed several times. The same contents of InfoWindow repeating within ng-repeat is not ideal, and I believe it's not google api's intention either.

Here is an working example without using ng-repeat.

https://github.com/allenhwkim/angularjs-google-maps/blob/master/testapp/infowindow_compile.html

allenhwkim avatar May 10 '15 16:05 allenhwkim