[OpenLayers-Users] Problem with registering mouse events on markers
sj3670 at att.com
Mon Aug 8 13:56:14 EDT 2011
I registered 3 different events on a marker as follows:
marker.events.register('click', feature, LayerDisplay.markerClick);
marker.events.register('mouseout', feature, LayerDisplay.mouseOut);
'mouseover, mouseout' works fine. They get fired only when i did the
corresponding action. The problem is with the 'click' event. When ever i
click a marker, immediately both 'markerClick' and 'mouseOut' are getting
called. This results in 'mouseOut' removing the popup created by
'markerClick' immediately. The popup blinks and disappears. Can anyone help
on this issue.
Thanks & Regards
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-with-registering-mouse-events-on-markers-tp6665243p6665243.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users