flutter_map_mbtiles 1.0.3 copy "flutter_map_mbtiles: ^1.0.3" to clipboard
flutter_map_mbtiles: ^1.0.3 copied to clipboard

Mapbox MBTiles tile provider for flutter_map that can be used for a map that is 100% offline.

example/example.md

Basic usage #

// initiate your tile provider
final _futureTileProvider = MbTilesTileProvider
    .fromSource('path/to/file.mbtiles');

@override
Widget build(BuildContext context) {
  return FlutterMap(
    options: MapOptions(),
    children: [
      TileLayer(
        // use your awaited MbTilesTileProvider
        tileProvider: tileProvider,
      ),
    ],
  );
}

Need more information? #

6
likes
160
pub points
84%
popularity

Publisher

verified publisherjoscha-eckert.de

Mapbox MBTiles tile provider for flutter_map that can be used for a map that is 100% offline.

Repository (GitHub)
View/report issues

Topics

#flutter-map #mbtiles #map

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map, mbtiles, sqlite3_flutter_libs

More

Packages that depend on flutter_map_mbtiles