source property

MapMoveSource source
final

What moved the camera.

type says where in the movement this event sits; this says who caused it. A feature that follows a position moves the camera itself, so it has to check source == MapMoveSource.gesture before treating a move as the user taking over — otherwise every follow step cancels the follow.

Defaults to MapMoveSource.unknown for events built by hosts that predate the field. See MapMoveSource for what each provider can actually tell apart.

Implementation

final MapMoveSource source;