DisplayModel constructor
DisplayModel({})
Implementation
DisplayModel({
this.maxZoomLevel = 25,
//this.tileSize = DEFAULT_TILE_SIZE,
this.deviceScaleFactor = 1.0,
this.userScaleFactor = 1.0,
this.maxTextWidthFactor = 0.7,
this.fontScaleFactor = 1.0,
this.backgroundColor = 0xffeeeeee,
}) : assert(maxZoomLevel <= 30 && maxZoomLevel > 0),
assert(maxTextWidthFactor > 0) {
this._setTileSize();
_setMaxTextWidth();
}