Flight site object class. The flight path consists of multiple flight stations.
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
The object contains the following properties:
|
Members
-
Get or set the flight duration (unit: second) from the current station to the next station.
-
Default Value:
0
-
Get or set the camera heading angle of the current site (unit: radians).
-
Default Value:
0
-
Get the index of the current site.
-
point : Cartesian3
-
Get or set the location of the current site.
-
Get or set the promise of the current site for asynchronous operation of site events.
Example:
flyManager.stopArrived.addEventListener(function(routeStop){ audioEle.play(); var defer = Supermap3D.when.defer(); //Asynchronous processing of playing audio routeStop.promise = defer; audioEle.onended = function(){ defer.resolve(true); routeStop.promise = undefined; }; });
-
Get or set the flight speed of the current station (unit: m/s).
-
Get or set the current site name.
-
Default Value:
""
-
Get or set the current site action mode, including pause and rotation.
See:
-
Gets or sets the current station orbiting time (unit: second).
-
Get or set the tilt angle of the camera at the current site (unit: radians).
-
Default Value:
0
-
Get or set the waiting time (unit: second) of the current site.
-
Default Value:
0