DivIcon

html标签点

new TS.DivIcon(position, content)

html标签点
Name Type Description
position
content String | HTMLElement | Element 内容
Example:
let divIcon = new TS.DivIcon("120,30,50",'<div></div>');

let divIcon = new TS.DivIcon([120,30,50],'<div></div>');

let divIcon = new TS.DivIcon(new TS.Position(120,30,50),'<div></div>');

Extends

Members

allowDrillPick : Boolean

获取 或 设置 是否支持穿透选择
Inherited From:
获取 或 设置属性
Inherited From:

delegate : Cesium.Entity

获取CesiumEntity对象
Inherited From:

description : String

描述
Inherited From:

editabled : Boolean

获取 或 设置 是否可编辑
Inherited From:
获取 name
Inherited From:
获取父类
Inherited From:
鼠标点击订阅
Inherited From:
鼠标双击订阅
Inherited From:
鼠标离开订阅
Inherited From:
鼠标悬浮订阅
Inherited From:

onMouseRightClick

订阅鼠标右键点击
Inherited From:
覆盖物添加订阅
Inherited From:

onOverlayRemoved : Event

覆盖物移除订阅
Inherited From:

readonly overlayId : String

获取底层Id
Inherited From:
获取 或 设置是否显示
Inherited From:
获取状态
Inherited From:

Methods

static TS.DivIcon.fromEntity(entity, content)DivIcon

Parse from entity
Name Type Description
entity
content
Returns:
快速添加到图层中
Name Type Description
layer Layer
Returns:
Inherited From:
删除图层
Returns:
Inherited From:
飞行到覆盖物
Inherited From:

setLabel(text, textStyle)DivIcon

Sets text
Name Type Description
text
textStyle
Returns:
Sets style
Name Type Description
style
Returns:

toGeojson()string

保存为Geojson
Returns:
Inherited From:
缩放到覆盖物
Inherited From: