@mapgis/webclient-leaflet-plugin 17.2.8 → 17.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -2
- package/dist/es5/webclient-common.min.js +37 -5
- package/dist/es5/webclient-leaflet-plugin.min.js +1 -1
- package/dist/webclient-leaflet-plugin-es6.min.js +4 -4
- package/documention/ArcGISMapImageLayer.html +197 -122
- package/documention/ArcGISTileLayer.html +187 -62
- package/documention/EchartsLayer.html +189 -21
- package/documention/FeatureLayer.html +178 -8
- package/documention/FeatureLayerUtil.html +178 -34
- package/documention/IGSMapImageLayer.html +201 -146
- package/documention/IGSTileLayer.html +191 -86
- package/documention/L.zondy.MapvBaseLayer.html +189 -96
- package/documention/MapLayer.html +183 -38
- package/documention/MapVLayer.html +191 -33
- package/documention/MapView.html +6189 -0
- package/documention/MapViewLeaflet.html +366 -1410
- package/documention/Popup.html +200 -284
- package/documention/Screenshot.html +183 -134
- package/documention/SketchEditor.html +3211 -0
- package/documention/SketchEditorLeaflet.html +241 -477
- package/documention/TileLayer.html +182 -32
- package/documention/TileLayerWMS.html +180 -20
- package/documention/VectorTileLayer.html +188 -68
- package/documention/WMSLayerView.html +190 -121
- package/documention/WebMapServiceLayer.html +194 -104
- package/documention/WebMapTileServiceLayer.html +195 -110
- package/documention/WebTileLayer.html +192 -92
- package/documention/Zondy.ThemeLayer.GeoFeatureThemeLayer.html +290 -658
- package/documention/Zondy.ThemeLayer.GraphThemeLayer.html +324 -870
- package/documention/Zondy.ThemeLayer.RandomThemeLayer.html +305 -736
- package/documention/Zondy.ThemeLayer.ThemeLayer.html +247 -483
- package/documention/Zondy.ThemeLayer.ThemeStyle.html +234 -866
- package/documention/Zondy.ThemeLayer.rangeThemeLayer.html +304 -792
- package/documention/Zondy.ThemeLayer.rankSymbolThemeLayer.html +341 -941
- package/documention/Zondy.ThemeLayer.simpleThemeLayer.html +302 -720
- package/documention/Zondy.ThemeLayer.uniqueThemeLayer.html +299 -759
- package/documention/Zondy.Widget.html +185 -48
- package/documention/Zondy.view.UI.html +182 -31
- package/documention/global.html +11448 -131
- package/documention/index.html +15 -16
- package/documention/scripts/search.js +1 -26
- package/documention/styles/app.min.css +1 -1
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +152 -7
- package/documention/tutorial-2.1M3D/350/246/201/347/264/240/351/200/211/345/217/226.html +153 -8
- package/documention/tutorial-2.2M3D/351/222/273/345/255/224/345/211/226/345/210/207.html +153 -8
- package/package.json +7 -8
|
@@ -1,10 +1,142 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<title> widget</title>
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<body class="layout small-header">
|
|
22
|
+
<div id="stickyNavbarOverlay"></div>
|
|
5
23
|
|
|
6
|
-
</header>
|
|
7
24
|
|
|
25
|
+
<div class="top-nav">
|
|
26
|
+
<div class="inner">
|
|
27
|
+
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
28
|
+
<span aria-hidden="true"></span>
|
|
29
|
+
<span aria-hidden="true"></span>
|
|
30
|
+
<span aria-hidden="true"></span>
|
|
31
|
+
</a>
|
|
32
|
+
<div class="logo">
|
|
33
|
+
|
|
34
|
+
<h1> MapGIS Client for JavaScript API</h1>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</div>
|
|
38
|
+
<div class="menu">
|
|
39
|
+
|
|
40
|
+
<div class="navigation">
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<a
|
|
44
|
+
class="link user-link "
|
|
45
|
+
href="/static/modules/common/api/common-mapgis/index.html"
|
|
46
|
+
>
|
|
47
|
+
Common
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a
|
|
51
|
+
class="link user-link "
|
|
52
|
+
href="/static/modules/cesium/api/cesium-mapgis/index.html"
|
|
53
|
+
>
|
|
54
|
+
Cesium-Plugin
|
|
55
|
+
</a>
|
|
56
|
+
|
|
57
|
+
<a
|
|
58
|
+
class="link user-link "
|
|
59
|
+
href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
|
|
60
|
+
>
|
|
61
|
+
MapboxGL-Plugin
|
|
62
|
+
</a>
|
|
63
|
+
|
|
64
|
+
<a
|
|
65
|
+
class="link user-link "
|
|
66
|
+
href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
|
|
67
|
+
>
|
|
68
|
+
Leaflet-Plugin
|
|
69
|
+
</a>
|
|
70
|
+
|
|
71
|
+
<a
|
|
72
|
+
class="link user-link "
|
|
73
|
+
href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
|
|
74
|
+
>
|
|
75
|
+
OpenLayers-Plugin
|
|
76
|
+
</a>
|
|
77
|
+
|
|
78
|
+
<a
|
|
79
|
+
class="link user-link "
|
|
80
|
+
href="/static/modules/video/api/video-mapgis/index.html"
|
|
81
|
+
>
|
|
82
|
+
Video-Plugin
|
|
83
|
+
</a>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="main">
|
|
93
|
+
<div
|
|
94
|
+
class="sidebar "
|
|
95
|
+
id="sidebarNav"
|
|
96
|
+
>
|
|
97
|
+
<div>
|
|
98
|
+
<span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="search-wrapper">
|
|
102
|
+
<input id="search" type="text" placeholder="搜索文档..." class="input">
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<nav>
|
|
106
|
+
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图图片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>地图图片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片图层(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
109
|
+
参考示例:
|
|
110
|
+
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
111
|
+
<br>[ES5引入方式]:<br/>
|
|
112
|
+
zondy.leaflet.MapView() <br/>
|
|
113
|
+
[ES6引入方式]:<br/>
|
|
114
|
+
import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>二维场景信息弹窗(leaflet引擎)
|
|
115
|
+
参考示例:
|
|
116
|
+
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
117
|
+
[ES6引入方式]:<br/>
|
|
118
|
+
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
119
|
+
自定义样式说明:<br/>
|
|
120
|
+
zondy-popup__content 弹窗容器样式<br/>
|
|
121
|
+
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
122
|
+
zondy-popup__header 弹窗头部样式<br/>
|
|
123
|
+
zondy-popup__content 弹窗主体样式<br/>
|
|
124
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
125
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
|
|
126
|
+
<br>[ES5引入方式]:<br/>
|
|
127
|
+
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
|
|
128
|
+
[ES6引入方式]:<br/>
|
|
129
|
+
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">渲染器模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="zondy.themelayer.GraphThemeLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="zondy.themelayer.GraphThemeLayer.html">GraphThemeLayer</a><span style="display: none;"><p>统计专题图通过为每个要素绘制统计图表来反映其对应的专题值的大小。它可同时表示多个字段属性信息,在区域本身与各区域之间形成横向和纵向的对比。<br>统计专题图多用于具有相关数量特征的地图上,比如表示不同地区多年的粮食产量、GDP、人口等,不同时段客运量、地铁流量等。目前提供的统计图类型有:柱状图(Bar),折线图(Line),饼图(Pie),三维柱状图(Bar3D),点状图(Point),环状图(Ring)。</p></span></li></ul></div>
|
|
130
|
+
|
|
131
|
+
</nav>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="core" id="main-content-wrapper">
|
|
134
|
+
<div class="content">
|
|
135
|
+
<header id="page-title" class="page-title">
|
|
136
|
+
<span class="page-title-main">类名</span>
|
|
137
|
+
<span class="page-title-sub">widget</span>
|
|
138
|
+
</header>
|
|
139
|
+
|
|
8
140
|
|
|
9
141
|
|
|
10
142
|
|
|
@@ -25,7 +157,7 @@
|
|
|
25
157
|
<h4 class="name" id="widget">
|
|
26
158
|
<a class="href-link" href="#widget">#</a>
|
|
27
159
|
|
|
28
|
-
<span class="code-name"
|
|
160
|
+
<span class="code-name" style="font-size:30px">
|
|
29
161
|
|
|
30
162
|
new widget<span class="signature">(options)</span>
|
|
31
163
|
|
|
@@ -47,7 +179,7 @@
|
|
|
47
179
|
|
|
48
180
|
|
|
49
181
|
|
|
50
|
-
<h4
|
|
182
|
+
<h4>参数:</h4>
|
|
51
183
|
|
|
52
184
|
<div class="table-container">
|
|
53
185
|
<table class="params table">
|
|
@@ -77,12 +209,7 @@
|
|
|
77
209
|
<td class="type">
|
|
78
210
|
|
|
79
211
|
|
|
80
|
-
<span class="param-type">
|
|
81
|
-
|
|
82
|
-
Object
|
|
83
|
-
|
|
84
|
-
</span>
|
|
85
|
-
|
|
212
|
+
<span class="param-type">Object</span>
|
|
86
213
|
|
|
87
214
|
|
|
88
215
|
|
|
@@ -104,19 +231,10 @@
|
|
|
104
231
|
<td class="type">
|
|
105
232
|
|
|
106
233
|
|
|
107
|
-
<span class="param-type">
|
|
108
|
-
|
|
109
|
-
String
|
|
110
|
-
|
|
111
|
-
</span>
|
|
234
|
+
<span class="param-type">String</span>
|
|
112
235
|
|
|
|
113
236
|
|
|
114
|
-
<span class="param-type">
|
|
115
|
-
|
|
116
|
-
HTMLElement
|
|
117
|
-
|
|
118
|
-
</span>
|
|
119
|
-
|
|
237
|
+
<span class="param-type">HTMLElement</span>
|
|
120
238
|
|
|
121
239
|
|
|
122
240
|
|
|
@@ -138,12 +256,7 @@
|
|
|
138
256
|
<td class="type">
|
|
139
257
|
|
|
140
258
|
|
|
141
|
-
<span class="param-type">
|
|
142
|
-
|
|
143
|
-
String
|
|
144
|
-
|
|
145
|
-
</span>
|
|
146
|
-
|
|
259
|
+
<span class="param-type">String</span>
|
|
147
260
|
|
|
148
261
|
|
|
149
262
|
|
|
@@ -165,12 +278,7 @@
|
|
|
165
278
|
<td class="type">
|
|
166
279
|
|
|
167
280
|
|
|
168
|
-
<span class="param-type">
|
|
169
|
-
|
|
170
|
-
Boolean
|
|
171
|
-
|
|
172
|
-
</span>
|
|
173
|
-
|
|
281
|
+
<span class="param-type">Boolean</span>
|
|
174
282
|
|
|
175
283
|
|
|
176
284
|
|
|
@@ -192,19 +300,10 @@
|
|
|
192
300
|
<td class="type">
|
|
193
301
|
|
|
194
302
|
|
|
195
|
-
<span class="param-type">
|
|
196
|
-
|
|
197
|
-
MapView
|
|
198
|
-
|
|
199
|
-
</span>
|
|
303
|
+
<span class="param-type"><a href="MapView.html">MapView</a></span>
|
|
200
304
|
|
|
|
201
305
|
|
|
202
|
-
<span class="param-type">
|
|
203
|
-
|
|
204
|
-
SceneView
|
|
205
|
-
|
|
206
|
-
</span>
|
|
207
|
-
|
|
306
|
+
<span class="param-type">SceneView</span>
|
|
208
307
|
|
|
209
308
|
|
|
210
309
|
|
|
@@ -326,4 +425,42 @@
|
|
|
326
425
|
|
|
327
426
|
</article>
|
|
328
427
|
|
|
329
|
-
</section>
|
|
428
|
+
</section>
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
</div>
|
|
434
|
+
|
|
435
|
+
<footer class="footer">
|
|
436
|
+
<div class="content has-text-centered">
|
|
437
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
438
|
+
<p class="sidebar-created-by">
|
|
439
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
440
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
441
|
+
</p>
|
|
442
|
+
</div>
|
|
443
|
+
</footer>
|
|
444
|
+
|
|
445
|
+
</div>
|
|
446
|
+
<div id="side-nav" class="side-nav">
|
|
447
|
+
<div style="margin-bottom: 10px;">
|
|
448
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
449
|
+
</div>
|
|
450
|
+
<div style="margin-bottom: 10px;">
|
|
451
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
452
|
+
</div>
|
|
453
|
+
<div style="margin-bottom: 10px;">
|
|
454
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
455
|
+
</div>
|
|
456
|
+
<div>
|
|
457
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
458
|
+
</div>
|
|
459
|
+
</div>
|
|
460
|
+
</div>
|
|
461
|
+
<script src="scripts/linenumber.js"> </script>
|
|
462
|
+
|
|
463
|
+
<script src="scripts/search.js"> </script>
|
|
464
|
+
|
|
465
|
+
</body>
|
|
466
|
+
</html>
|
|
@@ -1,10 +1,142 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<title> UI</title>
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<body class="layout small-header">
|
|
22
|
+
<div id="stickyNavbarOverlay"></div>
|
|
5
23
|
|
|
6
|
-
</header>
|
|
7
24
|
|
|
25
|
+
<div class="top-nav">
|
|
26
|
+
<div class="inner">
|
|
27
|
+
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
28
|
+
<span aria-hidden="true"></span>
|
|
29
|
+
<span aria-hidden="true"></span>
|
|
30
|
+
<span aria-hidden="true"></span>
|
|
31
|
+
</a>
|
|
32
|
+
<div class="logo">
|
|
33
|
+
|
|
34
|
+
<h1> MapGIS Client for JavaScript API</h1>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</div>
|
|
38
|
+
<div class="menu">
|
|
39
|
+
|
|
40
|
+
<div class="navigation">
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<a
|
|
44
|
+
class="link user-link "
|
|
45
|
+
href="/static/modules/common/api/common-mapgis/index.html"
|
|
46
|
+
>
|
|
47
|
+
Common
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a
|
|
51
|
+
class="link user-link "
|
|
52
|
+
href="/static/modules/cesium/api/cesium-mapgis/index.html"
|
|
53
|
+
>
|
|
54
|
+
Cesium-Plugin
|
|
55
|
+
</a>
|
|
56
|
+
|
|
57
|
+
<a
|
|
58
|
+
class="link user-link "
|
|
59
|
+
href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
|
|
60
|
+
>
|
|
61
|
+
MapboxGL-Plugin
|
|
62
|
+
</a>
|
|
63
|
+
|
|
64
|
+
<a
|
|
65
|
+
class="link user-link "
|
|
66
|
+
href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
|
|
67
|
+
>
|
|
68
|
+
Leaflet-Plugin
|
|
69
|
+
</a>
|
|
70
|
+
|
|
71
|
+
<a
|
|
72
|
+
class="link user-link "
|
|
73
|
+
href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
|
|
74
|
+
>
|
|
75
|
+
OpenLayers-Plugin
|
|
76
|
+
</a>
|
|
77
|
+
|
|
78
|
+
<a
|
|
79
|
+
class="link user-link "
|
|
80
|
+
href="/static/modules/video/api/video-mapgis/index.html"
|
|
81
|
+
>
|
|
82
|
+
Video-Plugin
|
|
83
|
+
</a>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="main">
|
|
93
|
+
<div
|
|
94
|
+
class="sidebar "
|
|
95
|
+
id="sidebarNav"
|
|
96
|
+
>
|
|
97
|
+
<div>
|
|
98
|
+
<span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="search-wrapper">
|
|
102
|
+
<input id="search" type="text" placeholder="搜索文档..." class="input">
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<nav>
|
|
106
|
+
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图图片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>地图图片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片图层(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
109
|
+
参考示例:
|
|
110
|
+
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
111
|
+
<br>[ES5引入方式]:<br/>
|
|
112
|
+
zondy.leaflet.MapView() <br/>
|
|
113
|
+
[ES6引入方式]:<br/>
|
|
114
|
+
import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>二维场景信息弹窗(leaflet引擎)
|
|
115
|
+
参考示例:
|
|
116
|
+
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
117
|
+
[ES6引入方式]:<br/>
|
|
118
|
+
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
119
|
+
自定义样式说明:<br/>
|
|
120
|
+
zondy-popup__content 弹窗容器样式<br/>
|
|
121
|
+
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
122
|
+
zondy-popup__header 弹窗头部样式<br/>
|
|
123
|
+
zondy-popup__content 弹窗主体样式<br/>
|
|
124
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
125
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
|
|
126
|
+
<br>[ES5引入方式]:<br/>
|
|
127
|
+
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
|
|
128
|
+
[ES6引入方式]:<br/>
|
|
129
|
+
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">渲染器模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="zondy.themelayer.GraphThemeLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="zondy.themelayer.GraphThemeLayer.html">GraphThemeLayer</a><span style="display: none;"><p>统计专题图通过为每个要素绘制统计图表来反映其对应的专题值的大小。它可同时表示多个字段属性信息,在区域本身与各区域之间形成横向和纵向的对比。<br>统计专题图多用于具有相关数量特征的地图上,比如表示不同地区多年的粮食产量、GDP、人口等,不同时段客运量、地铁流量等。目前提供的统计图类型有:柱状图(Bar),折线图(Line),饼图(Pie),三维柱状图(Bar3D),点状图(Point),环状图(Ring)。</p></span></li></ul></div>
|
|
130
|
+
|
|
131
|
+
</nav>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="core" id="main-content-wrapper">
|
|
134
|
+
<div class="content">
|
|
135
|
+
<header id="page-title" class="page-title">
|
|
136
|
+
<span class="page-title-main">类名</span>
|
|
137
|
+
<span class="page-title-sub">UI</span>
|
|
138
|
+
</header>
|
|
139
|
+
|
|
8
140
|
|
|
9
141
|
|
|
10
142
|
|
|
@@ -25,7 +157,7 @@
|
|
|
25
157
|
<h4 class="name" id="UI">
|
|
26
158
|
<a class="href-link" href="#UI">#</a>
|
|
27
159
|
|
|
28
|
-
<span class="code-name"
|
|
160
|
+
<span class="code-name" style="font-size:30px">
|
|
29
161
|
|
|
30
162
|
new UI<span class="signature">(options)</span>
|
|
31
163
|
|
|
@@ -43,7 +175,7 @@
|
|
|
43
175
|
|
|
44
176
|
|
|
45
177
|
|
|
46
|
-
<h4
|
|
178
|
+
<h4>参数:</h4>
|
|
47
179
|
|
|
48
180
|
<div class="table-container">
|
|
49
181
|
<table class="params table">
|
|
@@ -73,12 +205,7 @@
|
|
|
73
205
|
<td class="type">
|
|
74
206
|
|
|
75
207
|
|
|
76
|
-
<span class="param-type">
|
|
77
|
-
|
|
78
|
-
Object
|
|
79
|
-
|
|
80
|
-
</span>
|
|
81
|
-
|
|
208
|
+
<span class="param-type">Object</span>
|
|
82
209
|
|
|
83
210
|
|
|
84
211
|
|
|
@@ -100,12 +227,7 @@
|
|
|
100
227
|
<td class="type">
|
|
101
228
|
|
|
102
229
|
|
|
103
|
-
<span class="param-type">
|
|
104
|
-
|
|
105
|
-
String
|
|
106
|
-
|
|
107
|
-
</span>
|
|
108
|
-
|
|
230
|
+
<span class="param-type">String</span>
|
|
109
231
|
|
|
110
232
|
|
|
111
233
|
|
|
@@ -127,19 +249,10 @@
|
|
|
127
249
|
<td class="type">
|
|
128
250
|
|
|
129
251
|
|
|
130
|
-
<span class="param-type">
|
|
131
|
-
|
|
132
|
-
MapView
|
|
133
|
-
|
|
134
|
-
</span>
|
|
252
|
+
<span class="param-type"><a href="MapView.html">MapView</a></span>
|
|
135
253
|
|
|
|
136
254
|
|
|
137
|
-
<span class="param-type">
|
|
138
|
-
|
|
139
|
-
SceneView
|
|
140
|
-
|
|
141
|
-
</span>
|
|
142
|
-
|
|
255
|
+
<span class="param-type">SceneView</span>
|
|
143
256
|
|
|
144
257
|
|
|
145
258
|
|
|
@@ -261,4 +374,42 @@
|
|
|
261
374
|
|
|
262
375
|
</article>
|
|
263
376
|
|
|
264
|
-
</section>
|
|
377
|
+
</section>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
</div>
|
|
383
|
+
|
|
384
|
+
<footer class="footer">
|
|
385
|
+
<div class="content has-text-centered">
|
|
386
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
387
|
+
<p class="sidebar-created-by">
|
|
388
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
389
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
390
|
+
</p>
|
|
391
|
+
</div>
|
|
392
|
+
</footer>
|
|
393
|
+
|
|
394
|
+
</div>
|
|
395
|
+
<div id="side-nav" class="side-nav">
|
|
396
|
+
<div style="margin-bottom: 10px;">
|
|
397
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
398
|
+
</div>
|
|
399
|
+
<div style="margin-bottom: 10px;">
|
|
400
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
401
|
+
</div>
|
|
402
|
+
<div style="margin-bottom: 10px;">
|
|
403
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
404
|
+
</div>
|
|
405
|
+
<div>
|
|
406
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
407
|
+
</div>
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
<script src="scripts/linenumber.js"> </script>
|
|
411
|
+
|
|
412
|
+
<script src="scripts/search.js"> </script>
|
|
413
|
+
|
|
414
|
+
</body>
|
|
415
|
+
</html>
|