onAutoPanModeChanged property

Stream<LocationDisplayAutoPanMode> onAutoPanModeChanged

Sets a callback to be invoked when the LocationDisplay.autoPanMode of the location display has been changed.

If the visible map extent is changed by the user navigating the map interactively, or by a programmatic navigation method call, this will cause LocationDisplay.autoPanMode to be reset to LocationDisplayAutoPanMode.off. You can respond to this event if your app needs to revert to the previously set mode after that navigation has finished.

Implementation

Stream<LocationDisplayAutoPanMode> get onAutoPanModeChanged =>
    _autoPanModeChangedStreamController.stream;