Fix background color support, provide blank tile to fix refresh junk

This commit is contained in:
Mike Primm 2011-08-02 00:07:17 -05:00
parent 0bbcf6510e
commit e08a2d4407
5 changed files with 15 additions and 11 deletions

View file

@ -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;