new ClippingPlane(options)
创建一个裁剪地面
Parameters:
Name | Type | Description |
---|---|---|
options |
ClippingPlaneOptions4Type |
Members
-
cesiumLayer :any
-
获取 cesium 图层
-
map :ht.cesium.Map
-
获取地图实例对象
-
property :ClippingPlaneOptions4Type
-
获取数据属性
-
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 -
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 -
getTag() → {string}
-
获取标签值
Returns:
string -
remove() → {void}
-
移除数据
Returns:
void -
removeCesiumLayer() → {void}
-
移除 cesium 图层
Returns:
void -
s(name, value) → {any}
-
getStyle 和 setStyle 的简写
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 -
setTag(tag) → {void}
-
设置标签值
Parameters:
Name Type Description tag
string Returns:
void