setNormalizedPrincipalPoint static method

MapCameraUpdate setNormalizedPrincipalPoint(
  1. Anchor2D principalPoint
)

Creates an update to change the map camera's principal point (where the view vector intersects the image plane - default is (0.5, 0.5)).

Point values are in normalized screen coordinates.

If the principalPoint is outside [0,1] interval, it is clamped. (0,0) is top left of the viewport, (1,1) is bottom right.

  • principalPoint Principal point in normalized screen coordinates.

Returns MapCameraUpdate. MapCameraUpdate instance.

Implementation

static MapCameraUpdate setNormalizedPrincipalPoint(Anchor2D principalPoint) => $prototype.setNormalizedPrincipalPoint(principalPoint);