Fixed nightday and making use of options.mapzoomin and options.mapzoomout.
This commit is contained in:
parent
ea4aa7de97
commit
f0a043b41c
5 changed files with 58 additions and 52 deletions
|
|
@ -53,7 +53,7 @@ var KzedMapType = DynmapTileLayer.extend({
|
|||
},
|
||||
calculateTileSize: function(zoom) {
|
||||
var extrazoomout = this.options.dynmap.world.extrazoomout;
|
||||
return (zoom <= extrazoom)
|
||||
return (zoom <= extrazoomout)
|
||||
? 128
|
||||
: Math.pow(2, 6+zoom-extrazoomout);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue