New Feature
Add the possibility to use a VieportTransition when using MapViewportState methods instead of a DefaultViewTransition only.
public fun transitionToOverviewState(
overviewViewportStateOptions: OverviewViewportStateOptions,
defaultTransitionOptions: DefaultViewportTransitionOptions = DefaultViewportTransitionOptions.Builder()
.build(), // Here, use a ViewportTransition
completionListener: CompletionListener? = null
)
Why
In map V10, we could specify a ViewportTransition when we wanted to have a transition to a certain state.
However, in V11, using MapViewportState, we cannot specify a ViewportTransition but only a DefaultViewportTransition.
We cannot do an immediate transition when we don't want to have an animation.
We could possibility have more use cases unlock by using a ViewportTransition and not only a DefaultViewTransition