flywave-mapview.mapviewutils.getcameracoordinatesfromtargetcoordinates
Home > @flywave/flywave-mapview > MapViewUtils > getCameraCoordinatesFromTargetCoordinates
MapViewUtils.getCameraCoordinatesFromTargetCoordinates() function
Warning: This API is now obsolete.
use getCameraPositionFromTargetCoordinates instead
Signature:
function getCameraCoordinatesFromTargetCoordinates(targetCoordinates: GeoCoordinates, distance: number, yawDeg: number, pitchDeg: number, mapView: MapView): GeoCoordinates;
Parameters
Parameter | Type | Description |
|---|---|---|
targetCoordinates | GeoCoordinates | |
distance | number | |
yawDeg | number | |
pitchDeg | number | |
mapView |
Returns:
GeoCoordinates