Fixed locked on Y-axis (non continuous world).
This commit is contained in:
parent
f944daf818
commit
ecfc9243ff
1 changed files with 2 additions and 1 deletions
|
|
@ -130,7 +130,8 @@ DynMap.prototype = {
|
||||||
}),
|
}),
|
||||||
scale: function(zoom) {
|
scale: function(zoom) {
|
||||||
return (1 << zoom);
|
return (1 << zoom);
|
||||||
}
|
},
|
||||||
|
continuousWorld: true
|
||||||
});
|
});
|
||||||
window.map = map; // Placate Leaflet need for top-level 'map'....
|
window.map = map; // Placate Leaflet need for top-level 'map'....
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue