compositeUpdate method - MapCameraUpdateFactory class - mapview library - Dart API
compositeUpdate
compositeUpdate static method
- List<
MapCameraUpdate> mapCameraUpdates
Creates a composite camera update from a list of camera updates.
The result update will be equivalent to executing all given updates sequentially in the order they were provided.
MapCameraAnimation instances derived from the MapCameraAnimationFactory and a composite camera update are not supported. An AnimationListener will receive an AnimationState.Cancelled signal when trying to apply such animations.
mapCameraUpdatesList of MapCamera updates.
Returns MapCameraUpdate. MapCameraUpdate instance.
Throws MapCameraUpdateInstantiationException. Indicates an instantiation issue.
Implementation
static MapCameraUpdate compositeUpdate(List<MapCameraUpdate> mapCameraUpdates) => $prototype.compositeUpdate(mapCameraUpdates);