vector_tile 2.0.0 vector_tile: ^2.0.0 copied to clipboard
A simple Dart package to encode & decode Mapbox Vector Tile, A implementation of Mapbox Vector Tile specification.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add vector_tile
With Flutter:
$ flutter pub add vector_tile
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
vector_tile: ^2.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:vector_tile/vector_tile.dart';