Skip to content

v2.10.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@evil159 evil159 released this 04 Jul 10:59
· 1 commit to main since this release
6dfe430

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