Hi,
I set the cursor for the ZoomBox control using the following method...
var zoomFeatureOptions = {
eventListeners: {"activate": function()
{document.getElementById('map').style.cursor =
url(mag.png),auto";}},
title:"Zoom into an area by clicking and dragging"
};
zoom = new OpenLayers.Control.ZoomBox(zoomFeatureOptions);
...which works great except for one thing. Once I zoom and the map is
redrawn, the cursor resets to the default, even though the control is still
selected. Is there another event I can catch? Or a better way to set the
cursor for the zoom control?
Thanks, Mark
p.s. I'm using OL 2.7
--
View this message in context:
http://www.nabble.com/cursor-changing-with-ZoomBox-control-tp19864442p19864442.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users