[OpenLayers-Dev] OpenLayers 2.4 - map mousedown event

Les Szklanny lszklanny at where2getit.com
Mon Jun 4 10:10:27 EDT 2007


Hi all,

I discovered that the 'mousedown' event registered on the map object 
will not fire in OpenLayers 2.4.
It works as expected in OL 2.3.

I added the following line in the kamap.html example:

map.events.register('mousedown', this, function() { alert('mousedown')});

See demo below:

OpenLayers 2.3
http://www.slippymap.com/kamap23.html

OpenLayers 2.4
http://www.slippymap.com/kamap24.html

I used IE 6, FF 2, Opera 9.21 and Safari 1.3.2 for testing.

Please help.

Les Szklanny
Where2GetIt



More information about the Dev mailing list