setNormalizedPrincipalPoint method - MapCameraUpdateFactory class - mapview library - Dart API
setNormalizedPrincipalPoint
setNormalizedPrincipalPoint static method
- 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.
principalPointPrincipal point in normalized screen coordinates.
Returns MapCameraUpdate. MapCameraUpdate instance.
Implementation
static MapCameraUpdate setNormalizedPrincipalPoint(Anchor2D principalPoint) => $prototype.setNormalizedPrincipalPoint(principalPoint);