Skip to content

Releases: mapbox/mapbox-maps-flutter

v2.23.0-rc.1

22 Apr 07:16

Choose a tag to compare

v2.23.0-rc.1 Pre-release
Pre-release

Deprecations ⚠️

  • Deprecate MapWidget.cameraOptions in favor of the viewport API — existing usage still works but will be removed in next major version; migrate camera initialization and updates to the viewport API.
    // Before
    MapWidget(
      cameraOptions: CameraOptions(
        center: Point(coordinates: Position(-117.918976, 33.812092)),
        zoom: 15.0,
      ),
    );

    // After
    MapWidget(
      viewport: CameraViewportState(
        center: Point(coordinates: Position(-117.918976, 33.812092)),
        zoom: 15.0,
      ),
    );
  • Deprecate MapWidget.onTapListener and MapWidget.onLongTapListener in favor of the MapboxMap.addInteraction API — tap/long-tap handlers will be removed in next major version; migrate to the Interactions API for richer feature-aware handling.
    Other gesture listeners (scroll, zoom, etc.) are unaffected.
  // Before
  MapWidget(
    onTapListener: (context) {
      print('Tapped at ${context.point}');
    },
    onLongTapListener: (context) {
      print('Long-tapped at ${context.point}');
    },
  );

  // After — on the map itself
  mapboxMap.addInteraction(TapInteraction.onMap((context) {
    print('Tapped at ${context.point}');
  }));
  mapboxMap.addInteraction(LongTapInteraction.onMap((context) {
    print('Long-tapped at ${context.point}');
  }));

Dependency Updates

  • Update Mapbox Maps SDK to v11.23.0-rc.1
    • For platform-specific updates see: iOS & Android

v2.22.0

17 Apr 08:11

Choose a tag to compare

Dependency Updates

  • Update Mapbox Maps SDK to v11.22.0
    • For platform-specific updates see: iOS & Android

v.2.21.2

17 Apr 08:09

Choose a tag to compare

Dependency Updates

  • Update Mapbox Maps SDK to v11.21.2
    • For platform-specific updates see: iOS & Android

v2.21.1

10 Apr 15:07

Choose a tag to compare

Dependency Updates

  • Update Mapbox Maps SDK to v11.21.1
    • For platform-specific updates see: iOS & Android

v2.22.0-rc.1

10 Apr 14:58

Choose a tag to compare

v2.22.0-rc.1 Pre-release
Pre-release

Dependency Updates

  • Update Mapbox Maps SDK to v11.22.0-rc.1
    • For platform-specific updates see: iOS & Android

v2.21.0

02 Apr 15:06

Choose a tag to compare

Dependency Updates

  • Update Mapbox Maps SDK to v11.21.0
    • For platform-specific updates see: iOS & Android

v2.20.1

26 Mar 12:45

Choose a tag to compare

Bug fixes 🐞

  • TileStore: prevent stray files after decompression failures and cancellation
  • TileStore: Fix eviction query to handle empty BLOB content

Dependency Updates

  • Update Mapbox Maps SDK to v11.20.2
    • For platform-specific updates see: iOS & Android

v2.19.2

26 Mar 11:50
9be7c8d

Choose a tag to compare

Bug fixes 🐞

  • TileStore: prevent stray files after decompression failures and cancellation
  • TileStore: Fix eviction query to handle empty BLOB content

Dependency Updates

  • Update Mapbox Maps SDK to v11.19.2
    • For platform-specific updates see: iOS & Android

v2.18.1

26 Mar 11:00
2a7904d

Choose a tag to compare

Bug fixes 🐞

  • TileStore: prevent stray files after decompression failures and cancellation
  • TileStore: Fix eviction query to handle empty BLOB content

Dependency Updates

  • Update Mapbox Maps SDK to v11.18.3
    • For platform-specific updates see: iOS & Android

v2.21.0-rc.1

26 Mar 09:57

Choose a tag to compare

v2.21.0-rc.1 Pre-release
Pre-release

Dependency Updates

  • Update Mapbox Maps SDK to v11.21.0-rc.1
    • For platform-specific updates see: iOS & Android