Fix background color support, provide blank tile to fix refresh junk
This commit is contained in:
parent
0bbcf6510e
commit
e08a2d4407
5 changed files with 15 additions and 11 deletions
|
|
@ -10,7 +10,8 @@ var FlatProjection = DynmapProjection.extend({
|
|||
var FlatMapType = DynmapTileLayer.extend({
|
||||
options: {
|
||||
minZoom: 0,
|
||||
maxZoom: 4
|
||||
maxZoom: 4,
|
||||
errorTileUrl: 'images/blank.png'
|
||||
},
|
||||
initialize: function(options) {
|
||||
options.maxzoomout = options.mapzoomout || options.world.extrazoomout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue