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
获取 或 设置 是否支持穿透选择
- Inherited From:
获取 或 设置属性
- Inherited From:
获取CesiumEntity对象
- Inherited From:
描述
- Inherited From:
获取 或 设置 是否可编辑
- Inherited From:
获取 name
- Inherited From:
获取父类
- Inherited From:
onMouseClick : Event
鼠标点击订阅
- Inherited From:
onMouseDBClick : Event
鼠标双击订阅
- Inherited From:
onMouseLeave : Event
鼠标离开订阅
- Inherited From:
onMouseOver : Event
鼠标悬浮订阅
- Inherited From:
订阅鼠标右键点击
- Inherited From:
onOverlayAdded : Event
覆盖物添加订阅
- Inherited From:
onOverlayRemoved : Event
覆盖物移除订阅
- Inherited From:
获取底层Id
- Inherited From:
获取 或 设置是否显示
- Inherited From:
state : State
获取状态
- Inherited From:
Methods
static TS.DivIcon.fromEntity(entity, content) → DivIcon
Parse from entity
Name | Type | Description |
---|---|---|
entity |
||
content |
Returns:
addTo(layer) → Overlay
快速添加到图层中
Name | Type | Description |
---|---|---|
layer |
Layer |
Returns:
- Inherited From:
delete() → Overlay
删除图层
Returns:
- Inherited From:
飞行到覆盖物
- Inherited From:
setLabel(text, textStyle) → DivIcon
Sets text
Name | Type | Description |
---|---|---|
text |
||
textStyle |
Returns:
setStyle(style) → DivIcon
Sets style
Name | Type | Description |
---|---|---|
style |
Returns:
保存为Geojson
Returns:
- Inherited From:
缩放到覆盖物
- Inherited From: