跳到主要内容

flywave-mapview.mapviewutils.getcamerapositionfromtargetcoordinates

Home > @flywave/flywave-mapview > MapViewUtils > getCameraPositionFromTargetCoordinates

MapViewUtils.getCameraPositionFromTargetCoordinates() function

Signature:

function getCameraPositionFromTargetCoordinates(targetCoordinates: GeoCoordinates, distance: number, yawDeg: number, pitchDeg: number, projection: Projection, result?: THREE.Vector3): THREE.Vector3;

Parameters

Parameter

Type

Description

targetCoordinates

GeoCoordinates

distance

number

yawDeg

number

pitchDeg

number

projection

Projection

result

THREE.Vector3

(Optional)

Returns:



THREE.Vector3