Class

CzmlLayer

CzmlLayer(id, url, options)

Constructor

# new CzmlLayer(id, url, options)

czml图层

Parameters:
Name Type Description
id string

图层id

url string

图层地址

options Object

参考Cesium.CzmlDataSource参数

Author:
  • xyj

Members

# show

boolean

# readonly show

显示隐藏

string

# readonly type

图形类型

Methods

# eachGraphic(method, context) → {CzmlLayer}

遍历图层下的实体

Parameters:
Name Type Description
method function

回调

context Context

上下文

  • 当前对象
CzmlLayer