Fix marker position logic and zoom range calculation on Kzed and Flat
This commit is contained in:
parent
4bf9f9a978
commit
ee790f86ed
4 changed files with 3 additions and 3 deletions
|
|
@ -14,8 +14,7 @@ var FlatMapType = DynmapTileLayer.extend({
|
|||
errorTileUrl: 'images/blank.png'
|
||||
},
|
||||
initialize: function(options) {
|
||||
options.maxzoomout = options.mapzoomout || options.world.extrazoomout;
|
||||
options.maxZoom = options.mapzoomin + options.maxzoomout;
|
||||
options.maxZoom = options.mapzoomin + options.mapzoomout;
|
||||
L.Util.setOptions(this, options);
|
||||
this.projection = new FlatProjection({mapzoomout: options.mapzoomout});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue