flutter_map_maplibre
0.0.5, released a year ago by joscha-eckert.de
Mapbox Vector Tiles support for flutter_map powered by native MapLibre SDKs.
What it does
It provides performant Mapbox Vector Tiles (MVT) support for flutter_map. It allows you to either add a MapLibre map as a layer to a FlutterMap or use FlutterMap layers inside a MapLibre map.
AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Mapbox Vector Tiles (MVT) support in your flutter_map application
- You want to combine native MapLibre maps with flutter_map layers
Skip it when
- You do not use flutter_map
- You prefer pure Flutter-rendered map layers without native MapLibre SDK dependencies
Strengths
- Performant vector tiles support via native MapLibre SDKs
- Offers bidirectional integration (MapLibre as a layer in flutter_map, or flutter_map layers inside MapLibre)
Weaknesses
- Requires platform-specific setup steps for the underlying maplibre package
- Early version (0.0.5) with potential breaking changes
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 3
Requires adding dependencies to pubspec.yaml and following platform-specific setup steps for the maplibre package on Web, Android, and iOS.
FlutterMap(
options: const MapOptions(
initialZoom: 4,
initialCenter: LatLng(0, 0),
),
children: const [
MapLibreLayer(
initStyle: 'insert your style url here',
),
],
)Alternatives
Packages that do the same job and could replace flutter_map_maplibre.
- google_maps_flutter
If you prefer Google Maps native SDKs instead of MapLibre vector tiles.
90Compare
Works with
Packages commonly used together with flutter_map_maplibre: ones it builds on, ones built on it, and its own family.
- latlong2flutter_map_maplibre depends on itLightweight Dart library for latitude/longitude calculations.
- flutter_mapflutter_map_maplibre depends on itPure‑Flutter map client with tile loading, markers, and gestures
- maplibreflutter_map_maplibre depends on itPerformant vector maps for Flutter supporting Mapbox Vector Tiles across all six platforms.
- flutter_map_cacheSame familyA slim caching plugin for flutter_map tile layers supporting multiple storage backends.
- flutter_map_compassSame familyA simple compass widget for flutter_map displaying rotation and resetting it when tapped.
- flutter_map_mbtilesSame familyOffline raster tile provider for flutter_map using MBTiles
- flutter_map_pmtilesSame familyPMTiles tile provider for flutter_map supporting local or hosted files.