On Feb 18, 9:14 pm, Esa <esa.ilm...@gmail.com> wrote:
> Yes you can open the info window of a marker that has
> bindInfoWindowHtml() by GEvent.trigger(marker,'click'). I have tried
> it many times.

Well... yes... and that's exactly what's causing the whole issue... ;)


> I think there is a loop that is causing the error. Triggering marker
> click means triggering map click too.
>
> Map click triggers marker click which means another map click...

Heh... it appears you are right... I moved the removeListener() above
the trigger and now there's no error... :)
You can check the corrected file: http://nowotny.x10hosting.com/gmap/index.html

But why would triggering the marker trigger the map click...? Isn't
that a bug...?

Thanks everyone... :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to