Displaying 2 results from an estimated 2 matches for "openinfowindowhtml".
2006 Nov 06
4
Event listeners
Hi!
Your plugin is really great! Thanks.
One more little question.
Is it possible to add event listeners to the maps via your plugin?
greetings
/till
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ym4r-user/attachments/20061106/6b1c6f4f/attachment.html
2008 Mar 12
0
Execute custom code when clicking marker
...arker is clicked. What about
making a function (for example Marker.addListener()) which takes a
function as argument. When (for example) the GEvent is created in the
toGoogle() function, the function added by addListener() could be
assigned to the GEvent instead of the function (which calls
gmarker.openInfoWindowHtml()) that is assigned now.
Further, the addListener() function could take the event type as
argument in addition to the function, but as I do not know which events
are supported by the different map providers, I don''t know if this is a
good idea.
This could possibly eliminate setInfoDiv()...