Skip to content
pubscout

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.

WASM-ready
$ flutter pub add flutter_map_maplibre
Source repository

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.

Works with

Packages commonly used together with flutter_map_maplibre: ones it builds on, ones built on it, and its own family.