BMFTile.fromMap constructor
- Map map
map => BMFTile
Implementation
BMFTile.fromMap(Map map)
: assert(map['visibleMapBounds'] != null),
assert(map['tileLoadType'] != null),
super.fromMap(map) {
maxZoom = map['maxZoom'];
minZoom = map['minZoom'];
visibleMapBounds = map['visibleMapBounds'] == null
? null
: BMFCoordinateBounds.fromMap(map['visibleMapBounds']);
maxTileTmp = map['maxTileTmp'];
tileLoadType = BMFTileLoadType.values[map['tileLoadType'] as int];
url = map['url'];
}