ht.cesium.Wall(options)

new Wall(options)

创建一个 Wall 实例

Parameters:
Name Type Description
options WallOptions4Type

初始化参数

Members

cesiumLayer :any

获取 cesium 图层

map :ht.cesium.Map

获取地图实例对象

property :WallOptions4Type

获取数据属性

uuid :string

获取唯一标识

Methods

a(name, value) → {any}

getAttr 和 setAttr 的简写

Parameters:
Name Type Attributes Description
name any <optional>
value any <optional>
Returns:
any

addToMap(map, callback) → {void}

将数据叠加到地图上

Parameters:
Name Type Attributes Description
map ht.cesium.Map

数据所处的地图(map)实体对象

callback function <optional>

回调函数

Returns:
void

flyToLayer(options) → {void}

飞行定位到节点

Parameters:
Name Type Description
options any
Returns:
void

getAttr(name) → {any}

获取样式属性值

Parameters:
Name Type Description
name string
Returns:
any

getClassName() → {string}

获取类名

Returns:
string

getStyle(name) → {any}

获取样式属性值

Parameters:
Name Type Description
name string
Returns:
any

hide() → {void}

隐藏墙面

Returns:
void

remove() → {void}

移除数据

Returns:
void

s(name, value) → {any}

getStyle 和 getStyle 的简写

Parameters:
Name Type Attributes Description
name any <optional>
value any <optional>
Returns:
any

setAttr(name, value) → {void}

设置样式属性值

Parameters:
Name Type Description
name string
value any
Returns:
void

setStyle(name, value) → {void}

设置样式属性值

Parameters:
Name Type Description
name string
value any
Returns:
void

show() → {void}

显示墙面

Returns:
void