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 7c109f25c6
commit 6d39aba001

View File

@ -130,7 +130,8 @@ DynMap.prototype = {
}),
scale: function(zoom) {
return (1 << zoom);
}
},
continuousWorld: true
});
window.map = map; // Placate Leaflet need for top-level 'map'....