setPrincipalPoint static method
- Point2D principalPoint
Creates an update to change the map camera's principal point (where the view vector intersects the image plane - default is the center of the view).
Point values are in screen coordinates and values that fall outside of the viewport, are clamped. (0,0) is top left of the viewport.
principalPointPrincipal point in absolute viewport pixel coordinates.
Returns MapCameraUpdate. MapCameraUpdate instance.
Implementation
static MapCameraUpdate setPrincipalPoint(Point2D principalPoint) => $prototype.setPrincipalPoint(principalPoint);