hi,

I have a div with an input type text inside the main map div.
The user can edit this input and put the new scale value of the map
dynamically.

the problem is that when I click on the input (to change the scale) it zooms
in (zoom is the default control).

As I need to stop propagation I added

OpenLayers.Event.observe(elem, "mousedown", block);
and the function block which is

function block(evt) {
     OpenLayers.Event.stop(evt);
}

And now no zooms occurs but I can not change the value of the input text
either.

Any ideas?
thanks.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to