navigationRouteLowRateUpdate property

bool get navigationRouteLowRateUpdate

Get the navigation route low-rate update flag.

When enabled, navigation route updates are delivered at a lower rate to reduce CPU and network usage during active navigation.

Returns

  • True if navigation route low-rate updates are enabled, false otherwise.

Also see:

Implementation

bool get navigationRouteLowRateUpdate {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewExtensions',
    'getNavigationRouteLowRateUpdate',
    dependencyId: _mapControllerId,
  );

  return resultString['result'];
}
set navigationRouteLowRateUpdate (bool bEnable)

Enable or disable navigation route low-rate updates.

Parameters

  • bEnable: True to enable lower-rate navigation updates, false to disable.

Also see:

Implementation

set navigationRouteLowRateUpdate(final bool bEnable) {
  objectMethod(
    _pointerId,
    'MapViewExtensions',
    'setNavigationRouteLowRateUpdate',
    args: bEnable,
    dependencyId: _mapControllerId,
  );
}