lookAtPointWithOrientation method - MapCameraUpdateFactory class - mapview library - Dart API
lookAtPointWithOrientation
lookAtPointWithOrientation static method
- GeoCoordinatesUpdate target,
- GeoOrientationUpdate orientation
Creates an update to position the map camera to look at the given target with the given orientation preserving the current map measure (zoom level/distance/scale) Any target or orientation 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.
-
targetThe look-at target position in geodetic coordinates. -
orientationGeodetic orientation at look-at target.
Returns MapCameraUpdate. MapCameraUpdate instance.
Implementation
static MapCameraUpdate lookAtPointWithOrientation(GeoCoordinatesUpdate target, GeoOrientationUpdate orientation) => $prototype.lookAtPointWithOrientation(target, orientation);