lookAtPoint static method

MapCameraUpdate lookAtPoint(
  1. GeoCoordinatesUpdate target
)

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

Any target 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, altitude is ignored, the target is considered to be located on the ground.

Returns MapCameraUpdate. MapCameraUpdate instance.

Implementation

static MapCameraUpdate lookAtPoint(GeoCoordinatesUpdate target) => $prototype.lookAtPoint(target);