Members
string
# constant BaseEventType
基础事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD |
string
|
添加 |
REMOVE |
string
|
移除 |
string
# constant BaseMouseEventType
基础事件类型
Properties:
| Name | Type | Description |
|---|---|---|
LEFT_DOWN |
string
|
左键按下 |
LEFT_UP |
string
|
左键抬起 |
CLICK |
string
|
点击事件 |
RIGHT_DOWN |
string
|
右键按下 |
RIGHT_UP |
string
|
右键抬起 |
RIGHT_CLICK |
string
|
右键点击 |
DB_CLICK |
string
|
双击 |
string
# constant GraphicEventType
Graphic事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD |
string
|
BaseEventType |
REMOVE |
string
|
BaseEventType |
MOUSE_MOVE |
string
|
鼠标移动 |
MOUSE_OVER |
string
|
鼠标移入 |
MOUSE_OUT |
string
|
鼠标移出 |
POSITION_UPDATE |
string
|
坐标更新 |
- See:
-
- BaseMouseEventType 扩展自基类
string
# constant ImageryType
地图类型
Properties:
| Name | Type | Description |
|---|---|---|
AMAP |
string
|
高徳地图 |
ARCGIS |
string
|
arcgis |
BING |
string
|
必应 |
OSM |
string
|
osm |
TENCENT |
string
|
腾讯地图 |
BAIDU |
string
|
百度地图 |
GOOGLE |
string
|
谷歌 |
TDT |
string
|
天地图 |
GEO_VIS |
string
|
星图 |
SINGLE_TILE |
string
|
单张图 |
WMS |
string
|
wms |
WMTS |
string
|
wmts |
XYZ |
string
|
xyz |
COORD |
string
|
栅格切片 |
GRID |
string
|
栅格 |
MAPBOX |
string
|
mapbox |
MAPBOX_STYLE |
string
|
mapbox style |
TMS |
string
|
tms |
string
# constant LayerEventType
图层事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD |
string
|
继承自BaseEventType |
REMOVE |
string
|
继承自BaseEventType |
string
# constant LayerGroupEventType
图层组事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD |
string
|
BaseMouseEventType |
REMOVE |
string
|
BaseMouseEventType |
string
# constant MeasureType
测量类型枚举
Properties:
| Name | Type | Description |
|---|---|---|
ANGLE |
string
|
角度测量 |
AREA |
string
|
面积测量 |
AREA_HEIGHT |
string
|
带地形的面积测量 |
AREA_SURFACE |
string
|
平面测量-紧贴地面 |
DISTANCE |
string
|
距离测量 |
DISTANCE_SURFACE |
string
|
距离测量-贴地面 |
HEADING |
string
|
偏航角 |
HEIGHT |
string
|
高度 |
TRIANGLE_HEIGHT |
string
|
三角高度 |
string
# constant MouseEventType
鼠标事件类型
Properties:
| Name | Type | Description |
|---|---|---|
MOUSE_MOVE |
string
|
cesium原生鼠标移动 |
WHEEL |
string
|
cesium原生滚轮滚动 |
MOUSE_OVER |
string
|
鼠标移入 |
MOUSE_OUT |
string
|
鼠标移出 |
- See:
-
- BaseMouseEventType 扩展自基类
string
# constant PathEventType
path图层事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD |
string
|
继承自BaseEventType |
REMOVE |
string
|
继承自BaseEventType |
POST_RENDER |
string
|
后渲染 |
RESET_TIME_LINE |
string
|
结束 |
string
# constant PlotEventType
军标事件类型
Properties:
| Name | Type | Description |
|---|---|---|
DRAW_START |
string
|
绘制开始 |
DRAW_STOP |
string
|
绘制结束 |
EDIT_START |
string
|
开始编辑 |
EDIT_STOP |
string
|
编辑结束 |
DRAW_ANCHOR |
string
|
绘制锚点 |
CREATE_ANCHOR |
string
|
创建锚点 |
UPDATE_ANCHOR |
string
|
更新锚点 |
ANCHOR_MOVING |
string
|
锚点移动 |
EDIT_ANCHOR_STOP |
string
|
编辑锚点停止 |
CLEAR_ANCHOR |
string
|
清除锚点 |
string
# constant SceneEventType
Scene事件类型
Properties:
| Name | Type | Description |
|---|---|---|
CAMERA_MOVE_END |
string
|
相机移动结束 |
CAMERA_CHANGED |
string
|
相机改变 |
PRE_UPDATE |
string
|
视图改变之前 |
POST_UPDATE |
string
|
视图后更新 |
PRE_RENDER |
string
|
渲染之前 |
POST_RENDER |
string
|
正在渲染 |
MORPH_COMPLETE |
string
|
改变完成 |
CLOCK_TICK |
string
|
时钟 |
RENDER_ERROR |
string
|
渲染错误 |
string
# readonly TerrainType
高程类型枚举
Properties:
| Name | Type | Description |
|---|---|---|
NONE |
string
|
无地形 |
XYZ |
string
|
xyz |
ARCGIS |
string
|
arcgis |
GOOGLE |
string
|
|
VR |
string
|
vr |
string
# constant TileSetEventType
TileSet事件类型
Properties:
| Name | Type | Description |
|---|---|---|
INITIAL_TILES_LOADED |
string
|
initialTiles已加载 |
ALL_TILES_LOADED |
string
|
allTiles已加载 |
LOAD_PROGRESS |
string
|
正在加载 |
TILE_FAILED |
string
|
tile失败 |
TILE_LOAD |
string
|
tileLoad |
TILE_UNLOAD |
string
|
tile卸载 |
TILE_VISIBLE |
string
|
tile可见 |
string
# constant TrackEventType
Track事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD |
string
|
BaseMouseEventType |
REMOVE |
string
|
BaseMouseEventType |
POST_RENDER |
string
|
后渲染 |
ACTIVATE |
string
|
激活 |
DEACTIVATE |
string
|
退出 |
RESET_TIME_LINE |
string
|
结束 |
string
# constant ViewerEventType
Viewer事件类型
Properties:
| Name | Type | Description |
|---|---|---|
ADD_LAYER |
string
|
添加图层 |
REMOVE_LAYER |
string
|
移出图层 |
ADD_EFFECT |
string
|
添加效果 |
REMOVE_EFFECT |
string
|
移出效果 |
MOUSE_MOVE |
string
|
原生鼠标移动 |
WHEEL |
string
|
原生滚轮事件 |
- See:
-
- BaseMouseEventType 扩展自基类
Type Definitions
Object
# position
84转笛卡尔
Properties:
| Name | Type | Description |
|---|---|---|
lng |
number
|
经度 |
lat |
number
|
纬度 |
alt |
number
|
高度 |
Object
# position
84转制图坐标
Properties:
| Name | Type | Description |
|---|---|---|
lng |
number
|
经度 |
lat |
number
|
纬度 |
alt |
number
|
高度 |
Object
# position
WGS84转墨卡托
Properties:
| Name | Type | Description |
|---|---|---|
lng |
number
|
经度 |
lat |
number
|
纬度 |
alt |
number
|
高度Cartesian3 |
Object
# position
墨卡托转WGS84
Properties:
| Name | Type | Description |
|---|---|---|
lng |
number
|
经度 |
lat |
number
|
纬度 |
alt |
number
|
高度 |