[OpenLayers-Users] Marker click event does not trigger

Armin arminus at googlemail.com
Sat Sep 5 04:44:18 EDT 2009


Hi,

I have implemented an overall click event handler by following the
approach in http://openlayers.org/dev/examples/click.html. Now I've
added a marker layer based on the
http://openlayers.org/dev/examples/popupMatrix.html example.

The problem is that the click events on the markers as defined by
marker.events.register don't trigger because they are apparently
consumed by the default click handler.

How can I combine both events so that I can respond individually to a
click on a marker and on the map layer ?


thx,
Armin



More information about the Users mailing list