X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e4504399ae55525f22a7fb47e0c47434cef8cf0a..14136b27c2e242ae3913b427113f5294be4b76e0:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 057fa1314..e01ff3cb9 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -16,7 +16,7 @@ $(document).ready(function () { var params = OSM.mapParams(); - var map = L.map("map", { + var map = new L.OSM.Map("map", { zoomControl: false, layerControl: false });