[OpenLayers-Users] Navigation question

Schuyler Erle sderle at metacarta.com
Fri May 4 15:07:25 EDT 2007


On Fri, 2007-05-04 at 13:17 +0200, Bart van den Eijnden (OSGIS) wrote
> I can get the zoombox to work without a key by leaving out the keyMask
> parameter.
> 
> But the onclick does not work, it will also trigger a very small box and the
> associated zoombox handler.

Rather than calling map.events.register(), try calling
map.events.registerPriority() on the onClick handler.

Beware that this API function is going to change in OpenLayers 2.0
(whenever the heck that's going to be).

SDE




More information about the Users mailing list