isFastBrowsingEnabled property
Get fast browsing status.
Fast browsing mode optimizes rendering during map movement for smoother performance. Check this property to determine whether fast browsing is currently active.
Returns
- (bool) True if fast browsing is enabled, false otherwise.
Implementation
bool get isFastBrowsingEnabled {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'isFastBrowsingEnabled',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Set fast browsing status.
Fast browsing mode optimizes map rendering for smooth navigation during rapid map movements (panning, zooming). When enabled, the SDK may reduce detail level temporarily to maintain high frame rates, then restore full detail when movement stops.
Parameters
enable: (bool) True to enable fast browsing, false to disable.
Implementation
set isFastBrowsingEnabled(bool enable) {
objectMethod(
_pointerId,
'MapViewPreferences',
'enableFastBrowsingMode',
args: enable,
dependencyId: _mapPointerId,
);
}