[GIS] Openlayers – how can i show scale values on zoom control

openlayers-2

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

Best Answer

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;
}
Related Question