transition abstract method

Future<bool> transition(
  1. ViewportState state,
  2. ViewportTransition? transition
)

Transitions the map camera to the given state, optionally using a transition animation.

Returns true if the transition completed successfully, false if it was interrupted or cancelled.

Implementation

Future<bool> transition(ViewportState state, ViewportTransition? transition);