compositeUpdate static method

MapCameraUpdate compositeUpdate(
  1. 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.

  • mapCameraUpdates List of MapCamera updates.

Returns MapCameraUpdate. MapCameraUpdate instance.

Throws MapCameraUpdateInstantiationException. Indicates an instantiation issue.

Implementation

static MapCameraUpdate compositeUpdate(List<MapCameraUpdate> mapCameraUpdates) => $prototype.compositeUpdate(mapCameraUpdates);