X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2def7c187e32d99cd48c013ab117c463780ed45e..6ad1642dae301de389bdfdaacc5d88c83277b60a:/public/javascripts/map.js diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 0668b8ab0..090d4abc2 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -23,7 +23,8 @@ function createMap(divName, options) { new OpenLayers.Control.LayerSwitcher(), new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoom(), - new OpenLayers.Control.PanZoomBar() + new OpenLayers.Control.PanZoomBar(), + new OpenLayers.Control.ScaleLine({geodesic: true}) ], units: "m", maxResolution: 156543.0339,