Fixed nightday and making use of options.mapzoomin and options.mapzoomout.
This commit is contained in:
parent
9f19ccf50c
commit
4f75bf691a
5 changed files with 58 additions and 52 deletions
|
|
@ -17,7 +17,7 @@ var FlatMapType = DynmapTileLayer.extend({
|
|||
getTileName: function(tilePoint, zoom) {
|
||||
var tileName;
|
||||
var dnprefix = '';
|
||||
if(this.options.nightandday && this.dynmap.serverday) {
|
||||
if(this.options.nightandday && this.options.dynmap.serverday) {
|
||||
dnprefix = '_day';
|
||||
}
|
||||
var extrazoom = this.options.world.extrazoomout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue