lookAtPointWithOrientation static method

MapCameraUpdate lookAtPointWithOrientation(
  1. GeoCoordinatesUpdate target,
  2. GeoOrientationUpdate orientation
)

Creates an update to position the map camera to look at the given target with the given orientation preserving the current map measure (zoom level/distance/scale) Any target or orientation sub-element value that is not finite will be excluded from the update.

The altitude of the target point is ignored. Any subsequent camera updates and animations will consider the target point as being located on the ground.

  • target The look-at target position in geodetic coordinates.

  • orientation Geodetic orientation at look-at target.

Returns MapCameraUpdate. MapCameraUpdate instance.

Implementation

static MapCameraUpdate lookAtPointWithOrientation(GeoCoordinatesUpdate target, GeoOrientationUpdate orientation) => $prototype.lookAtPointWithOrientation(target, orientation);