MapIdleListener constructor - MapIdleListener - mapview library - Dart API
MapIdleListener
MapIdleListener constructor
- void onMapBusyLambda(),
- void onMapIdleLambda()
Used to detect when the map becomes idle or busy.
Map is considered busy when its state changes (for example as a result of camera manipulation) and/or when it requires a redraw (for example, as a result of map data being downloaded).
Map is considered idle when current state is fully rendered and no further redraws are necessary.
Implementation
factory MapIdleListener(
void Function() onMapBusyLambda,
void Function() onMapIdleLambda,
) => MapIdleListener$Lambdas(
onMapBusyLambda,
onMapIdleLambda,
);