vector_tile
A simple Dart package to encode & decode Mapbox Vector Tile, A implementation of Mapbox Vector Tile specification.
4.0.0
30K downloads/mo
#1849 most downloaded on pub.dev
bahung1221/dart-vector-tile
What this package is like to depend on
Last release 4 months ago
28 Mar 2026
Release timing varies
gaps range from 3 weeks to 1.4 years
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
21 releases · first in 2021
2 releases in the last 12 months
see the full history below
Release timeline
21 releases · Feb 2021 to Mar 2026
2022
2023
2024
2025
2026
Releases
latest 21-
4.0.028 Mar 2026Release notes
Open source →- Migrate to protobuf v6 and regenerate proto files with protoc_plugin 25.0.0 (#21). Thanks to @Numerok .
- Add build_runner and protoc_builder for proto code generation.
-
3.0.118 Feb 2026 -
3.0.004 Aug 2025Release notes
Open source →- Migrate dependencies and increase the minimum version required of Dart SDK (#20). Thanks to @DanielBerrioB .
-
2.0.111 May 2025 -
2.0.002 Dec 2023 -
1.0.028 Jul 2022Release notes
Open source →- Add web platform support (#10).
Breaking changes:
- Remove
VectorTile.fromPath,encodeVectorTile,decodeVectorTilemethods. (Read the migrate guide below to update your code).
Migrate guide:
VectorTile.fromPath:
// Old final tile = await VectorTile.fromPath(path: '../data/sample-12-3262-1923.pbf'); // New final tileData = await File('../data/sample-12-3262-1923.pbf').readAsBytes(); final tile = await VectorTile.fromBytes(bytes: tileData);encodeVectorTile:
// Old await encodeVectorTile(path: './gen/tile.pbf', tile: tile); // New await File('./gen/tile.pbf').writeAsBytes(tile.writeToBuffer());decodeVectorTile:
// Old final tile = decodeVectorTile(path: '../data/sample-12-3262-1923.pbf') // New final tileData = await File('../data/sample-12-3262-1923.pbf').readAsBytes(); final tile = await VectorTile.fromBuffer(tileData) -
0.3.221 Jan 2022Release notes
Open source →- (Improvement memory usage) Use fixed size lists instead of growable lists. (#8).
-
0.3.103 Jan 2022Release notes
Open source →- (Improvement memory usage) Change data structure for VectorTileValue. (#7).
-
0.3.001 Jan 2022Release notes
Open source →- (Breaking change - Improvement memory usage) Change data type for feature's properties from List<Map> to Map (#6).
-
0.2.229 May 2021 -
0.2.128 May 2021 -
0.2.027 May 2021 -
0.1.614 Apr 2021Release notes
Open source →- Add check data type for
layer valueswhen converting data from raw layer.
- Add check data type for
-
0.1.514 Feb 2021 -
0.1.413 Feb 2021 -
0.1.312 Feb 2021Release notes
Open source →Added
- Add
toGeoJsonmethod onVectorTileclass to allow decode raw VectorTile format to GeoJson FeatureCollection.
Fixed
- Fix type issues when call
mapmethod onListthat returned a Iterator instead of a new List.
- Add
-
0.1.211 Feb 2021 -
0.1.111 Feb 2021 -
0.1.011 Feb 2021Release notes
Open source →BREAKING CHANGE
- Split all to two type of classes:
raw vector tileandvector tile. - Add support for decode feature geometry.
- Add support for convert raw feature to GeoJson (only Feature type).
- Split all to two type of classes:
-
0.0.210 Feb 2021Release notes
Open source →Added
- @required annotion to
createVectorTileFeatureandcreateVectorTileLayerbased on specification
- @required annotion to
-
0.0.108 Feb 2021Release notes
Open source →Added
- Generate VectorTile classes from protobuf spec.
- Encode functionality.
- Decode functionality.