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 0bc760230f
commit 9f4df9a76e
4 changed files with 6 additions and 26 deletions

View file

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