vector_mbtiles 0.0.5 copy "vector_mbtiles: ^0.0.5" to clipboard
vector_mbtiles: ^0.0.5 copied to clipboard

VectorMB Tiles is a Flutter plugin for working with Mapbox Vector Tiles in FlutterMap.

VectorMBTiles #

VectorMB Tiles is a Flutter plugin for working with Mapbox Vector Tiles in FlutterMap.

Screenshot_1654750708

Features #

By extending VectorTileProvider and specifying VectorMBTiles as the argument of MemoryCacheVectorTileProvider to delegate, it can operate at high speed in memory.

Getting started #

Add the package with the following command

flutter pub add vector_mbtiles

Usage #

refer to the following. See /example folder for details

VectorTileLayerWidget(
    options: VectorTileLayerOptions(
        theme: Theme,
        tileProviders: TileProviders({
            'openmaptiles': VectorMBTilesProvider(
                mbtilesPath: '/path/to/mbtiles',
                maximumZoom: 18)
        })
    ),
)
3
likes
150
pub points
62%
popularity

Publisher

verified publisherpsytwo.net

VectorMB Tiles is a Flutter plugin for working with Mapbox Vector Tiles in FlutterMap.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, path, sqflite, vector_map_tiles

More

Packages that depend on vector_mbtiles