Select to view content in your preferred language

Click on infoWindow is considered as a click on the map

603
1
01-22-2013 03:59 AM
ab1
by
Deactivated User
Hello,

I have a map with features. When I click on a feature, an infoWindow appears displaying some attributes of the feature clicked.
The feature information is put into a textArea which is put into the infoWindow.
When the infoWindow is open, and I click on the textArea of the infoWindow or on the close button, this click is considered as a click on the map.
This causes a call to a mapClick handler that I have defined for the map.
Is this a bug? How can I click on the infoWindow without having that click being considered as a map click?

Regards.
Tags (2)
0 Kudos
1 Reply
KenBuja
MVP Esteemed Contributor
Could you post code that replicates this? I have an infoWindow on my map, but when I click on the text in it or the close button, the mapClick handler doesn't fire.
0 Kudos