BMFTile.withMap constructor

BMFTile.withMap(
  1. Map map
)

Implementation

BMFTile.withMap(Map map) {
  if (null == map) {
    return;
  }

  super.fromMap(map);

  this.maxZoom = map['maxZoom'];
  this.minZoom = map['minZoom'];
  this.visibleMapBounds =
      BMFCoordinateBounds.coordinateBounds().fromMap(map['visibleMapBounds']);
  this.maxTileTmp = map['maxTileTmp'];
  this.tileLoadType = BMFTileLoadType.values[map['tileLoadType'] as int];
  this.url = map['url'];
}