Switch to using continuousWorld option in newer Leaflet - saves on override
This commit is contained in:
parent
0bc760230f
commit
9f4df9a76e
4 changed files with 6 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue