Members
-
获取路线集合是否准备就绪,若fpf文件解析完成且成功则返回true。
-
Default Value:
false
-
获取该路线集合就绪状态的Promise。
-
readonlyroutes : RouteCollection
-
获取路线集合,即从fpf文件解析出来的Route数组,目前只支持一个Route.
Methods
-
向集合添加飞行路线。
Name Type Description route
Route 待添加的飞行路线对象。 -
从fpf文件加载飞行路线。
Name Type Description url
String 指定fpf文件路径。 Example:
var routeCollection = new Cesium.RouteCollection(); routeCollection.fromFile(fpfUrl);
-
get(index) → Route
-
通过索引获取飞行路线。
Name Type Description index
Number 指定的索引。 Returns:
返回该索引对应的飞行路线。