]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Removed user checks from to_xml_node, as these should already be
[rails.git] / app / assets / javascripts / map.js.erb
index aff258ad2d33ea9175acad77c29bc78a9fab76da..d05d00993066d621311c7df93a1757c7bd398d43 100644 (file)
@@ -11,7 +11,7 @@ function createMap(divName, options) {
       controls: options.controls || [
          new OpenLayers.Control.ArgParser(),
          new OpenLayers.Control.Attribution(),
-         new OpenLayers.Control.LayerSwitcher(),
+         new SimpleLayerSwitcher(),
          new OpenLayers.Control.Navigation(),
          new OpenLayers.Control.PanZoom(),
          new OpenLayers.Control.PanZoomBar(),