josxha / flutter-maplibre

Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs.
https://flutter-maplibre.pages.dev
Other
17 stars 3 forks source link

[FEATURE] `flutter_map` feature parity #32

Open josxha opened 2 months ago

josxha commented 2 months ago

Feature Description

This issue tracks feature parity between josxha/flutter-maplibre and fleaflet/flutter_map. Features provided only by josxha/flutter-maplibre are not listed.

Supported platforms

Map

Map camera

Map controller

Gestures

CRS

Tile layer

Circle layer

Marker layer

Polygon layer

Polyline layer

Overlay image layer

Map events

Other features by the core package

Features provided by flutter_map plugins

jesussmile commented 2 weeks ago

Do we have mbtiles examples for this ? If yes I could shift my app to maplibre ?

josxha commented 2 weeks ago

@jesussmile not yet, unfortunally. There are two different ways to use a MBTiles archive:

  1. Download a MBTiles file and import it into the main database using OfflineManager.mergeOfflineRegions() (available on the main branch or in the future version 0.1.2).
  2. Use mbtiles as a tile source in your map style like described in this article.