DataSourceVector

DataSourceVector

矢量数据源基类,不能直接实例化。

Constructor

new DataSourceVector(options)

Author:
  • zpc
See:
Parameters:
Name Type Description
options Object 拥有以下属性的对象:
Properties
Name Type Attributes Default Description
id String <optional>
数据源的ID。
name String <optional>
"" 数据源的名称。
data Object 数据源对象或URL。

Members

(readonly) changedEvent :Cesium.Event

获取将在基础数据更改时引发的事件。
Type:
  • Cesium.Event

clustering :Cesium.EntityCluster

获取或设置此数据源的群集选项。此对象可以在多个数据源之间共享。
Type:
  • Cesium.EntityCluster

(readonly) entities :Cesium.EntityCollection

获取实体实例的集合。
Type:
  • Cesium.EntityCollection

(readonly) errorEvent :Cesium.Event

获取在处理过程中遇到错误时将引发的事件。
Type:
  • Cesium.Event

(readonly) id :String

获取数据源的ID。
Type:
  • String

(readonly) isLoading :Boolean

获取指示数据源当前是否正在加载数据的布尔值。
Type:
  • Boolean

(readonly) loadingEvent :Cesium.Event

获取将在数据源启动或停止加载时引发的事件。
Type:
  • Cesium.Event

name :String

设置或获取数据源的名称。
Type:
  • String