Switch to using continuousWorld option in newer Leaflet - saves on override

This commit is contained in:
Mike Primm 2011-08-14 13:11:57 +08:00 committed by mikeprimm
parent d2b45a9710
commit 38e2a5ae1e
4 changed files with 6 additions and 26 deletions

View file

@ -24,7 +24,8 @@ var HDMapType = DynmapTileLayer.extend({
options: {
minZoom: 0,
maxZoom: 0,
errorTileUrl: 'images/blank.png'
errorTileUrl: 'images/blank.png',
continuousWorld: true
},
initialize: function(options) {
options.maxZoom = options.mapzoomin + options.mapzoomout;