In v2 we were able to assign multiple events to the same marker which
allowed us to pop-up an info window when a user did any of these
events; mouseover, mouseout, click. However in v3 I am getting odd
behavior when I attempt the same thing. For example, when I mouseover,
it appears that the mouseout event is fired, then the mouseover event.
This is a problem because then the info window quickly renders then
disappears.
Is this a known limitation of v3? If so, when can we expect the
ability to support multiple listeners for a single marker?
Thanks in advance.
On Dec 6, 2:47 pm, Digital Precision <digitalprecis...@gmail.com>
wrote:
The link you posted is assigning event listeners to a polygon object,
not a marker object.
Thanks though.
How about a link to your problem page, it would save everyone wasting
time guessing what you mean.
I have gone ahead and setup 2 map demos so a side-by-side comparison
can be done.
Version 2 Url: http://map.ownij.com/index2.php
Version 3 Url: http://map.ownij.com/
Version 2 even listener behavior in Firefox, IE, Chrome:
mouseover: mouseover
click: click
mouseout: mouseout
Version 3 event listener behavior in Firefox, IE:
mouseover: mouseout, mouseover, mouseover
click: click, mouseout, click
mouseout: mouseout, mouseout
Version 3 even listener behavior in Chrome:
mouseover: mouseover
click: click
mouseout: mouseout
As you can see, v3 event behavior works as expected in chrome, but in
FF and IE, each event triggers multiple listeners which results in
unusual behavior. We built our maps to allow a map bubble to appear
when a user hovers over a marker, so when the mouseover fires the
mouseout event, the bubble re-renders indefinitely until the user
moves the mouse off the marker.
We cannot release our v3 upgrade until this has been resolved,
otherwise we rob our clients of current functionality.
Thanks in advance.
On Dec 7, 1:28 pm, Digital Precision <digitalprecis...@gmail.com>
wrote: