Remove scale bar. Closes #1704.
authorTom Hughes <tom@compton.nu>
Tue, 15 Sep 2009 16:01:50 +0000 (16:01 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 15 Sep 2009 16:01:50 +0000 (16:01 +0000)
public/javascripts/map.js

index f79e3ae31632140946221eec0c08d8fea0d0e8f5..4af30f2a105aa6d9b1f3376510c16cc850b3dfc8 100644 (file)
@@ -28,8 +28,7 @@ function createMap(divName, options) {
          new OpenLayers.Control.Attribution(),
          new OpenLayers.Control.LayerSwitcher(),
          new OpenLayers.Control.Navigation(),
          new OpenLayers.Control.Attribution(),
          new OpenLayers.Control.LayerSwitcher(),
          new OpenLayers.Control.Navigation(),
-         new OpenLayers.Control.PanZoomBar(),
-         new OpenLayers.Control.ScaleLine()
+         new OpenLayers.Control.PanZoomBar()
       ],
       units: "m",
       maxResolution: 156543.0339,
       ],
       units: "m",
       maxResolution: 156543.0339,