PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 21
  1. 4.0.0 28 Mar 2026
    Release notes
    • 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.
    Open source →
  2. 3.0.1 18 Feb 2026
    Release notes
    • Relax protobuf constraint to ^5.1.0 (#22). Thanks to @connor-goTenna .
    Open source →
  3. 3.0.0 04 Aug 2025
    Release notes
    • Migrate dependencies and increase the minimum version required of Dart SDK (#20). Thanks to @DanielBerrioB .
    Open source →
  4. 2.0.1 11 May 2025
    Release notes
    • Fix zigZagDecode for JS targets (#18). Thanks to @mutagene .
    Open source →
  5. 2.0.0 02 Dec 2023
    Release notes
    • Updated dependencies
    Open source →
  6. 1.0.0 28 Jul 2022
    Release notes
    • Add web platform support (#10).

    Breaking changes:

    • Remove VectorTile.fromPath, encodeVectorTile, decodeVectorTile methods. (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)
    
    Open source →
  7. 0.3.2 21 Jan 2022
    Release notes
    • (Improvement memory usage) Use fixed size lists instead of growable lists. (#8).
    Open source →
  8. 0.3.1 03 Jan 2022
    Release notes
    • (Improvement memory usage) Change data structure for VectorTileValue. (#7).
    Open source →
  9. 0.3.0 01 Jan 2022
    Release notes
    • (Breaking change - Improvement memory usage) Change data type for feature's properties from List<Map> to Map (#6).
    Open source →
  10. 0.2.2 29 May 2021
    Release notes
    • Avoid decoding geometry more than once (#5).
    Open source →
  11. 0.2.1 28 May 2021
    Release notes
    • Add support reading tiles from buffer (#4).
    Open source →
  12. 0.2.0 27 May 2021
    Release notes
    • Add support for null-safety (#3).
    Open source →
  13. 0.1.6 14 Apr 2021
    Release notes
    • Add check data type for layer values when converting data from raw layer.
    Open source →
  14. 0.1.5 14 Feb 2021
    Release notes
    • Update linter rules.
    Open source →
  15. 0.1.4 13 Feb 2021
    Release notes

    Added

    • Add generic type to GeoJson class.
    Open source →
  16. 0.1.3 12 Feb 2021
    Release notes

    Added

    • Add toGeoJson method on VectorTile class to allow decode raw VectorTile format to GeoJson FeatureCollection.

    Fixed

    • Fix type issues when call map method on List that returned a Iterator instead of a new List.
    Open source →
  17. 0.1.2 11 Feb 2021
    Release notes

    Fixed

    • Change namespace import from PascalCase to snake_case.
    Open source →
  18. 0.1.1 11 Feb 2021
    Release notes

    Added

    • Add properties decode for feature GeoJson.
    Open source →
  19. 0.1.0 11 Feb 2021
    Release notes

    BREAKING CHANGE

    • Split all to two type of classes: raw vector tile and vector tile.
    • Add support for decode feature geometry.
    • Add support for convert raw feature to GeoJson (only Feature type).
    Open source →
  20. 0.0.2 10 Feb 2021
    Release notes

    Added

    • @required annotion to createVectorTileFeature and createVectorTileLayer based on specification
    Open source →
  21. 0.0.1 08 Feb 2021
    Release notes

    Added

    • Generate VectorTile classes from protobuf spec.
    • Encode functionality.
    • Decode functionality.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive