X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1c5642637a87ab250d2a1204cc83a578e7aa29f1..bfeec6112a10201883bae9aaebdd07dd67c19fa3:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 6584864d5..f74dd0bb7 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -1,6 +1,6 @@ //= require_self //= require leaflet.sidebar -//= require leaflet.locate +//= require leaflet.locatecontrol/src/L.Control.Locate //= require leaflet.layers //= require leaflet.key //= require leaflet.note @@ -20,17 +20,16 @@ //= require index/changeset //= require index/query //= require router -//= require querystring +//= require qs/dist/qs $(document).ready(function () { - var querystring = require("querystring-component"); - var loaderTimeout; var map = new L.OSM.Map("map", { zoomControl: false, layerControl: false, - contextmenu: true + contextmenu: true, + worldCopyJump: true }); OSM.loadSidebarContent = function (path, callback) { @@ -263,7 +262,7 @@ $(document).ready(function () { var iframe = $("