]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/_map.html.erb
Reduce interpolation in export/start.js.erb
[rails.git] / app / views / changeset / _map.html.erb
index a490ad1d89465e9c0e853127017ab1a2a1bd4cc9..3357057b17e0b91c033b05ef65f5b0781de1de7f 100644 (file)
@@ -5,8 +5,6 @@
 </div>
 
 <script type="text/javascript">
-  OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
-
   var highlight;
 
   function highlightChangeset(id) {
@@ -41,8 +39,8 @@
     var map = createMap("changeset_list_map", {
       controls: [
         new OpenLayers.Control.Navigation(),
-        new OpenLayers.Control.PanZoom(),
-        new OpenLayers.Control.PanZoomBar()
+        new OpenLayers.Control.Zoom(),
+        new OpenLayers.Control.SimplePanZoom()
       ]
     });