local_mbtiles_server 0.1.0
local_mbtiles_server: ^0.1.0 copied to clipboard
Serve SQLCipher-encrypted and plain MBTiles over localhost HTTP so any map SDK (MapLibre, Mapbox, etc.) can load offline tiles via standard URL templates.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add local_mbtiles_serverThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
local_mbtiles_server: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:local_mbtiles_server/local_mbtiles_server.dart';