The flight path object class.
Name | Type | Default | Description |
---|---|---|---|
options |
Object | optional Contains the following attributes: | |
isStopVisible |
Boolean |
false
|
optional Whether the site logo is visible. |
isFlyLoop |
Boolean |
false
|
optional Whether to fly in a loop. |
isLineVisible |
Boolean |
false
|
optional Flight route visibility (optional) |
routeName |
String |
''
|
optional The name of the flight route. |
speed |
Number |
50.0
|
optional Flight speed. |
isAlongline |
Boolean |
false
|
optional Fly along the route (optional). |
totalDuration |
Number |
0.0
|
optional Total flight time. |
See:
Members
-
Get or set for determining the flight route is flying along the route.
-
Default Value:
false
-
Gets or sets whether the camera height is locked.
-
Gets or sets whether the flight route is cyclically flying.
-
Default Value:
false
-
Gets or sets whether the camera locks the azimuth.
-
Gets or sets whether the path of the flight route is visible.
-
Default Value:
false
-
Gets or sets whether the stop of the flight route is visible.
-
Default Value:
false
-
Gets or sets whether the camera locks the pitch angle.
-
Get or set the name of the flight route.
-
Default Value:
''
-
Get or set the flight speed of the flight route, priority is based on the stop speed (unit: m/s).
-
Default Value:
50.0
-
Get the collection of all stations of the flight route.
-
Get the number of stops on the flight route.
-
Get or set the total flight time of the flight route (unit: second).
Methods
-
Add a site.
Name Type Description stop
RouteStop Site object. Returns:
Whether the addition is successful. -
get(index) → RouteStop
-
Get the stop of the flight route by index.
Name Type Description index
Number Site index. Returns:
Returns the site currently indexed. -
Remove the flight station, the parameter is the station object.
Name Type Description stop
Object Site object