NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #2499 most downloaded on pub.dev
Permissive and performant mapping library that supports Mapbox Vector Tiles (MVT) powered by MapLibre SDKs.
Latest stable
0.3.7+1
Last release 15 days ago
07 Nov 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
23 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
The second pre-release of 0.4 reworks the event, camera, query and gesture APIs, adds drag, click and hover events to layers, and fixes Linux. The mig
The second pre-release of 0.4 reworks the event, camera, query and gesture APIs, adds drag, click and hover events to layers, and fixes Linux. The migration guide covers every change from 0.3.x and from 0.4.0-pre.1.
onClick, onCameraMove and onIdle, replaces onEvent.moveCamera, animateCamera and MapOptions.initCamera take a CameraUpdate, animateCamera takes a CameraAnimation, and MapCamera is renamed to CameraPosition.queryRenderedFeatures replaces featuresAtPoint and featuresInRect, and returns geobase geometries.MapOptions.movements limits how the camera may move, and MapOptions.gestures has one switch per gesture.GeoJsonData instead of a string, and setProjection takes an expression.getVisibleRegion is renamed to getVisibleBounds, and MapCompass.animation replaces its duration and speed.draggable: true (#544, #151).MapLibreNetwork sets HTTP headers and rewrites request URLs for every map and the OfflineManager.querySourceFeatures, and filter expressions for feature queries.cameraFor, stopCamera, and camera roll and padding.MapOptions.fastPforEnabled (#635).StyleImageOptions.maxZoom of double.infinity download tiles.Full Changelog: v0.4.0-pre.1...v0.4.0-pre.2 Contributors: @frosenb, @teamacco, @ishafiul, @josxha
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Removed the deprecated MapOptions.pitch (use initCamera), circumferenceOfEarth (use earthCircumferenceWgs84) and VectorSource.sourceLayer, which had n…
This pre-release replaces the MapLibre Android and iOS SDKs and the WebView desktop integration with one implementation on the MapLibre Native C API. Read the migration guide to upgrade from 0.3.x, and please report the bugs you find.
Known issue: maplibre_native_ffi has a bug that stops maps after about 30 frames in profile and release builds. maplibre_native works around it, but the workaround is only tested on Windows so far. If a map stops rendering in a profile or release build, please comment on #597.
paint and layout maps, for example width: const .literal(3) instead of paint: {'line-width': 3}. Annotation layers take expressions too.style.layers and style.sources replace the layer and source methods of StyleController: style.addLayer(layer) is style.layers.add(layer), style.updateGeoJsonSource(...) is style.sources.updateGeoJsonData(...).<script> and <link> tags from your web/index.html. With v6, WebGL2 is required, nested objects in GeoJSON feature properties are returned as maps instead of JSON strings, and zoomLevelsToOverscale defaults to 4, which can change label rendering and featuresAtPoint() results. See the maplibre-gl-js migration guide.maplibre_android, maplibre_ios and maplibre_webview. maplibre now uses maplibre_web in the browser and maplibre_native, built on the MapLibre Native C API, on every other platform. maplibre_native renders on Android, iOS, macOS, Windows and Linux.MapOptions properties of the removed packages: androidMode, androidTextureMode, androidTranslucentTextureSurface, androidForegroundLoadColor and webviewDebugMode, and the AndroidPlatformViewMode enum.MapController.featuresAtPoint and MapController.featuresInRect return a Future, because MapLibre Native answers feature queries asynchronously.MapController.queryLayers and QueriedLayer. Use featuresAtPoint with layerIds to test layers, and the new RenderedFeature.sourceId, RenderedFeature.sourceLayer and RenderedFeature.layerId for the source and the style layer.RenderedFeature equality and hashCode compare id, sourceId, sourceLayer and layerId.pointer_interceptor dependency. Widgets over the map no longer need a PointerInterceptor on web; WidgetLayer.allowInteraction works the same on every platform.OfflineManager.downloadRegion takes an OfflineRegionDefinition, either an OfflineTilePyramidRegionDefinition of bounds or the new OfflineGeometryRegionDefinition of a geometry, instead of mapStyleUrl, bounds, minZoom, maxZoom, pixelDensity and includeIdeographs. OfflineRegion holds that definition instead of its own bounds, minZoom, maxZoom, pixelRatio and styleUrl.DownloadProgress holds an OfflineRegionStatus as status instead of loadedBytes, loadedTiles, totalTiles and totalTilesEstimated, and its progress counts every resource, not only tiles.OfflineDownloadException is sealed: download streams report an OfflineResourceException with its reason, or an OfflineTileCountLimitException, both with the regionId.OfflineManager.getOfflineRegion returns null for an unknown region. setOfflineTileCountLimit and runPackDatabaseAutomatically were removed, as MapLibre Native offers neither.PermissionManager, MapController.enableLocation, MapController.trackLocation, MapController.userLocationIsSupported, BearingRenderMode and BearingTrackMode. Show the user location with a UserLocationLayer, and ask for permissions with geolocator or permission_handler. MapControlButtons takes tracking and onTrackingPressed instead of showTrackLocation.StyleController.addImage, addImages and addImageFromAssets take a pixelRatio of image pixels per logical pixel, 1 by default, instead of using the device pixel ratio. An image of N pixels shows N logical pixels wide at an icon size of 1 on every platform and screen, so images grow by the device pixel ratio on high-DPI screens; pass the ratio the image was made for to keep their size.addImageFromCanvas and addImageFromIconData take their sizes in logical pixels and render at the device pixel ratio. addImageFromCanvas requires width and height as doubles, the painter draws in logical pixels, and addImageFromIconData makes a 48 pixel icon by default.setProjection(MapProjection.globe) keeps Mercator, and adding a VideoSource throws an UnsupportedError.http:// URLs need a network-security-config that permits cleartext traffic for their hosts.OfflineManager.createInstance throws an UnsupportedError instead of an Exception.MapOptions.pitch (use initCamera), circumferenceOfEarth (use earthCircumferenceWgs84) and VectorSource.sourceLayer, which had no effect.VideoSource.coordinates is a LngLatQuad, like ImageSource.coordinates, instead of a list of four Geographics.ImageSource.url replaces ImageSource(url:).GeoJsonSource.url and GeoJsonSource.data replace GeoJsonSource(data:), which took either a URL or a GeoJSON string.RasterSource, RasterDemSource and VectorSource have .url for a TileJSON URL and .tiles for tile URLs, instead of optional url and tiles.VideoSource.urls replaces VideoSource(urls:).MapOptions.initStyle (a String) is replaced by MapOptions.style, a MapStyle: MapStyle.url, MapStyle.json, MapStyle.asset or MapStyle.file (not on web), so the style is no longer guessed from the string. The map loads a new style when style changes, and MapController.setStyle was removed.MapOptions.initCenter, initZoom, initBearing and initPitch are replaced by MapOptions.initCamera, an InitialCamera.position or InitialCamera.bounds. Without initCamera the map starts at the camera stored in its style instead of at zoom 0.LngLatBounds is replaced by geobase's GeoBox (west, south, east, north; GeoBox.from replaces LngLatBounds.fromPoints) in MapController.fitBounds, MapController.getVisibleRegion, MapOptions.maxBounds and the offline region definitions.maplibre exports only the geobase types of its API (Geographic, Position, PositionSeries, GeoBox, the geometries, Feature, FeatureCollection and earthCircumferenceWgs84) instead of all of geobase. Import package:geobase/geobase.dart for the others.StyleController.getAttributions() and getAttributionsSync() are replaced by the synchronous getter StyleController.attributions.InitialCamera.bounds starts a map fitted to bounds, with padding, bearing and pitch, from its first frame.
MapLibreMap.paused stops a map from rendering while it stays mounted, and maps hidden by an IndexedStack, a Visibility or a disabled TickerMode pause on their own. MapController.isRenderingPaused and MapEventRenderingChanged report the state.
UserLocationLayer shows a stream of UserLocations on every platform and can track them; the new maplibre_geolocator package adapts geolocator positions.
Gestures are the same on every platform: drag, pinch and twist, scroll wheel, double tap, double tap and drag, two-finger tilt, and right-button or Ctrl + left-button rotate and tilt.
OfflineGeometryRegionDefinition downloads only the tiles that a geometry such as a route touches. New OfflineManager.getRegionStatus, updateRegionMetadata, invalidateRegion and resumeDownload.
Maps cache resources in maplibre_native.db in the app support directory, which also holds the offline regions.
Typed style expressions, typed style layers and ColorReliefStyleLayer.
style.layers and style.sources list, add, update, move and remove the layers and sources of the style. Setting a property of a layer updates the map, also every frame for animations.
Changing a layer in MapLibreMap.layers no longer moves it above all other layers.
ImageSource.bytes and ImageSource.provider show images from encoded bytes or any Flutter ImageProvider, such as an AssetImage or a FileImage, not only from a URL.
Web: VideoSource.bytes and VideoSource.asset show videos from encoded bytes or a Flutter asset.
StyleController.addImageFromUiImage adds a dart:ui Image to the map from its pixels, without encoding it.
Windows, macOS and Linux are supported out of the box, rendered by MapLibre Native instead of the opt-in maplibre_webview.
Web: maplibre-gl-js and PMTiles load on their own. The latest maplibre-gl-js v6 is loaded by default, never a new major version. window.flutterMapLibre sets another version range or your own URL. See the setup instructions.
SourceAttribution updates when sources are added or removed, or a source loads its attribution, not only when the camera moves.StyleController.attributions includes the attribution of a source's TileJSON.MarkerLayer applies textOpacity (it used iconOpacity) and iconTranslate, and PolylineLayer applies blur.addImage, addImageFromIconData and addImageFromWidget keep their size with the skwasm renderer (--wasm).animateCamera no longer hangs when the animation ends at once, and removing a source that does not exist is not an error.Full Changelog: v0.3.7+1...v0.4.0-pre.1 Contributors: @josxha
This pre-release renders maps on Android, iOS, macOS, Windows and Linux with one implementation on the MapLibre Native C API, and on web with maplibre-gl-js v6. Read the migration guide to upgrade from 0.3.x, and please report the bugs you find.
Known issue: maps can stop after about 30 frames in profile and release builds. A workaround is in place, tested only on Windows so far (#597).
maplibre_android, maplibre_ios and maplibre_webview.
maplibre uses maplibre_web on web and maplibre_native on every other
platform.<script> and <link> tags from web/index.html.paint and
layout maps. style.layers and style.sources replace the layer and
source methods of StyleController.GeoJsonSource.url and
GeoJsonSource.data.MapOptions.style takes a MapStyle and MapOptions.initCamera replaces
the init* camera options. MapController.setStyle is removed.GeoBox replaces LngLatBounds, and maplibre exports only the
geobase types of its API.Future, and queryLayers is removed.OfflineRegionDefinition, and download progress
and errors have new types.UserLocationLayer replaces the location methods of MapController, and
PermissionManager is removed.pixelRatio of 1 by default instead of the device pixel
ratio.StyleController.attributions replaces getAttributions().MapOptions of the removed packages.VideoSource.Texture, without platform views.UserLocationLayer shows and follows the user location on every platform;
the new maplibre_geolocator package connects it to geolocator.ColorReliefStyleLayer.
Layers can be read, updated, moved and removed at runtime.MapLibreMap.paused stops rendering, and hidden maps pause on their own.ImageProvider, and video sources from
bytes or assets on web.addImageFromUiImage adds a dart:ui Image to the style.InitialCamera.bounds starts a map fitted to bounds.SourceAttribution updates when sources change.MapLibreMap.layers no longer moves it to the top.MarkerLayer applies textOpacity and iconTranslate, and
PolylineLayer applies blur.--wasm.animateCamera no
longer hangs when the animation ends at once.Full Changelog: v0.3.7+1...v0.4.0-pre.1
This bug fix release is the last planned release for the v0.3 series. The focus now will be on replacing the Android and iOS SDK as well as the WebVie
This bug fix release is the last planned release for the v0.3 series. The focus now will be on replacing the Android and iOS SDK as well as the WebView desktop integration with unified C bindings. Stay tuned!
parseExpression.Full Changelog: v0.3.7...v0.3.7+1 Contributors: @miakh, @josxha
This release brings some important bug fixes and updates package dependencies to the newest version. The pub.dev release happend a couple of days ago
This release brings some important bug fixes and updates package dependencies to the newest version. The pub.dev release happend a couple of days ago but the GitHub release was missing. Thanks for everyone who contributed in this release!
OfflineManager.downloadRegion no longer leaks a JNI global reference per status event, which aborted the process with a global reference table overflow partway through a large region download.StyleController whose native style was already released are ignored instead of aborting the process with a JNI error.maplibre_android.colorArray and numberArray paint properties.animateCamera() crash when called before the native view has a layout size.MLNMapView and its gesture recognizers when the map is disposed.fitBounds() no longer reuses padding from a previous camera move.Contributors: @glandais, @miakh, @teamacco, @Mazen-Embaby, @fmt-Println-MKO, @BartoszStasiurka, @josxha
Full Changelog: v0.3.6...v0.3.7
Thanks for everyone who contributed in this release!
Thanks for everyone who contributed in this release!
FrameLayout and its native map state per map create/dispose
cycle.StyleController now releases its native style reference when
the owning MapLibreMap is disposed, instead of staying technically
usable on a torn-down map.StyleController and several map query methods
(updateGeoJsonSource, removeLayer/removeSource/removeImage,
getLayerIds, getAttributionsSync, featuresAtPoint/featuresInRect)
leak JNI global references on every call.Contributors: @josxha, @emanuelesenis, @BartoszStasiurka, @D3CK3R, @Mazen-Embaby, @teamacco, @lukeboyden
This release contains a couple of bug fixes and improvements. Thanks to @BartoszStasiurka for his contributions in this release!
This release contains a couple of bug fixes and improvements. Thanks to @BartoszStasiurka for his contributions in this release!
maxZoom to 22 for RasterSource, RasterDemSource and VectorSource.DownloadProgressdeleteRegion() to OfflineManageronStyleLoaded() unreliable if style not loaded immediatelyfeaturesAtPoint causes ClassNotFoundException in release buildsjni to v1.0.0, jnigen to 0.16.0Full Changelog: v0.3.4+1...v0.3.5 Contributors: @BartoszStasiurka, @josxha
This feature release introduces a complete migration of the iOS platform to FFI and experimental support for Windows and macOS has been added using wi
This feature release introduces a complete migration of the iOS platform to FFI and experimental support for Windows and macOS has been added using with web view. The package has also been restructured into a federated plugin with separate packages for each platform.
padding parameter to moveCamera() and animateCamera().padding parameter of fitBounds() doesn't account for device pixel ratio.setState() if widget is not mounted.listOfflineRegions() throws exception if region packs are not available yet.addImage()Full Changelog: v0.3.3+2...v0.3.4 Contributors: @josxha
Web: fix addSource() with raster and raster-dem source throws exception.
addSource() with raster and raster-dem source throws exception.addImage() results in image with wrong pixel ratio.animateCamera() causes the zoom level to jumps to the target zoom level.onStyleLoaded() callback is not called when style loads immediately.Full Changelog: v0.3.4...v0.3.4+1 Contributors: @josxha
This release focuses on stability improvements along with a few small enhancements. Notably, it is now possible to render a Flutter widget or canvas d
This release focuses on stability improvements along with a few small enhancements. Notably, it is now possible to render a Flutter widget or canvas directly into an image and use it as a map marker without any delay. Many thanks to @markszente and @BartoszStasiurka for their contributions to this release.
I would also like to extend my sincere gratitude to Thilko M., @oboukili, @ton-An, @YumNumm, and @smallTrogdor for helping fund the development of this package throughout 2025. Your support is truly appreciated!
padding to fitBounds() on iOS.Widget or Canvas into an image and use it as marker on the map.sourceLayerId to style layers for vector sources.filter expressions to style layers.MapEventCameraIdle, MapEventStartMoveCamera events on iOS.queryLayers() throws exception on iOS when receiving numeric layer IDs.onCameraMoved() callback returning altitude instead of zoom level on iOS.Full Changelog: v0.3.2...v0.3.3 Contributors: @markszente, @BartoszStasiurka, @josxha
Fix addLayer() throws double release error on Android
addLayer() throws double release error on Androidfilter cannot be parsed on Androidmaplibre_ios to fix pub.dev scoreFull Changelog: v0.3.3...v0.3.3+1 Contributors: @josxha
Android: fix can't parse numeric array in layer properties
metadata parameter to OfflineRegionFull Changelog: v0.3.3+1...v0.3.3+2 Contributors: @josxha
Maintenance release that optimizes the package on pub.dev and fixes a bug in release builds on Android.
Maintenance release that optimizes the package on pub.dev and fixes a bug in release builds on Android.
pub.dev by restructuring the repository.jni / jnigen to ^0.15.1.Full Changelog: v0.3.1...v0.3.2 Contributors: @josxha
This release brings a couple of new features and bug fixes. The android platform view creation has been migrated to Dart. Android is now completely fr
This release brings a couple of new features and bug fixes. The android platform view creation has been migrated to Dart. Android is now completely free from method channels.
minZoom, maxZoom to layers.aboveLayerId and atIndex to addLayer().addImages() to StyleController to add multiple images at once.addImageFromAssets() to load an image from Flutter assets.addImageFromIconData to add an image from Flutter icons.allowInteraction parameter in WidgetLayer not working on web.maxBounds parameterlinePattern int array causing crash on iOS.Contributors: @kekland, @josxha Full Changelog: v0.3.0...v0.3.1
This release introduces breaking changes. Head over to the migration guide to learn more on how to update your implementation.
In this release, I'm blazed to finally announce support for iOS. Similar to our other platforms, iOS uses FFI to natively interop between Dart and Swift/ObjC. Checkout the iOS documentation to get started. A big thanks to @mhernz, @gabbopalma and @jt274 that helped with their awesome contributions in this release!
This release introduces breaking changes. Head over to the migration guide to learn more on how to update your implementation.
geotypes to geobase.screenPoint parameter to MapEventUserInput events to show the screen coordinates in logical pixels where the user interacted with the map.rotationDuration in MapCompass to nativeRotationDuration.MapController functions are now called synchronously, their *Sync() overloads have been removed.FeatureCollection. This allows users to add properties to their layers.setStyle(), to know when the map style has loaded, listen to onStyleLoaded().androidTranslucentTextureSurface and androidForegroundLoadColor to use a translucent map.MapScalebar.units to support imperial units in the scalebar.featuresAtPoint() and featuresInRect() to MapController.pigeon 26.0.0BearingRenderModedart:io import to fix pub.dev WASM compatibility detectionContributors: @mhernz, @jt274, @gabbopalma, @josxha Full Changelog: v0.2.2...v0.3.0
Maintenance release and some new functionality. Thanks for your contribution in this release @jt274!
Maintenance release and some new functionality. Thanks for your contribution in this release @jt274!
requestLocationPermissions() and addLayer() to use JNIjni and jnigen to v0.14pigeon to v25LngLatBounds.fromPoints() constructor....and numerous other dependencies updated in this release.
Contributors: @jt274, @josxha Full Changelog: v0.2.1...v0.2.2
This release builds upon the long anticipated merged threads in Flutter 3.29.0 which removes the need of switching threads. Furthermore, the release c
This release builds upon the long anticipated merged threads in Flutter 3.29.0 which removes the need of switching threads. Furthermore, the release contains a couple of features and new fixes.
Thanks for your contributions for this release, @felix-larsen and @pamtbaau!
removePinchOnPressed and webRotationSpeed as parameters to the MapCompass widget.SourceAttribution widget to use multiple lines for its attributions.SourceAttribution widget when hovered with a cursor.allowInteraction to the WidgetLayer that allows widgets to detect gestures on these widgets.moveCamera(), animateCamera() and fitCamera() on Android.moveCamera(), animateCamera() and fitCamera() does not ignore null parameters.Contributors: @felix-larsen, @pamtbaau, @josxha Full Changelog: https://github.com/josxha/flutter-maplibre/compare/v0.2.0...v0.2.1
Fix deprecations introduced in Flutter 3.27.
This release is a collection of user affecting changes along a couple of new features and bug fixes. Head over to the migration guide to learn more on how to update your implementation.
A big thanks to @gabbopalma for his contributions in this release.
Layer postfix of the more low level style classes to StyleLayer.ZoomButtons to ControlButtons.StyleController that can be accessed via a nullable mapController.style field.StyleController in the onStyleLoaded() callback and in the MapEventStyleLoaded event.ImageSource now requires a static typed LngLatQuad object.style.setProjection() to switch to globe projection programmatically.ControlButtons.WidgetStateNative for better code reuse in the upcoming iOS release.Contributors: @gabbopalma, @josxha Full Changelog: v0.1.2...v0.2.0
This release adds the last missing features for Android and Web, that were planned for now. The package will continue its ongoing efforts for stabilit
This release adds the last missing features for Android and Web, that were planned for now. The package will continue its ongoing efforts for stability before work to add iOS as a supported platform starts.
OfflineManager for offline maps, cache management and bulk downloading.PermissionsManager to check and request location permissions.WidgetLayer to support widgets as Markers on the map.11.6.+.toScreenLocationSync(), toLngLatSync(), toScreenLocationsSync(), toLngLatsSync(), getMetersPerPixelAtLatitudeSync() and getVisibleRegionSync().MapOptions.of(context) and MapOptions.maybeOf(context).padding and alignment parameters to the MapScalebar widget.flutter_markdown package./platform directory.Contributors: @josxha Full Changelog: v0.1.1...v0.1.2
Add controller.queryLayers() to check what layers have been clicked.
controller.queryLayers() to check what layers have been clicked.MapOptions parameters to toggle platform specific UIs.controller.getVisibleRegion() throws exception on Android.Contributors: @josxha Full Changelog: https://github.com/josxha/flutter-maplibre/compare/v0.1.0...v0.1.1
controller.queryLayers() to check what layers have been clicked.MapOptions parameters to toggle platform specific UIs.controller.getVisibleRegion() throws exception on Android.Full Changelog: v0.1.0...v0.1.1
Use a "Web" prefix for all web-only controls, for example WebGeolocateControl.
WebGeolocateControl.MapOptions.controls to MapOptions.webControls.jumpTo() to moveCamera() and flyTo() to animateCamera().init prefix to not modifiable MapOptions parameters.animateCamera() in this version.Read the Upgrade Guide for instructions on how to upgrade.
AnnotationLayers as easy to use annotations.Contributors: @josxha Full Changelog: https://github.com/josxha/flutter-maplibre/compare/v0.0.2...v0.1.0
Deprecate tilt parameters in favor of pitch.
minZoom, maxZoom, minPitch, maxPitch and maxBounds parameter.flyTo().flyTo() returns after the animation completes or throws an exception if it
has been cancelled.tilt parameters in favor of pitch.onClick, onDoubleClick, onSecondaryClick and onLongClick in
favor of the event system.jumpTo() never returns on Android.Contributors: @gabbopalma, @josxha Full Changelog: https://github.com/josxha/flutter-maplibre/compare/v0.0.1+1...v0.0.2
fix links to website and embeeded screenshots in readme
plugin_platform_interface dependencyplugin_platform_interface dependencyFull Changelog: v0.0.1...v0.0.1+1
Implement basic map for android and web
One column per month.