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

AlfaVectorMB 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 alfa_vector_mbtiles

Usage #

refer to the following. See /example folder for details

AlfaVectorTileLayerWidget(
    options: AlfaVectorTileLayerOptions(
        theme: Theme,
        tileProviders: TileProviders({
            'openmaptiles': AlfaVectorMBTilesProvider(
                mbtilesPath: '/path/to/mbtiles',
                maximumZoom: 18)
        })
    ),
)
1
likes
150
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map, latlong2, path, sqflite, vector_map_tiles

More

Packages that depend on alfa_vector_mbtiles