https://github.com/xclud/dart_vt
Vector Tiles for Dart. Provides .pbf and/or .mvt parsers and needed classes.
https://github.com/xclud/dart_vt
dart flutter vector-tiles
Last synced: 3 months ago
JSON representation
Vector Tiles for Dart. Provides .pbf and/or .mvt parsers and needed classes.
- Host: GitHub
- URL: https://github.com/xclud/dart_vt
- Owner: xclud
- License: mit
- Created: 2022-06-30T07:27:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T08:12:53.000Z (about 4 years ago)
- Last Synced: 2026-02-19T08:11:43.749Z (5 months ago)
- Topics: dart, flutter, vector-tiles
- Language: Dart
- Homepage: https://pub.dev/packages/vt
- Size: 293 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dartlang.org/packages/vt)
Vector Tiles for Dart. Provides `.pbf` parser.
## Features
* Feature
* Geometry
* Layer
* Value
* VectorTile
## Getting started
In your `pubspec.yaml` file add:
```dart
dependencies:
vt: any
```
## Usage
In your code import:
```dart
import 'package:vt/vt.dart';
```
Then:
```dart
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