lookAtPointWithMeasure static method

MapCameraUpdate lookAtPointWithMeasure(
  1. GeoCoordinatesUpdate target,
  2. MapMeasure measure
)

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

Any target 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.

  • measure The desired map measure.

Returns MapCameraUpdate. MapCameraUpdate instance.

Implementation

static MapCameraUpdate lookAtPointWithMeasure(GeoCoordinatesUpdate target, MapMeasure measure) => $prototype.lookAtPointWithMeasure(target, measure);