lookAtPointWithGeoOrientationAndMeasure static method

MapCameraUpdate lookAtPointWithGeoOrientationAndMeasure(
  1. GeoCoordinatesUpdate target,
  2. GeoOrientationUpdate orientation,
  3. MapMeasure measure
)

Creates an update to position the map camera to look at the given target with the given orientation and map measure.

Any target or orientation sub-element value that is not finite will be excluded from the update. If the map measure is not valid, the current map camera distance to the target point is preserved.

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.

  • measure The desired map measure.

Returns MapCameraUpdate. MapCameraUpdate instance.

Implementation

static MapCameraUpdate lookAtPointWithGeoOrientationAndMeasure(GeoCoordinatesUpdate target, GeoOrientationUpdate orientation, MapMeasure measure) => $prototype.lookAtPointWithGeoOrientationAndMeasure(target, orientation, measure);