dylanfprice / angular-gm

AngularJS Google Maps Directives
MIT License
197 stars 47 forks source link

ng-click causing problem inside gmInfoWindow #28

Closed mukgupta closed 10 years ago

mukgupta commented 10 years ago

HI i have the following code in my infowindow.

`

{{selectedVal.category}}

{{selectedVal.subcategory}}

{{selectedVal.dateString}}

{{selectedVal.place}}

View Description

`

Now the issue is when i open infoWindow for the first time myFunc() is called normally .But when i close the infowindow and open it again , myfunc() is called two times for every single click on View description link. When this is repeated n times ,myFunc() is called n times for subsequent single clicks . I don't understand what's the issue. Anybody faced similar problem?

bekos commented 10 years ago

@mukgupta Same as #27

dylanfprice commented 9 years ago

27 is fixed now by requiring you to hide your infowindow in the dom.