@mapgis/webclient-leaflet-plugin 17.2.8 → 17.4.0
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 +13 -0
- package/dist/es5/webclient-common.min.js +5 -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 +195 -122
- package/documention/ArcGISTileLayer.html +185 -62
- package/documention/EchartsLayer.html +178 -20
- package/documention/FeatureLayer.html +176 -8
- package/documention/FeatureLayerUtil.html +176 -34
- package/documention/IGSMapImageLayer.html +199 -146
- package/documention/IGSTileLayer.html +189 -86
- package/documention/L.zondy.MapvBaseLayer.html +187 -96
- package/documention/MapLayer.html +181 -38
- package/documention/MapVLayer.html +180 -32
- package/documention/MapView.html +2447 -0
- package/documention/MapViewLeaflet.html +366 -1410
- package/documention/Popup.html +198 -284
- package/documention/Screenshot.html +181 -134
- package/documention/SketchEditorLeaflet.html +241 -477
- package/documention/TileLayer.html +180 -32
- package/documention/TileLayerWMS.html +178 -20
- package/documention/VectorTileLayer.html +186 -68
- package/documention/WMSLayerView.html +188 -121
- package/documention/WebMapServiceLayer.html +192 -104
- package/documention/WebMapTileServiceLayer.html +193 -110
- package/documention/WebTileLayer.html +190 -92
- package/documention/Zondy.ThemeLayer.GeoFeatureThemeLayer.html +288 -658
- package/documention/Zondy.ThemeLayer.GraphThemeLayer.html +322 -870
- package/documention/Zondy.ThemeLayer.RandomThemeLayer.html +303 -736
- package/documention/Zondy.ThemeLayer.ThemeLayer.html +245 -483
- package/documention/Zondy.ThemeLayer.ThemeStyle.html +232 -866
- package/documention/Zondy.ThemeLayer.rangeThemeLayer.html +302 -792
- package/documention/Zondy.ThemeLayer.rankSymbolThemeLayer.html +339 -941
- package/documention/Zondy.ThemeLayer.simpleThemeLayer.html +300 -720
- package/documention/Zondy.ThemeLayer.uniqueThemeLayer.html +297 -759
- package/documention/Zondy.Widget.html +183 -48
- package/documention/Zondy.view.UI.html +180 -31
- package/documention/global.html +11446 -131
- package/documention/index.html +13 -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,140 @@
|
|
|
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> ThemeLayer</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
|
+
参考示例:
|
|
109
|
+
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
110
|
+
<br>[ES5引入方式]:<br/>
|
|
111
|
+
zondy.leaflet.MapView() <br/>
|
|
112
|
+
[ES6引入方式]:<br/>
|
|
113
|
+
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引擎)
|
|
114
|
+
参考示例:
|
|
115
|
+
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
116
|
+
[ES6引入方式]:<br/>
|
|
117
|
+
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
118
|
+
自定义样式说明:<br/>
|
|
119
|
+
zondy-popup__content 弹窗容器样式<br/>
|
|
120
|
+
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
|
+
zondy-popup__header 弹窗头部样式<br/>
|
|
122
|
+
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
+
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="SketchEditorLeaflet"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorLeaflet.html">SketchEditorLeaflet</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
124
|
+
<br>[ES5引入方式]:<br/>
|
|
125
|
+
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
|
|
126
|
+
[ES6引入方式]:<br/>
|
|
127
|
+
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>
|
|
128
|
+
|
|
129
|
+
</nav>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="core" id="main-content-wrapper">
|
|
132
|
+
<div class="content">
|
|
133
|
+
<header id="page-title" class="page-title">
|
|
134
|
+
<span class="page-title-main">类名</span>
|
|
135
|
+
<span class="page-title-sub">ThemeLayer</span>
|
|
136
|
+
</header>
|
|
137
|
+
|
|
8
138
|
|
|
9
139
|
|
|
10
140
|
|
|
@@ -25,7 +155,7 @@
|
|
|
25
155
|
<h4 class="name" id="ThemeLayer">
|
|
26
156
|
<a class="href-link" href="#ThemeLayer">#</a>
|
|
27
157
|
|
|
28
|
-
<span class="code-name"
|
|
158
|
+
<span class="code-name" style="font-size:30px">
|
|
29
159
|
|
|
30
160
|
new ThemeLayer<span class="signature">(name, options)</span>
|
|
31
161
|
|
|
@@ -43,7 +173,7 @@
|
|
|
43
173
|
|
|
44
174
|
|
|
45
175
|
|
|
46
|
-
<h4
|
|
176
|
+
<h4>参数:</h4>
|
|
47
177
|
|
|
48
178
|
<div class="table-container">
|
|
49
179
|
<table class="params table">
|
|
@@ -75,12 +205,7 @@
|
|
|
75
205
|
<td class="type">
|
|
76
206
|
|
|
77
207
|
|
|
78
|
-
<span class="param-type">
|
|
79
|
-
|
|
80
|
-
string
|
|
81
|
-
|
|
82
|
-
</span>
|
|
83
|
-
|
|
208
|
+
<span class="param-type">string</span>
|
|
84
209
|
|
|
85
210
|
|
|
86
211
|
|
|
@@ -108,12 +233,7 @@
|
|
|
108
233
|
<td class="type">
|
|
109
234
|
|
|
110
235
|
|
|
111
|
-
<span class="param-type">
|
|
112
|
-
|
|
113
|
-
Object
|
|
114
|
-
|
|
115
|
-
</span>
|
|
116
|
-
|
|
236
|
+
<span class="param-type">Object</span>
|
|
117
237
|
|
|
118
238
|
|
|
119
239
|
|
|
@@ -139,12 +259,7 @@
|
|
|
139
259
|
<td class="type">
|
|
140
260
|
|
|
141
261
|
|
|
142
|
-
<span class="param-type">
|
|
143
|
-
|
|
144
|
-
string
|
|
145
|
-
|
|
146
|
-
</span>
|
|
147
|
-
|
|
262
|
+
<span class="param-type">string</span>
|
|
148
263
|
|
|
149
264
|
|
|
150
265
|
|
|
@@ -170,12 +285,7 @@
|
|
|
170
285
|
<td class="type">
|
|
171
286
|
|
|
172
287
|
|
|
173
|
-
<span class="param-type">
|
|
174
|
-
|
|
175
|
-
number
|
|
176
|
-
|
|
177
|
-
</span>
|
|
178
|
-
|
|
288
|
+
<span class="param-type">number</span>
|
|
179
289
|
|
|
180
290
|
|
|
181
291
|
|
|
@@ -246,10 +356,10 @@
|
|
|
246
356
|
|
|
247
357
|
|
|
248
358
|
<div class="method-parameter columns">
|
|
249
|
-
<div class="column is-2"><label
|
|
359
|
+
<div class="column is-2"><label>绑定事件:</label></div>
|
|
250
360
|
<div class="column is-10">
|
|
251
361
|
<ul>
|
|
252
|
-
<li><a href="#featuresremoved">featuresremoved</a></li>
|
|
362
|
+
<li><a href="zondy.themelayer.ThemeLayer.html#event:featuresremoved">zondy.themelayer.ThemeLayer#event:featuresremoved</a></li>
|
|
253
363
|
</ul>
|
|
254
364
|
</div>
|
|
255
365
|
</div>
|
|
@@ -308,233 +418,7 @@
|
|
|
308
418
|
|
|
309
419
|
<div class='vertical-section'>
|
|
310
420
|
<h3 id='function'>方法</h3>
|
|
311
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
312
421
|
<div class="members">
|
|
313
|
-
<div class="table-container">
|
|
314
|
-
<table class="params table">
|
|
315
|
-
<thead>
|
|
316
|
-
<tr>
|
|
317
|
-
<th>名称</th>
|
|
318
|
-
<th>返回值类型</th>
|
|
319
|
-
<th>描述</th>
|
|
320
|
-
</tr>
|
|
321
|
-
</thead>
|
|
322
|
-
<tbody>
|
|
323
|
-
|
|
324
|
-
<tr class="deep-level-0">
|
|
325
|
-
<td class="name"><code><a href="#addFeatures">addFeatures</a></code></td>
|
|
326
|
-
<td class="name">
|
|
327
|
-
<code>
|
|
328
|
-
|
|
329
|
-
</code>
|
|
330
|
-
</td>
|
|
331
|
-
<td class="name"><code><p>向专题图图层中添加数据。</p></code></td>
|
|
332
|
-
</tr>
|
|
333
|
-
|
|
334
|
-
<tr class="deep-level-0">
|
|
335
|
-
<td class="name"><code><a href="#destroyFeatures">destroyFeatures</a></code></td>
|
|
336
|
-
<td class="name">
|
|
337
|
-
<code>
|
|
338
|
-
|
|
339
|
-
</code>
|
|
340
|
-
</td>
|
|
341
|
-
<td class="name"><code><p>销毁要素。</p></code></td>
|
|
342
|
-
</tr>
|
|
343
|
-
|
|
344
|
-
<tr class="deep-level-0">
|
|
345
|
-
<td class="name"><code><a href="#getEvents">getEvents</a></code></td>
|
|
346
|
-
<td class="name">
|
|
347
|
-
<code>
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
<span class="param-type">
|
|
351
|
-
|
|
352
|
-
Object
|
|
353
|
-
|
|
354
|
-
</span>
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
</code>
|
|
360
|
-
</td>
|
|
361
|
-
<td class="name"><code><p>获取图层事件。</p></code></td>
|
|
362
|
-
</tr>
|
|
363
|
-
|
|
364
|
-
<tr class="deep-level-0">
|
|
365
|
-
<td class="name"><code><a href="#getFeatureBy">getFeatureBy</a></code></td>
|
|
366
|
-
<td class="name">
|
|
367
|
-
<code>
|
|
368
|
-
|
|
369
|
-
</code>
|
|
370
|
-
</td>
|
|
371
|
-
<td class="name"><code><p>在专题图的要素数组 features 里面遍历每一个 feature,当 feature[property] === value 时,返回此 feature(并且只返回第一个)。</p></code></td>
|
|
372
|
-
</tr>
|
|
373
|
-
|
|
374
|
-
<tr class="deep-level-0">
|
|
375
|
-
<td class="name"><code><a href="#getFeatureById">getFeatureById</a></code></td>
|
|
376
|
-
<td class="name">
|
|
377
|
-
<code>
|
|
378
|
-
|
|
379
|
-
</code>
|
|
380
|
-
</td>
|
|
381
|
-
<td class="name"><code><p>通过给定一个 ID,返回对应的矢量要素,如果不存在则返回 null。</p></code></td>
|
|
382
|
-
</tr>
|
|
383
|
-
|
|
384
|
-
<tr class="deep-level-0">
|
|
385
|
-
<td class="name"><code><a href="#getFeatures">getFeatures</a></code></td>
|
|
386
|
-
<td class="name">
|
|
387
|
-
<code>
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
<span class="param-type">
|
|
391
|
-
|
|
392
|
-
Array
|
|
393
|
-
|
|
394
|
-
</span>
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
</code>
|
|
400
|
-
</td>
|
|
401
|
-
<td class="name"><code><p>查看当前图层中的有效数据。</p></code></td>
|
|
402
|
-
</tr>
|
|
403
|
-
|
|
404
|
-
<tr class="deep-level-0">
|
|
405
|
-
<td class="name"><code><a href="#getFeaturesByAttribute">getFeaturesByAttribute</a></code></td>
|
|
406
|
-
<td class="name">
|
|
407
|
-
<code>
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
<span class="param-type">
|
|
411
|
-
|
|
412
|
-
Array
|
|
413
|
-
|
|
414
|
-
</span>
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
</code>
|
|
420
|
-
</td>
|
|
421
|
-
<td class="name"><code><p>通过给定一个属性的 key 值和 value 值,返回所有匹配的要素数组。</p></code></td>
|
|
422
|
-
</tr>
|
|
423
|
-
|
|
424
|
-
<tr class="deep-level-0">
|
|
425
|
-
<td class="name"><code><a href="#getLocalXY">getLocalXY</a></code></td>
|
|
426
|
-
<td class="name">
|
|
427
|
-
<code>
|
|
428
|
-
|
|
429
|
-
</code>
|
|
430
|
-
</td>
|
|
431
|
-
<td class="name"><code><p>地理坐标转为像素坐标。</p></code></td>
|
|
432
|
-
</tr>
|
|
433
|
-
|
|
434
|
-
<tr class="deep-level-0">
|
|
435
|
-
<td class="name"><code><a href="#off">off</a></code></td>
|
|
436
|
-
<td class="name">
|
|
437
|
-
<code>
|
|
438
|
-
|
|
439
|
-
</code>
|
|
440
|
-
</td>
|
|
441
|
-
<td class="name"><code><p>移除专题要素事件监听。</p></code></td>
|
|
442
|
-
</tr>
|
|
443
|
-
|
|
444
|
-
<tr class="deep-level-0">
|
|
445
|
-
<td class="name"><code><a href="#on">on</a></code></td>
|
|
446
|
-
<td class="name">
|
|
447
|
-
<code>
|
|
448
|
-
|
|
449
|
-
</code>
|
|
450
|
-
</td>
|
|
451
|
-
<td class="name"><code><p>添加专题要素事件监听。添加专题要素事件监听。</p></code></td>
|
|
452
|
-
</tr>
|
|
453
|
-
|
|
454
|
-
<tr class="deep-level-0">
|
|
455
|
-
<td class="name"><code><a href="#onRemove">onRemove</a></code></td>
|
|
456
|
-
<td class="name">
|
|
457
|
-
<code>
|
|
458
|
-
|
|
459
|
-
</code>
|
|
460
|
-
</td>
|
|
461
|
-
<td class="name"><code><p>删除某个地图。</p></code></td>
|
|
462
|
-
</tr>
|
|
463
|
-
|
|
464
|
-
<tr class="deep-level-0">
|
|
465
|
-
<td class="name"><code><a href="#redraw">redraw</a></code></td>
|
|
466
|
-
<td class="name">
|
|
467
|
-
<code>
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
<span class="param-type">
|
|
471
|
-
|
|
472
|
-
boolean
|
|
473
|
-
|
|
474
|
-
</span>
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
</code>
|
|
480
|
-
</td>
|
|
481
|
-
<td class="name"><code><p>重绘该图层。</p></code></td>
|
|
482
|
-
</tr>
|
|
483
|
-
|
|
484
|
-
<tr class="deep-level-0">
|
|
485
|
-
<td class="name"><code><a href="#redrawThematicFeatures">redrawThematicFeatures</a></code></td>
|
|
486
|
-
<td class="name">
|
|
487
|
-
<code>
|
|
488
|
-
|
|
489
|
-
</code>
|
|
490
|
-
</td>
|
|
491
|
-
<td class="name"><code><p>抽象方法,可实例化子类必须实现此方法。</p></code></td>
|
|
492
|
-
</tr>
|
|
493
|
-
|
|
494
|
-
<tr class="deep-level-0">
|
|
495
|
-
<td class="name"><code><a href="#removeAllFeatures">removeAllFeatures</a></code></td>
|
|
496
|
-
<td class="name">
|
|
497
|
-
<code>
|
|
498
|
-
|
|
499
|
-
</code>
|
|
500
|
-
</td>
|
|
501
|
-
<td class="name"><code><p>清除当前图层所有的矢量要素。</p></code></td>
|
|
502
|
-
</tr>
|
|
503
|
-
|
|
504
|
-
<tr class="deep-level-0">
|
|
505
|
-
<td class="name"><code><a href="#removeFeatures">removeFeatures</a></code></td>
|
|
506
|
-
<td class="name">
|
|
507
|
-
<code>
|
|
508
|
-
|
|
509
|
-
</code>
|
|
510
|
-
</td>
|
|
511
|
-
<td class="name"><code><p>从专题图中删除 feature。这个函数删除所有传递进来的矢量要素。</p></code></td>
|
|
512
|
-
</tr>
|
|
513
|
-
|
|
514
|
-
<tr class="deep-level-0">
|
|
515
|
-
<td class="name"><code><a href="#setOpacity">setOpacity</a></code></td>
|
|
516
|
-
<td class="name">
|
|
517
|
-
<code>
|
|
518
|
-
|
|
519
|
-
</code>
|
|
520
|
-
</td>
|
|
521
|
-
<td class="name"><code><p>设置图层的不透明度,取值 [0-1] 之间。</p></code></td>
|
|
522
|
-
</tr>
|
|
523
|
-
|
|
524
|
-
<tr class="deep-level-0">
|
|
525
|
-
<td class="name"><code><a href="#update">update</a></code></td>
|
|
526
|
-
<td class="name">
|
|
527
|
-
<code>
|
|
528
|
-
|
|
529
|
-
</code>
|
|
530
|
-
</td>
|
|
531
|
-
<td class="name"><code><p>更新图层。</p></code></td>
|
|
532
|
-
</tr>
|
|
533
|
-
|
|
534
|
-
</tbody>
|
|
535
|
-
</table>
|
|
536
|
-
</div>
|
|
537
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
538
422
|
|
|
539
423
|
<div class="member">
|
|
540
424
|
|
|
@@ -543,7 +427,7 @@
|
|
|
543
427
|
<h4 class="name" id="addFeatures">
|
|
544
428
|
<a class="href-link" href="#addFeatures">#</a>
|
|
545
429
|
|
|
546
|
-
<span class="code-name"
|
|
430
|
+
<span class="code-name" style="font-size:30px">
|
|
547
431
|
|
|
548
432
|
addFeatures<span class="signature">(features)</span>
|
|
549
433
|
|
|
@@ -565,7 +449,7 @@
|
|
|
565
449
|
|
|
566
450
|
|
|
567
451
|
|
|
568
|
-
<h4
|
|
452
|
+
<h4>参数:</h4>
|
|
569
453
|
|
|
570
454
|
<div class="table-container">
|
|
571
455
|
<table class="params table">
|
|
@@ -595,12 +479,7 @@
|
|
|
595
479
|
<td class="type">
|
|
596
480
|
|
|
597
481
|
|
|
598
|
-
<span class="param-type">
|
|
599
|
-
|
|
600
|
-
Object
|
|
601
|
-
|
|
602
|
-
</span>
|
|
603
|
-
|
|
482
|
+
<span class="param-type">Object</span>
|
|
604
483
|
|
|
605
484
|
|
|
606
485
|
|
|
@@ -688,7 +567,7 @@
|
|
|
688
567
|
<h4 class="name" id="destroyFeatures">
|
|
689
568
|
<a class="href-link" href="#destroyFeatures">#</a>
|
|
690
569
|
|
|
691
|
-
<span class="code-name"
|
|
570
|
+
<span class="code-name" style="font-size:30px">
|
|
692
571
|
|
|
693
572
|
destroyFeatures<span class="signature">(features)</span>
|
|
694
573
|
|
|
@@ -710,7 +589,7 @@
|
|
|
710
589
|
|
|
711
590
|
|
|
712
591
|
|
|
713
|
-
<h4
|
|
592
|
+
<h4>参数:</h4>
|
|
714
593
|
|
|
715
594
|
<div class="table-container">
|
|
716
595
|
<table class="params table">
|
|
@@ -740,12 +619,7 @@
|
|
|
740
619
|
<td class="type">
|
|
741
620
|
|
|
742
621
|
|
|
743
|
-
<span class="param-type">
|
|
744
|
-
|
|
745
|
-
Array.<zondy.Feature.Vector>
|
|
746
|
-
|
|
747
|
-
</span>
|
|
748
|
-
|
|
622
|
+
<span class="param-type">Array.<zondy.Feature.Vector></span>
|
|
749
623
|
|
|
750
624
|
|
|
751
625
|
|
|
@@ -833,7 +707,7 @@
|
|
|
833
707
|
<h4 class="name" id="getEvents">
|
|
834
708
|
<a class="href-link" href="#getEvents">#</a>
|
|
835
709
|
|
|
836
|
-
<span class="code-name"
|
|
710
|
+
<span class="code-name" style="font-size:30px">
|
|
837
711
|
|
|
838
712
|
getEvents<span class="signature">()</span>
|
|
839
713
|
|
|
@@ -911,7 +785,7 @@
|
|
|
911
785
|
|
|
912
786
|
|
|
913
787
|
<div class='columns method-parameter'>
|
|
914
|
-
<div class="column is-2"><label
|
|
788
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
915
789
|
<div class="column is-10">
|
|
916
790
|
|
|
917
791
|
|
|
@@ -924,12 +798,7 @@
|
|
|
924
798
|
<div class='column is-5 has-text-left'>
|
|
925
799
|
<label>类型: </label>
|
|
926
800
|
|
|
927
|
-
<span class="param-type">
|
|
928
|
-
|
|
929
|
-
Object
|
|
930
|
-
|
|
931
|
-
</span>
|
|
932
|
-
|
|
801
|
+
<span class="param-type">Object</span>
|
|
933
802
|
|
|
934
803
|
|
|
935
804
|
</div>
|
|
@@ -954,7 +823,7 @@
|
|
|
954
823
|
<h4 class="name" id="getFeatureBy">
|
|
955
824
|
<a class="href-link" href="#getFeatureBy">#</a>
|
|
956
825
|
|
|
957
|
-
<span class="code-name"
|
|
826
|
+
<span class="code-name" style="font-size:30px">
|
|
958
827
|
|
|
959
828
|
getFeatureBy<span class="signature">(property, value)</span>
|
|
960
829
|
|
|
@@ -976,7 +845,7 @@
|
|
|
976
845
|
|
|
977
846
|
|
|
978
847
|
|
|
979
|
-
<h4
|
|
848
|
+
<h4>参数:</h4>
|
|
980
849
|
|
|
981
850
|
<div class="table-container">
|
|
982
851
|
<table class="params table">
|
|
@@ -1006,12 +875,7 @@
|
|
|
1006
875
|
<td class="type">
|
|
1007
876
|
|
|
1008
877
|
|
|
1009
|
-
<span class="param-type">
|
|
1010
|
-
|
|
1011
|
-
string
|
|
1012
|
-
|
|
1013
|
-
</span>
|
|
1014
|
-
|
|
878
|
+
<span class="param-type">string</span>
|
|
1015
879
|
|
|
1016
880
|
|
|
1017
881
|
|
|
@@ -1035,12 +899,7 @@
|
|
|
1035
899
|
<td class="type">
|
|
1036
900
|
|
|
1037
901
|
|
|
1038
|
-
<span class="param-type">
|
|
1039
|
-
|
|
1040
|
-
string
|
|
1041
|
-
|
|
1042
|
-
</span>
|
|
1043
|
-
|
|
902
|
+
<span class="param-type">string</span>
|
|
1044
903
|
|
|
1045
904
|
|
|
1046
905
|
|
|
@@ -1128,7 +987,7 @@
|
|
|
1128
987
|
<h4 class="name" id="getFeatureById">
|
|
1129
988
|
<a class="href-link" href="#getFeatureById">#</a>
|
|
1130
989
|
|
|
1131
|
-
<span class="code-name"
|
|
990
|
+
<span class="code-name" style="font-size:30px">
|
|
1132
991
|
|
|
1133
992
|
getFeatureById<span class="signature">(featureId)</span>
|
|
1134
993
|
|
|
@@ -1150,7 +1009,7 @@
|
|
|
1150
1009
|
|
|
1151
1010
|
|
|
1152
1011
|
|
|
1153
|
-
<h4
|
|
1012
|
+
<h4>参数:</h4>
|
|
1154
1013
|
|
|
1155
1014
|
<div class="table-container">
|
|
1156
1015
|
<table class="params table">
|
|
@@ -1180,12 +1039,7 @@
|
|
|
1180
1039
|
<td class="type">
|
|
1181
1040
|
|
|
1182
1041
|
|
|
1183
|
-
<span class="param-type">
|
|
1184
|
-
|
|
1185
|
-
number
|
|
1186
|
-
|
|
1187
|
-
</span>
|
|
1188
|
-
|
|
1042
|
+
<span class="param-type">number</span>
|
|
1189
1043
|
|
|
1190
1044
|
|
|
1191
1045
|
|
|
@@ -1273,7 +1127,7 @@
|
|
|
1273
1127
|
<h4 class="name" id="getFeatures">
|
|
1274
1128
|
<a class="href-link" href="#getFeatures">#</a>
|
|
1275
1129
|
|
|
1276
|
-
<span class="code-name"
|
|
1130
|
+
<span class="code-name" style="font-size:30px">
|
|
1277
1131
|
|
|
1278
1132
|
getFeatures<span class="signature">()</span>
|
|
1279
1133
|
|
|
@@ -1351,7 +1205,7 @@
|
|
|
1351
1205
|
|
|
1352
1206
|
|
|
1353
1207
|
<div class='columns method-parameter'>
|
|
1354
|
-
<div class="column is-2"><label
|
|
1208
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1355
1209
|
<div class="column is-10">
|
|
1356
1210
|
|
|
1357
1211
|
|
|
@@ -1364,12 +1218,7 @@
|
|
|
1364
1218
|
<div class='column is-5 has-text-left'>
|
|
1365
1219
|
<label>类型: </label>
|
|
1366
1220
|
|
|
1367
|
-
<span class="param-type">
|
|
1368
|
-
|
|
1369
|
-
Array
|
|
1370
|
-
|
|
1371
|
-
</span>
|
|
1372
|
-
|
|
1221
|
+
<span class="param-type">Array</span>
|
|
1373
1222
|
|
|
1374
1223
|
|
|
1375
1224
|
</div>
|
|
@@ -1394,7 +1243,7 @@
|
|
|
1394
1243
|
<h4 class="name" id="getFeaturesByAttribute">
|
|
1395
1244
|
<a class="href-link" href="#getFeaturesByAttribute">#</a>
|
|
1396
1245
|
|
|
1397
|
-
<span class="code-name"
|
|
1246
|
+
<span class="code-name" style="font-size:30px">
|
|
1398
1247
|
|
|
1399
1248
|
getFeaturesByAttribute<span class="signature">(attrName, attrValue)</span>
|
|
1400
1249
|
|
|
@@ -1416,7 +1265,7 @@
|
|
|
1416
1265
|
|
|
1417
1266
|
|
|
1418
1267
|
|
|
1419
|
-
<h4
|
|
1268
|
+
<h4>参数:</h4>
|
|
1420
1269
|
|
|
1421
1270
|
<div class="table-container">
|
|
1422
1271
|
<table class="params table">
|
|
@@ -1446,12 +1295,7 @@
|
|
|
1446
1295
|
<td class="type">
|
|
1447
1296
|
|
|
1448
1297
|
|
|
1449
|
-
<span class="param-type">
|
|
1450
|
-
|
|
1451
|
-
string
|
|
1452
|
-
|
|
1453
|
-
</span>
|
|
1454
|
-
|
|
1298
|
+
<span class="param-type">string</span>
|
|
1455
1299
|
|
|
1456
1300
|
|
|
1457
1301
|
|
|
@@ -1475,12 +1319,7 @@
|
|
|
1475
1319
|
<td class="type">
|
|
1476
1320
|
|
|
1477
1321
|
|
|
1478
|
-
<span class="param-type">
|
|
1479
|
-
|
|
1480
|
-
string
|
|
1481
|
-
|
|
1482
|
-
</span>
|
|
1483
|
-
|
|
1322
|
+
<span class="param-type">string</span>
|
|
1484
1323
|
|
|
1485
1324
|
|
|
1486
1325
|
|
|
@@ -1555,7 +1394,7 @@
|
|
|
1555
1394
|
|
|
1556
1395
|
|
|
1557
1396
|
<div class='columns method-parameter'>
|
|
1558
|
-
<div class="column is-2"><label
|
|
1397
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1559
1398
|
<div class="column is-10">
|
|
1560
1399
|
|
|
1561
1400
|
|
|
@@ -1568,12 +1407,7 @@
|
|
|
1568
1407
|
<div class='column is-5 has-text-left'>
|
|
1569
1408
|
<label>类型: </label>
|
|
1570
1409
|
|
|
1571
|
-
<span class="param-type">
|
|
1572
|
-
|
|
1573
|
-
Array
|
|
1574
|
-
|
|
1575
|
-
</span>
|
|
1576
|
-
|
|
1410
|
+
<span class="param-type">Array</span>
|
|
1577
1411
|
|
|
1578
1412
|
|
|
1579
1413
|
</div>
|
|
@@ -1598,7 +1432,7 @@
|
|
|
1598
1432
|
<h4 class="name" id="getLocalXY">
|
|
1599
1433
|
<a class="href-link" href="#getLocalXY">#</a>
|
|
1600
1434
|
|
|
1601
|
-
<span class="code-name"
|
|
1435
|
+
<span class="code-name" style="font-size:30px">
|
|
1602
1436
|
|
|
1603
1437
|
getLocalXY<span class="signature">(coordinate)</span>
|
|
1604
1438
|
|
|
@@ -1620,7 +1454,7 @@
|
|
|
1620
1454
|
|
|
1621
1455
|
|
|
1622
1456
|
|
|
1623
|
-
<h4
|
|
1457
|
+
<h4>参数:</h4>
|
|
1624
1458
|
|
|
1625
1459
|
<div class="table-container">
|
|
1626
1460
|
<table class="params table">
|
|
@@ -1650,12 +1484,7 @@
|
|
|
1650
1484
|
<td class="type">
|
|
1651
1485
|
|
|
1652
1486
|
|
|
1653
|
-
<span class="param-type">
|
|
1654
|
-
|
|
1655
|
-
Array
|
|
1656
|
-
|
|
1657
|
-
</span>
|
|
1658
|
-
|
|
1487
|
+
<span class="param-type">Array</span>
|
|
1659
1488
|
|
|
1660
1489
|
|
|
1661
1490
|
|
|
@@ -1743,7 +1572,7 @@
|
|
|
1743
1572
|
<h4 class="name" id="off">
|
|
1744
1573
|
<a class="href-link" href="#off">#</a>
|
|
1745
1574
|
|
|
1746
|
-
<span class="code-name"
|
|
1575
|
+
<span class="code-name" style="font-size:30px">
|
|
1747
1576
|
|
|
1748
1577
|
off<span class="signature">(event, callback, context)</span>
|
|
1749
1578
|
|
|
@@ -1765,7 +1594,7 @@
|
|
|
1765
1594
|
|
|
1766
1595
|
|
|
1767
1596
|
|
|
1768
|
-
<h4
|
|
1597
|
+
<h4>参数:</h4>
|
|
1769
1598
|
|
|
1770
1599
|
<div class="table-container">
|
|
1771
1600
|
<table class="params table">
|
|
@@ -1795,12 +1624,7 @@
|
|
|
1795
1624
|
<td class="type">
|
|
1796
1625
|
|
|
1797
1626
|
|
|
1798
|
-
<span class="param-type">
|
|
1799
|
-
|
|
1800
|
-
Event
|
|
1801
|
-
|
|
1802
|
-
</span>
|
|
1803
|
-
|
|
1627
|
+
<span class="param-type">Event</span>
|
|
1804
1628
|
|
|
1805
1629
|
|
|
1806
1630
|
|
|
@@ -1824,12 +1648,7 @@
|
|
|
1824
1648
|
<td class="type">
|
|
1825
1649
|
|
|
1826
1650
|
|
|
1827
|
-
<span class="param-type">
|
|
1828
|
-
|
|
1829
|
-
function
|
|
1830
|
-
|
|
1831
|
-
</span>
|
|
1832
|
-
|
|
1651
|
+
<span class="param-type">function</span>
|
|
1833
1652
|
|
|
1834
1653
|
|
|
1835
1654
|
|
|
@@ -1853,12 +1672,7 @@
|
|
|
1853
1672
|
<td class="type">
|
|
1854
1673
|
|
|
1855
1674
|
|
|
1856
|
-
<span class="param-type">
|
|
1857
|
-
|
|
1858
|
-
string
|
|
1859
|
-
|
|
1860
|
-
</span>
|
|
1861
|
-
|
|
1675
|
+
<span class="param-type">string</span>
|
|
1862
1676
|
|
|
1863
1677
|
|
|
1864
1678
|
|
|
@@ -1946,7 +1760,7 @@
|
|
|
1946
1760
|
<h4 class="name" id="on">
|
|
1947
1761
|
<a class="href-link" href="#on">#</a>
|
|
1948
1762
|
|
|
1949
|
-
<span class="code-name"
|
|
1763
|
+
<span class="code-name" style="font-size:30px">
|
|
1950
1764
|
|
|
1951
1765
|
on<span class="signature">(event, callback, context)</span>
|
|
1952
1766
|
|
|
@@ -1968,7 +1782,7 @@
|
|
|
1968
1782
|
|
|
1969
1783
|
|
|
1970
1784
|
|
|
1971
|
-
<h4
|
|
1785
|
+
<h4>参数:</h4>
|
|
1972
1786
|
|
|
1973
1787
|
<div class="table-container">
|
|
1974
1788
|
<table class="params table">
|
|
@@ -1998,12 +1812,7 @@
|
|
|
1998
1812
|
<td class="type">
|
|
1999
1813
|
|
|
2000
1814
|
|
|
2001
|
-
<span class="param-type">
|
|
2002
|
-
|
|
2003
|
-
Event
|
|
2004
|
-
|
|
2005
|
-
</span>
|
|
2006
|
-
|
|
1815
|
+
<span class="param-type">Event</span>
|
|
2007
1816
|
|
|
2008
1817
|
|
|
2009
1818
|
|
|
@@ -2027,12 +1836,7 @@
|
|
|
2027
1836
|
<td class="type">
|
|
2028
1837
|
|
|
2029
1838
|
|
|
2030
|
-
<span class="param-type">
|
|
2031
|
-
|
|
2032
|
-
function
|
|
2033
|
-
|
|
2034
|
-
</span>
|
|
2035
|
-
|
|
1839
|
+
<span class="param-type">function</span>
|
|
2036
1840
|
|
|
2037
1841
|
|
|
2038
1842
|
|
|
@@ -2056,12 +1860,7 @@
|
|
|
2056
1860
|
<td class="type">
|
|
2057
1861
|
|
|
2058
1862
|
|
|
2059
|
-
<span class="param-type">
|
|
2060
|
-
|
|
2061
|
-
string
|
|
2062
|
-
|
|
2063
|
-
</span>
|
|
2064
|
-
|
|
1863
|
+
<span class="param-type">string</span>
|
|
2065
1864
|
|
|
2066
1865
|
|
|
2067
1866
|
|
|
@@ -2149,7 +1948,7 @@
|
|
|
2149
1948
|
<h4 class="name" id="onRemove">
|
|
2150
1949
|
<a class="href-link" href="#onRemove">#</a>
|
|
2151
1950
|
|
|
2152
|
-
<span class="code-name"
|
|
1951
|
+
<span class="code-name" style="font-size:30px">
|
|
2153
1952
|
|
|
2154
1953
|
onRemove<span class="signature">(map)</span>
|
|
2155
1954
|
|
|
@@ -2171,7 +1970,7 @@
|
|
|
2171
1970
|
|
|
2172
1971
|
|
|
2173
1972
|
|
|
2174
|
-
<h4
|
|
1973
|
+
<h4>参数:</h4>
|
|
2175
1974
|
|
|
2176
1975
|
<div class="table-container">
|
|
2177
1976
|
<table class="params table">
|
|
@@ -2201,12 +2000,7 @@
|
|
|
2201
2000
|
<td class="type">
|
|
2202
2001
|
|
|
2203
2002
|
|
|
2204
|
-
<span class="param-type">
|
|
2205
|
-
|
|
2206
|
-
L.Map
|
|
2207
|
-
|
|
2208
|
-
</span>
|
|
2209
|
-
|
|
2003
|
+
<span class="param-type">L.Map</span>
|
|
2210
2004
|
|
|
2211
2005
|
|
|
2212
2006
|
|
|
@@ -2294,7 +2088,7 @@
|
|
|
2294
2088
|
<h4 class="name" id="redraw">
|
|
2295
2089
|
<a class="href-link" href="#redraw">#</a>
|
|
2296
2090
|
|
|
2297
|
-
<span class="code-name"
|
|
2091
|
+
<span class="code-name" style="font-size:30px">
|
|
2298
2092
|
|
|
2299
2093
|
redraw<span class="signature">()</span>
|
|
2300
2094
|
|
|
@@ -2372,7 +2166,7 @@
|
|
|
2372
2166
|
|
|
2373
2167
|
|
|
2374
2168
|
<div class='columns method-parameter'>
|
|
2375
|
-
<div class="column is-2"><label
|
|
2169
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2376
2170
|
<div class="column is-10">
|
|
2377
2171
|
|
|
2378
2172
|
|
|
@@ -2385,12 +2179,7 @@
|
|
|
2385
2179
|
<div class='column is-5 has-text-left'>
|
|
2386
2180
|
<label>类型: </label>
|
|
2387
2181
|
|
|
2388
|
-
<span class="param-type">
|
|
2389
|
-
|
|
2390
|
-
boolean
|
|
2391
|
-
|
|
2392
|
-
</span>
|
|
2393
|
-
|
|
2182
|
+
<span class="param-type">boolean</span>
|
|
2394
2183
|
|
|
2395
2184
|
|
|
2396
2185
|
</div>
|
|
@@ -2415,7 +2204,7 @@
|
|
|
2415
2204
|
<h4 class="name" id="redrawThematicFeatures">
|
|
2416
2205
|
<a class="href-link" href="#redrawThematicFeatures">#</a>
|
|
2417
2206
|
|
|
2418
|
-
<span class="code-name"
|
|
2207
|
+
<span class="code-name" style="font-size:30px">
|
|
2419
2208
|
|
|
2420
2209
|
redrawThematicFeatures<span class="signature">(bounds)</span>
|
|
2421
2210
|
|
|
@@ -2437,7 +2226,7 @@
|
|
|
2437
2226
|
|
|
2438
2227
|
|
|
2439
2228
|
|
|
2440
|
-
<h4
|
|
2229
|
+
<h4>参数:</h4>
|
|
2441
2230
|
|
|
2442
2231
|
<div class="table-container">
|
|
2443
2232
|
<table class="params table">
|
|
@@ -2467,12 +2256,7 @@
|
|
|
2467
2256
|
<td class="type">
|
|
2468
2257
|
|
|
2469
2258
|
|
|
2470
|
-
<span class="param-type">
|
|
2471
|
-
|
|
2472
|
-
L.bounds
|
|
2473
|
-
|
|
2474
|
-
</span>
|
|
2475
|
-
|
|
2259
|
+
<span class="param-type">L.bounds</span>
|
|
2476
2260
|
|
|
2477
2261
|
|
|
2478
2262
|
|
|
@@ -2560,7 +2344,7 @@
|
|
|
2560
2344
|
<h4 class="name" id="removeAllFeatures">
|
|
2561
2345
|
<a class="href-link" href="#removeAllFeatures">#</a>
|
|
2562
2346
|
|
|
2563
|
-
<span class="code-name"
|
|
2347
|
+
<span class="code-name" style="font-size:30px">
|
|
2564
2348
|
|
|
2565
2349
|
removeAllFeatures<span class="signature">()</span>
|
|
2566
2350
|
|
|
@@ -2651,7 +2435,7 @@
|
|
|
2651
2435
|
<h4 class="name" id="removeFeatures">
|
|
2652
2436
|
<a class="href-link" href="#removeFeatures">#</a>
|
|
2653
2437
|
|
|
2654
|
-
<span class="code-name"
|
|
2438
|
+
<span class="code-name" style="font-size:30px">
|
|
2655
2439
|
|
|
2656
2440
|
removeFeatures<span class="signature">(features)</span>
|
|
2657
2441
|
|
|
@@ -2673,7 +2457,7 @@
|
|
|
2673
2457
|
|
|
2674
2458
|
|
|
2675
2459
|
|
|
2676
|
-
<h4
|
|
2460
|
+
<h4>参数:</h4>
|
|
2677
2461
|
|
|
2678
2462
|
<div class="table-container">
|
|
2679
2463
|
<table class="params table">
|
|
@@ -2703,12 +2487,7 @@
|
|
|
2703
2487
|
<td class="type">
|
|
2704
2488
|
|
|
2705
2489
|
|
|
2706
|
-
<span class="param-type">
|
|
2707
|
-
|
|
2708
|
-
Array.<zondy.Feature.Vector>
|
|
2709
|
-
|
|
2710
|
-
</span>
|
|
2711
|
-
|
|
2490
|
+
<span class="param-type">Array.<zondy.Feature.Vector></span>
|
|
2712
2491
|
|
|
2713
2492
|
|
|
2714
2493
|
|
|
@@ -2796,7 +2575,7 @@
|
|
|
2796
2575
|
<h4 class="name" id="setOpacity">
|
|
2797
2576
|
<a class="href-link" href="#setOpacity">#</a>
|
|
2798
2577
|
|
|
2799
|
-
<span class="code-name"
|
|
2578
|
+
<span class="code-name" style="font-size:30px">
|
|
2800
2579
|
|
|
2801
2580
|
setOpacity<span class="signature">(opacity)</span>
|
|
2802
2581
|
|
|
@@ -2818,7 +2597,7 @@
|
|
|
2818
2597
|
|
|
2819
2598
|
|
|
2820
2599
|
|
|
2821
|
-
<h4
|
|
2600
|
+
<h4>参数:</h4>
|
|
2822
2601
|
|
|
2823
2602
|
<div class="table-container">
|
|
2824
2603
|
<table class="params table">
|
|
@@ -2848,12 +2627,7 @@
|
|
|
2848
2627
|
<td class="type">
|
|
2849
2628
|
|
|
2850
2629
|
|
|
2851
|
-
<span class="param-type">
|
|
2852
|
-
|
|
2853
|
-
number
|
|
2854
|
-
|
|
2855
|
-
</span>
|
|
2856
|
-
|
|
2630
|
+
<span class="param-type">number</span>
|
|
2857
2631
|
|
|
2858
2632
|
|
|
2859
2633
|
|
|
@@ -2941,7 +2715,7 @@
|
|
|
2941
2715
|
<h4 class="name" id="update">
|
|
2942
2716
|
<a class="href-link" href="#update">#</a>
|
|
2943
2717
|
|
|
2944
|
-
<span class="code-name"
|
|
2718
|
+
<span class="code-name" style="font-size:30px">
|
|
2945
2719
|
|
|
2946
2720
|
update<span class="signature">(bounds)</span>
|
|
2947
2721
|
|
|
@@ -2963,7 +2737,7 @@
|
|
|
2963
2737
|
|
|
2964
2738
|
|
|
2965
2739
|
|
|
2966
|
-
<h4
|
|
2740
|
+
<h4>参数:</h4>
|
|
2967
2741
|
|
|
2968
2742
|
<div class="table-container">
|
|
2969
2743
|
<table class="params table">
|
|
@@ -2993,12 +2767,7 @@
|
|
|
2993
2767
|
<td class="type">
|
|
2994
2768
|
|
|
2995
2769
|
|
|
2996
|
-
<span class="param-type">
|
|
2997
|
-
|
|
2998
|
-
L.bounds
|
|
2999
|
-
|
|
3000
|
-
</span>
|
|
3001
|
-
|
|
2770
|
+
<span class="param-type">L.bounds</span>
|
|
3002
2771
|
|
|
3003
2772
|
|
|
3004
2773
|
|
|
@@ -3088,31 +2857,6 @@
|
|
|
3088
2857
|
|
|
3089
2858
|
<div class='vertical-section' style='margin-top: 10px'>
|
|
3090
2859
|
<h3 id='event'>事件</h3>
|
|
3091
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">事件概述</h4>
|
|
3092
|
-
<div class="table-container">
|
|
3093
|
-
<table class="params table">
|
|
3094
|
-
<thead>
|
|
3095
|
-
<tr>
|
|
3096
|
-
<th>名称</th>
|
|
3097
|
-
<th>描述</th>
|
|
3098
|
-
</tr>
|
|
3099
|
-
</thead>
|
|
3100
|
-
<tbody>
|
|
3101
|
-
|
|
3102
|
-
<tr class="deep-level-0">
|
|
3103
|
-
<td class="name"><code><a href="#changelayer">changelayer</a></code></td>
|
|
3104
|
-
<td class="name"><code>changelayer</code></td>
|
|
3105
|
-
</tr>
|
|
3106
|
-
|
|
3107
|
-
<tr class="deep-level-0">
|
|
3108
|
-
<td class="name"><code><a href="#featuresremoved">featuresremoved</a></code></td>
|
|
3109
|
-
<td class="name"><code>featuresremoved</code></td>
|
|
3110
|
-
</tr>
|
|
3111
|
-
|
|
3112
|
-
</tbody>
|
|
3113
|
-
</table>
|
|
3114
|
-
</div>
|
|
3115
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">事件详情</h4>
|
|
3116
2860
|
<div class="members">
|
|
3117
2861
|
|
|
3118
2862
|
<div class="member">
|
|
@@ -3123,7 +2867,7 @@
|
|
|
3123
2867
|
<h4 class="name" id="event:changelayer">
|
|
3124
2868
|
<a class="href-link" href="#event:changelayer">#</a>
|
|
3125
2869
|
|
|
3126
|
-
<span class="code-name"
|
|
2870
|
+
<span class="code-name" style="font-size:30px">
|
|
3127
2871
|
|
|
3128
2872
|
changelayer
|
|
3129
2873
|
|
|
@@ -3181,12 +2925,7 @@
|
|
|
3181
2925
|
<td class="type">
|
|
3182
2926
|
|
|
3183
2927
|
|
|
3184
|
-
<span class="param-type">
|
|
3185
|
-
|
|
3186
|
-
Object
|
|
3187
|
-
|
|
3188
|
-
</span>
|
|
3189
|
-
|
|
2928
|
+
<span class="param-type">Object</span>
|
|
3190
2929
|
|
|
3191
2930
|
|
|
3192
2931
|
|
|
@@ -3209,12 +2948,7 @@
|
|
|
3209
2948
|
<td class="type">
|
|
3210
2949
|
|
|
3211
2950
|
|
|
3212
|
-
<span class="param-type">
|
|
3213
|
-
|
|
3214
|
-
string
|
|
3215
|
-
|
|
3216
|
-
</span>
|
|
3217
|
-
|
|
2951
|
+
<span class="param-type">string</span>
|
|
3218
2952
|
|
|
3219
2953
|
|
|
3220
2954
|
|
|
@@ -3301,7 +3035,7 @@
|
|
|
3301
3035
|
<h4 class="name" id="event:featuresremoved">
|
|
3302
3036
|
<a class="href-link" href="#event:featuresremoved">#</a>
|
|
3303
3037
|
|
|
3304
|
-
<span class="code-name"
|
|
3038
|
+
<span class="code-name" style="font-size:30px">
|
|
3305
3039
|
|
|
3306
3040
|
featuresremoved
|
|
3307
3041
|
|
|
@@ -3359,12 +3093,7 @@
|
|
|
3359
3093
|
<td class="type">
|
|
3360
3094
|
|
|
3361
3095
|
|
|
3362
|
-
<span class="param-type">
|
|
3363
|
-
|
|
3364
|
-
Array.<zondy.Feature.Vector>
|
|
3365
|
-
|
|
3366
|
-
</span>
|
|
3367
|
-
|
|
3096
|
+
<span class="param-type">Array.<zondy.Feature.Vector></span>
|
|
3368
3097
|
|
|
3369
3098
|
|
|
3370
3099
|
|
|
@@ -3387,12 +3116,7 @@
|
|
|
3387
3116
|
<td class="type">
|
|
3388
3117
|
|
|
3389
3118
|
|
|
3390
|
-
<span class="param-type">
|
|
3391
|
-
|
|
3392
|
-
boolean
|
|
3393
|
-
|
|
3394
|
-
</span>
|
|
3395
|
-
|
|
3119
|
+
<span class="param-type">boolean</span>
|
|
3396
3120
|
|
|
3397
3121
|
|
|
3398
3122
|
|
|
@@ -3476,4 +3200,42 @@
|
|
|
3476
3200
|
|
|
3477
3201
|
</article>
|
|
3478
3202
|
|
|
3479
|
-
</section>
|
|
3203
|
+
</section>
|
|
3204
|
+
|
|
3205
|
+
|
|
3206
|
+
|
|
3207
|
+
|
|
3208
|
+
</div>
|
|
3209
|
+
|
|
3210
|
+
<footer class="footer">
|
|
3211
|
+
<div class="content has-text-centered">
|
|
3212
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
3213
|
+
<p class="sidebar-created-by">
|
|
3214
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
3215
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
3216
|
+
</p>
|
|
3217
|
+
</div>
|
|
3218
|
+
</footer>
|
|
3219
|
+
|
|
3220
|
+
</div>
|
|
3221
|
+
<div id="side-nav" class="side-nav">
|
|
3222
|
+
<div style="margin-bottom: 10px;">
|
|
3223
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
3224
|
+
</div>
|
|
3225
|
+
<div style="margin-bottom: 10px;">
|
|
3226
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
3227
|
+
</div>
|
|
3228
|
+
<div style="margin-bottom: 10px;">
|
|
3229
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
3230
|
+
</div>
|
|
3231
|
+
<div>
|
|
3232
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
3233
|
+
</div>
|
|
3234
|
+
</div>
|
|
3235
|
+
</div>
|
|
3236
|
+
<script src="scripts/linenumber.js"> </script>
|
|
3237
|
+
|
|
3238
|
+
<script src="scripts/search.js"> </script>
|
|
3239
|
+
|
|
3240
|
+
</body>
|
|
3241
|
+
</html>
|