angular-ui / ui-map

Google Maps
http://angular-ui.github.io/ui-map
MIT License
288 stars 93 forks source link

Multiple call to a button function inside a uiMapInfoWindow #23

Open jmaynier opened 11 years ago

jmaynier commented 11 years ago

Hi,

I have markers on a map, that open an InfoWindow on click. Each InfoWindow contains a button. To reproduce the bug: open an InfoWindow and click on the button, the function callback is called once => OK Click on another marker => the InfoWindow is closed, another one is opened Click on the button, then the callback function is called twice => Bug

http://plnkr.co/edit/x71d9jZ7vL5TRTWBdK40?p=preview

maocast commented 10 years ago

And the pattern continues. Every time you call click on a button, it is incremented by 1. 2->2 callbacks, 3->3 callbacks, 4->4 callbacks.... etc....

ddimitriou commented 10 years ago

I'm having the same problem too..

elpeyotl commented 8 years ago

Hello Was this problem solved? I have exactly the same problem and did not find any solution yet Thanks for getting back!

elpeyotl commented 8 years ago

Really nobody has an answer on this? What was your workaround guys? Did you forget the plugin and chose a new one or is there any clue you can give me? Really appreciate!