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

@ -14,7 +14,8 @@ var HDMapType = DynmapTileLayer.extend({
projection: undefined,
options: {
minZoom: 0,
maxZoom: 0
maxZoom: 0,
errorTileUrl: 'images/blank.png'
},
initialize: function(options) {
options.maxZoom = options.mapzoomin + options.mapzoomout;