vt 1.1.1 vt: ^1.1.1 copied to clipboard
Vector Tiles for Dart. Provides .pbf and/or .mvt parsers and needed classes.
Vector Tiles for Dart. Provides .pbf
parser.
Features #
- Feature
- Geometry
- Layer
- Value
- VectorTile
Getting started #
In your pubspec.yaml
file add:
dependencies:
vt: any
Usage #
In your code import:
import 'package:vt/vt.dart';
Then:
final tile = VectorTile.fromBytes(fileContents);
Additional information #
Is package is compatible with version 2.1 of Vector Tile Specification as described here: https://github.com/mapbox/vector-tile-spec/tree/master/2.1