lookAtPointWithMeasure method - MapCameraUpdateFactory class - mapview library - Dart API
lookAtPointWithMeasure
lookAtPointWithMeasure static method
- GeoCoordinatesUpdate target,
- MapMeasure measure
Creates an update to position the map camera to look at the given target with the given map measure preserving the current orientation at look-at target.
Any target sub-element value that is not finite will be excluded from the update. If the map measure is not valid, the current map camera distance to the target point is preserved.
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. -
measureThe desired map measure.
Returns MapCameraUpdate. MapCameraUpdate instance.
Implementation
static MapCameraUpdate lookAtPointWithMeasure(GeoCoordinatesUpdate target, MapMeasure measure) => $prototype.lookAtPointWithMeasure(target, measure);