I remember seeing once zoom control in OL that had the zoom values on the scale control.
I'm looking for such solution now to let the user quick pick desired scale.
Any help will be appreciated
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI remember seeing once zoom control in OL that had the zoom values on the scale control.
I'm looking for such solution now to let the user quick pick desired scale.
Any help will be appreciated
You could add the scale Control
var scale = new OpenLayers.Control.Scale();
map.addControl(scale);
And then move the position of the scale control using CSS
.olControlScale{
top: 5em !important;
left: 0em !important;
}