VectorTile.fromBytes constructor
VectorTile.fromBytes(
- Uint8List bytes
Decodes the given bytes (.mvt
/.pbf
) to a VectorTile
Implementation
factory VectorTile.fromBytes(Uint8List bytes) {
final n = vt.VectorTile.fromBytes(bytes: bytes);
return VectorTile.fromRaw(n);
}