X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/759f51a57cc59a097ae37faa618e240d08510a34..ce4a6eefa7405a3d23f722c987f0e22b966defc8:/app/assets/javascripts/map.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/map.js.erb b/app/assets/javascripts/map.js.erb index e2f06babb..acfa10822 100644 --- a/app/assets/javascripts/map.js.erb +++ b/app/assets/javascripts/map.js.erb @@ -20,7 +20,8 @@ function createMap(divName, options) { units: "m", maxResolution: 156543.0339, numZoomLevels: 20, - displayProjection: new OpenLayers.Projection("EPSG:4326") + displayProjection: new OpenLayers.Projection("EPSG:4326"), + theme: "<%= asset_path 'theme/default/style.css' %>" }); var mapnik = new OpenLayers.Layer.OSM.Mapnik(i18n("javascripts.map.base.mapnik"), {