8000 GitHub - levicosta201/alfa_vector_mbtiles: Use to render mbtiles in fluttermap
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

levicosta201/alfa_vector_mbtiles

Repository files navigation

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)
        })
    ),
)

About

Use to render mbtiles in fluttermap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0