Replace standard PanZoomBar control with new SimplePanZoom control
[rails.git] / app / assets / javascripts / map.js.erb
index 82826ebfbf5cf43e4a19cdf527bf245bd95d3868..50b0fe441e8aa0556ed243c1b68fb5ef31cc41c8 100644 (file)
@@ -14,7 +14,7 @@ function createMap(divName, options) {
          new SimpleLayerSwitcher(),
          new OpenLayers.Control.Navigation(),
          new OpenLayers.Control.Zoom(),
-         new OpenLayers.Control.PanZoomBar(),
+         new OpenLayers.Control.SimplePanZoom(),
          new OpenLayers.Control.ScaleLine({geodesic: true})
       ],
       numZoomLevels: 20,