VectorTile.fromRaw constructor

VectorTile.fromRaw(
  1. VectorTile tile
)

Creates a VectorTile from a vt.VectorTile instance.

Implementation

VectorTile.fromRaw(vt.VectorTile tile)
    : this(layers: tile.layers.map((e) => Layer.fromRaw(e)).toList());