X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d97d3f76a65ddcd798e3c0dc897746153f955df3..b812c070f127e8aacf6dd5dc2f5c0cae696ad3ac:/app/assets/javascripts/map.js.erb diff --git a/app/assets/javascripts/map.js.erb b/app/assets/javascripts/map.js.erb index d645f06f0..50b0fe441 100644 --- a/app/assets/javascripts/map.js.erb +++ b/app/assets/javascripts/map.js.erb @@ -14,12 +14,12 @@ 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, displayProjection: new OpenLayers.Projection("EPSG:4326"), - theme: "<%= asset_path 'theme/default/style.css' %>" + theme: "<%= asset_path 'theme/openstreetmap/style.css' %>" }); var mapnik = new OpenLayers.Layer.OSM.Mapnik(i18n("javascripts.map.base.standard"), {