Use the worldCopyJump option for leaflet overlays
This means that if you pan to a 'copy' of the world, the overlays reappear on that copy. Fixes #2040
This commit is contained in:
parent
cf3c631cdf
commit
56fdf73b65
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ $(document).ready(function () {
|
|||
var map = new L.OSM.Map("map", {
|
||||
zoomControl: false,
|
||||
layerControl: false,
|
||||
contextmenu: true
|
||||
contextmenu: true,
|
||||
worldCopyJump: true
|
||||
});
|
||||
|
||||
OSM.loadSidebarContent = function (path, callback) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue