Fixed locked on Y-axis (non continuous world).

This commit is contained in:
FrozenCow 2011-11-27 23:15:41 +08:00 committed by mikeprimm
parent 0025bd62fb
commit 37a6b2932a

View File

@ -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'....