onMapAngleUpdate method

  1. @override
void onMapAngleUpdate(
  1. double angle
)

Called when the map angle (bearing) changes.

Invoked when the map bearing changes, either from user rotation or GPS updates while tracking.

Parameters

  • angle: Map bearing in degrees (0–360).

Implementation

@override
void onMapAngleUpdate(final double angle) {
  _mapAngleUpdateCallback?.call(angle);
}