Skip to content

Releases: mapbox/mapbox-maps-flutter

2.10.0-rc.1

17 Jul 17:55
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fix crash when receiving annotation interactions due to enum not being serialized with Pigeon Codec.

Dependency Updates

  • Update Mapbox Maps SDK to 11.14.0-rc.1 (iOS) & 11.14.0-rc.1 (Android)
    • For platform-specific updates see: iOS & Android

v2.5.3

17 Jul 19:25
cf6ccb8
Compare
Choose a tag to compare

Changes

  • Update MapboxMaps iOS SDK to v11.9.3

Important

This release addresses the code sign issue that may occur when building on iOS.

Dependency Updates

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

v2.7.1

15 Jul 08:44
faa0514
Compare
Choose a tag to compare

Changes

  • Update MapboxMaps iOS SDK to v11.11.2, MapboxMaps Android SDK to v11.11.1

Important

This release addresses the code sign issue that may occur when building on iOS.

Dependency Updates

  • Update Mapbox Maps SDK to v11.11.2 for iOS and v11.11.1 for Android
    • For platform-specific updates see: iOS & Android

v2.6.3

15 Jul 21:31
e94cdba
Compare
Choose a tag to compare

Changes

  • Update MapboxMaps iOS SDK to v11.10.3

Important

This release addresses the code sign issue that may occur when building on iOS.

Dependency Updates

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

v2.9.1

11 Jul 14:35
e664497
Compare
Choose a tag to compare

Changes

  • Update MapboxMaps iOS SDK to v11.13.3, MapboxMaps Android SDK to v11.13.2.

Important

This release addresses the code sign issue that may occur when building on iOS.

Dependency Updates

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

v2.8.1

11 Jul 22:57
39f3d40
Compare
Choose a tag to compare

Changes

  • Update MapboxMaps iOS SDK to v11.12.5, MapboxMaps Android SDK to v11.12.4.

Important

This release addresses the code sign issue that may occur when building on iOS.

Dependency Updates

  • Update Mapbox Maps SDK to latest minor versions of v11.12.x
    • For platform-specific updates see: iOS & Android

v2.10.0-beta.1

04 Jul 10:59
6dfe430
Compare
Choose a tag to compare
v2.10.0-beta.1 Pre-release
Pre-release

New Features ✨

  • Introduce new experimental properties: FillLayer.fillConstructBridgeGuardRail, FillLayer.fillBridgeGuardRailColor, FillLayer.fillTunnelStructureColor, CircleLayer.circleElevationReference.
  • Introduce tapEvents and longPressEvents API to the Annotation Managers to handle tap and long press event callbacks for annotations:
    Example usage:
    manager.tapEvents(
      onTap: (annotation) {
        print("Tapped annotation: ${annotation.id}");
      },
    );
    manager.longPressEvents(
      onLongPress: (annotation) {
        print("Long press annotation: ${annotation.id}");
      },
    );

Note

As part of this change, AnnotationOnClickListener is now deprecated.
Tap events will now not propagate to annotations below the topmost one. If you tap on overlapping annotations, only the top annotation's tap event will be triggered.

Dependency Updates

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

v2.9.0

18 Jun 14:54
3f57fcd
Compare
Choose a tag to compare

Important

⚠️ Breaking changes

  • [Android] When a method returns StylePropertyValue the property values will now be typed rather than a string.
  • PointAnnotation.iconImageCrossFade has been deprecated and setting a value to it will not have any impact. Use PointAnnotationManager.iconImageCrossFade instead.
  • The STANDARD_EXPERIMENTAL style has been removed. Use the STANDARD style instead.

New Features ✨

  • Expose new methods for working with style imports: addStyleImportFromJSON, addStyleImportFromURI, updateStyleImportWithJSON, updateStyleImportWithURI, and moveStyleImport.

  • Introduce dragEvents API to the Annotation Managers to handle drag event callbacks for annotations:

    • onBegin: Called when a drag gesture starts on an annotation.
    • onChanged: Called continuously as the annotation is dragged.
    • onEnd: Called once the drag gesture completes.

    Example usage:

    manager.dragEvents(
      onBegin: (annotation) {
        print("Drag started for: ${annotation.id}");
      },
      onChanged: (annotation) {
        print("Dragging at: ${annotation.geometry}");
      },
      onEnd: (annotation) {
        print("Drag ended at: ${annotation.geometry}");
      },
    );
  • Promote interaction APIs to stable. The following APIs are now stable:

    • MapboxMap.addInteraction
    • MapboxMap.removeInteraction
    • MapboxMap.setFeatureStateForFeaturesetDescriptor
    • MapboxMap.setFeatureStateForFeaturesetFeature
    • MapboxMap.getFeatureStateForFeaturesetDescriptor
    • MapboxMap.getFeatureStateForFeaturesetFeature
    • MapboxMap.removeFeatureStateForFeaturesetDescriptor
    • MapboxMap.removeFeatureStateForFeaturesetFeature
    • MapboxMap.resetFeatureStatesForFeatureset
    • MapboxMap.queryRenderedFeaturesForFeatureset
  • Move experimental modelElevationReference property to LocationPuck3D.

Bug fixes 🐞

  • In this release we fixed a bug in our Android conversion code where the property values in StylePropertyValue were being returned as strings rather than their actual type. This fix will cause a behavioral change in the return value of the following methods on Android:
    • getStyleImportConfigProperties, getStyleImportConfigProperty, getStyleLayerProperty, getStyleSourceProperty, getStyleTerrainProperty, getStyleLightProperty.
  • Fixed an issue where style expressions did not override constant values when both were present.
  • [ios] Fix crash when force unwrapping UIImage for point annotations.

Dependency Updates

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

v2.9.0-rc.1

04 Jun 13:28
2477d73
Compare
Choose a tag to compare
v2.9.0-rc.1 Pre-release
Pre-release

Dependency Updates

  • Update Mapbox Maps SDK to 11.13.0-rc.1 (iOS) & 11.13.0-rc.1 (Android)
    • For platform-specific updates see: iOS & Android

v2.9.0-beta.1

22 May 11:27
f448d73
Compare
Choose a tag to compare
v2.9.0-beta.1 Pre-release
Pre-release

Important

⚠️ Breaking changes

  • [Android] When a method returns StylePropertyValue the property values will now be typed rather than a string.
  • PointAnnotation.iconImageCrossFade has been deprecated and setting a value to it will not have any impact. Use PointAnnotationManager.iconImageCrossFade instead.
  • The STANDARD_EXPERIMENTAL style has been removed. Use the STANDARD style instead.

New Features ✨

  • Expose new methods for working with style imports: addStyleImportFromJSON, addStyleImportFromURI, updateStyleImportWithJSON, updateStyleImportWithURI, and moveStyleImport.
  • Introduce dragEvents API to the Annotation Managers to handle drag event callbacks for annotations:
    • onBegin: Called when a drag gesture starts on an annotation.
    • onChanged: Called continuously as the annotation is dragged.
    • onEnd: Called once the drag gesture completes.
      Example usage:
    manager.dragEvents(
      onBegin: (annotation) {
        print("Drag started for: ${annotation.id}");
      },
      onChanged: (annotation) {
        print("Dragging at: ${annotation.geometry}");
      },
      onEnd: (annotation) {
        print("Drag ended at: ${annotation.geometry}");
      },
    );
  • Promote interaction APIs to stable. The following APIs are now stable:
    • MapboxMap.addInteraction
    • MapboxMap.removeInteraction
    • MapboxMap.setFeatureStateForFeaturesetDescriptor
    • MapboxMap.setFeatureStateForFeaturesetFeature
    • MapboxMap.getFeatureStateForFeaturesetDescriptor
    • MapboxMap.getFeatureStateForFeaturesetFeature
    • MapboxMap.removeFeatureStateForFeaturesetDescriptor
    • MapboxMap.removeFeatureStateForFeaturesetFeature
    • MapboxMap.resetFeatureStatesForFeatureset
    • MapboxMap.queryRenderedFeaturesForFeatureset
  • Move experimental modelElevationReference property to LocationPuck3D.

Bug fixes 🐞

  • In this release we fixed a bug in our Android conversion code where the property values in StylePropertyValue were being returned as strings rather than their actual type. This fix will cause a behavioral change in the return value of the following methods on Android:
    • getStyleImportConfigProperties, getStyleImportConfigProperty, getStyleLayerProperty, getStyleSourceProperty, getStyleTerrainProperty, getStyleLightProperty.

Dependency Updates

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