OnCameraMoveStarted typedef
OnCameraMoveStarted =
void Function(CameraPosition position, bool gesture)
Called when the camera starts moving after it has been idle or when the reason for the camera motion has changed.
gesture is true when the camera motion has been initiated in response
to the user gestures on the map. For example: pan, tilt, pinch to zoom, or
rotate.
gesture is false when the camera motion has been initiated in response
to user actions. For example: zoom buttons, my location button, or marker
clicks.
position is the camera position where the motion started.
Implementation
typedef OnCameraMoveStarted =
void Function(CameraPosition position, bool gesture);