@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> 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
|
+
继承自<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">ThemeLayer</span>
|
|
138
|
+
</header>
|
|
139
|
+
|
|
8
140
|
|
|
9
141
|
|
|
10
142
|
|
|
@@ -25,7 +157,7 @@
|
|
|
25
157
|
<h4 class="name" id="ThemeLayer">
|
|
26
158
|
<a class="href-link" href="#ThemeLayer">#</a>
|
|
27
159
|
|
|
28
|
-
<span class="code-name"
|
|
160
|
+
<span class="code-name" style="font-size:30px">
|
|
29
161
|
|
|
30
162
|
new ThemeLayer<span class="signature">(name, 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">
|
|
@@ -75,12 +207,7 @@
|
|
|
75
207
|
<td class="type">
|
|
76
208
|
|
|
77
209
|
|
|
78
|
-
<span class="param-type">
|
|
79
|
-
|
|
80
|
-
string
|
|
81
|
-
|
|
82
|
-
</span>
|
|
83
|
-
|
|
210
|
+
<span class="param-type">string</span>
|
|
84
211
|
|
|
85
212
|
|
|
86
213
|
|
|
@@ -108,12 +235,7 @@
|
|
|
108
235
|
<td class="type">
|
|
109
236
|
|
|
110
237
|
|
|
111
|
-
<span class="param-type">
|
|
112
|
-
|
|
113
|
-
Object
|
|
114
|
-
|
|
115
|
-
</span>
|
|
116
|
-
|
|
238
|
+
<span class="param-type">Object</span>
|
|
117
239
|
|
|
118
240
|
|
|
119
241
|
|
|
@@ -139,12 +261,7 @@
|
|
|
139
261
|
<td class="type">
|
|
140
262
|
|
|
141
263
|
|
|
142
|
-
<span class="param-type">
|
|
143
|
-
|
|
144
|
-
string
|
|
145
|
-
|
|
146
|
-
</span>
|
|
147
|
-
|
|
264
|
+
<span class="param-type">string</span>
|
|
148
265
|
|
|
149
266
|
|
|
150
267
|
|
|
@@ -170,12 +287,7 @@
|
|
|
170
287
|
<td class="type">
|
|
171
288
|
|
|
172
289
|
|
|
173
|
-
<span class="param-type">
|
|
174
|
-
|
|
175
|
-
number
|
|
176
|
-
|
|
177
|
-
</span>
|
|
178
|
-
|
|
290
|
+
<span class="param-type">number</span>
|
|
179
291
|
|
|
180
292
|
|
|
181
293
|
|
|
@@ -246,10 +358,10 @@
|
|
|
246
358
|
|
|
247
359
|
|
|
248
360
|
<div class="method-parameter columns">
|
|
249
|
-
<div class="column is-2"><label
|
|
361
|
+
<div class="column is-2"><label>绑定事件:</label></div>
|
|
250
362
|
<div class="column is-10">
|
|
251
363
|
<ul>
|
|
252
|
-
<li><a href="#featuresremoved">featuresremoved</a></li>
|
|
364
|
+
<li><a href="zondy.themelayer.ThemeLayer.html#event:featuresremoved">zondy.themelayer.ThemeLayer#event:featuresremoved</a></li>
|
|
253
365
|
</ul>
|
|
254
366
|
</div>
|
|
255
367
|
</div>
|
|
@@ -308,233 +420,7 @@
|
|
|
308
420
|
|
|
309
421
|
<div class='vertical-section'>
|
|
310
422
|
<h3 id='function'>方法</h3>
|
|
311
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
312
423
|
<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
424
|
|
|
539
425
|
<div class="member">
|
|
540
426
|
|
|
@@ -543,7 +429,7 @@
|
|
|
543
429
|
<h4 class="name" id="addFeatures">
|
|
544
430
|
<a class="href-link" href="#addFeatures">#</a>
|
|
545
431
|
|
|
546
|
-
<span class="code-name"
|
|
432
|
+
<span class="code-name" style="font-size:30px">
|
|
547
433
|
|
|
548
434
|
addFeatures<span class="signature">(features)</span>
|
|
549
435
|
|
|
@@ -565,7 +451,7 @@
|
|
|
565
451
|
|
|
566
452
|
|
|
567
453
|
|
|
568
|
-
<h4
|
|
454
|
+
<h4>参数:</h4>
|
|
569
455
|
|
|
570
456
|
<div class="table-container">
|
|
571
457
|
<table class="params table">
|
|
@@ -595,12 +481,7 @@
|
|
|
595
481
|
<td class="type">
|
|
596
482
|
|
|
597
483
|
|
|
598
|
-
<span class="param-type">
|
|
599
|
-
|
|
600
|
-
Object
|
|
601
|
-
|
|
602
|
-
</span>
|
|
603
|
-
|
|
484
|
+
<span class="param-type">Object</span>
|
|
604
485
|
|
|
605
486
|
|
|
606
487
|
|
|
@@ -688,7 +569,7 @@
|
|
|
688
569
|
<h4 class="name" id="destroyFeatures">
|
|
689
570
|
<a class="href-link" href="#destroyFeatures">#</a>
|
|
690
571
|
|
|
691
|
-
<span class="code-name"
|
|
572
|
+
<span class="code-name" style="font-size:30px">
|
|
692
573
|
|
|
693
574
|
destroyFeatures<span class="signature">(features)</span>
|
|
694
575
|
|
|
@@ -710,7 +591,7 @@
|
|
|
710
591
|
|
|
711
592
|
|
|
712
593
|
|
|
713
|
-
<h4
|
|
594
|
+
<h4>参数:</h4>
|
|
714
595
|
|
|
715
596
|
<div class="table-container">
|
|
716
597
|
<table class="params table">
|
|
@@ -740,12 +621,7 @@
|
|
|
740
621
|
<td class="type">
|
|
741
622
|
|
|
742
623
|
|
|
743
|
-
<span class="param-type">
|
|
744
|
-
|
|
745
|
-
Array.<zondy.Feature.Vector>
|
|
746
|
-
|
|
747
|
-
</span>
|
|
748
|
-
|
|
624
|
+
<span class="param-type">Array.<zondy.Feature.Vector></span>
|
|
749
625
|
|
|
750
626
|
|
|
751
627
|
|
|
@@ -833,7 +709,7 @@
|
|
|
833
709
|
<h4 class="name" id="getEvents">
|
|
834
710
|
<a class="href-link" href="#getEvents">#</a>
|
|
835
711
|
|
|
836
|
-
<span class="code-name"
|
|
712
|
+
<span class="code-name" style="font-size:30px">
|
|
837
713
|
|
|
838
714
|
getEvents<span class="signature">()</span>
|
|
839
715
|
|
|
@@ -911,7 +787,7 @@
|
|
|
911
787
|
|
|
912
788
|
|
|
913
789
|
<div class='columns method-parameter'>
|
|
914
|
-
<div class="column is-2"><label
|
|
790
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
915
791
|
<div class="column is-10">
|
|
916
792
|
|
|
917
793
|
|
|
@@ -924,12 +800,7 @@
|
|
|
924
800
|
<div class='column is-5 has-text-left'>
|
|
925
801
|
<label>类型: </label>
|
|
926
802
|
|
|
927
|
-
<span class="param-type">
|
|
928
|
-
|
|
929
|
-
Object
|
|
930
|
-
|
|
931
|
-
</span>
|
|
932
|
-
|
|
803
|
+
<span class="param-type">Object</span>
|
|
933
804
|
|
|
934
805
|
|
|
935
806
|
</div>
|
|
@@ -954,7 +825,7 @@
|
|
|
954
825
|
<h4 class="name" id="getFeatureBy">
|
|
955
826
|
<a class="href-link" href="#getFeatureBy">#</a>
|
|
956
827
|
|
|
957
|
-
<span class="code-name"
|
|
828
|
+
<span class="code-name" style="font-size:30px">
|
|
958
829
|
|
|
959
830
|
getFeatureBy<span class="signature">(property, value)</span>
|
|
960
831
|
|
|
@@ -976,7 +847,7 @@
|
|
|
976
847
|
|
|
977
848
|
|
|
978
849
|
|
|
979
|
-
<h4
|
|
850
|
+
<h4>参数:</h4>
|
|
980
851
|
|
|
981
852
|
<div class="table-container">
|
|
982
853
|
<table class="params table">
|
|
@@ -1006,12 +877,7 @@
|
|
|
1006
877
|
<td class="type">
|
|
1007
878
|
|
|
1008
879
|
|
|
1009
|
-
<span class="param-type">
|
|
1010
|
-
|
|
1011
|
-
string
|
|
1012
|
-
|
|
1013
|
-
</span>
|
|
1014
|
-
|
|
880
|
+
<span class="param-type">string</span>
|
|
1015
881
|
|
|
1016
882
|
|
|
1017
883
|
|
|
@@ -1035,12 +901,7 @@
|
|
|
1035
901
|
<td class="type">
|
|
1036
902
|
|
|
1037
903
|
|
|
1038
|
-
<span class="param-type">
|
|
1039
|
-
|
|
1040
|
-
string
|
|
1041
|
-
|
|
1042
|
-
</span>
|
|
1043
|
-
|
|
904
|
+
<span class="param-type">string</span>
|
|
1044
905
|
|
|
1045
906
|
|
|
1046
907
|
|
|
@@ -1128,7 +989,7 @@
|
|
|
1128
989
|
<h4 class="name" id="getFeatureById">
|
|
1129
990
|
<a class="href-link" href="#getFeatureById">#</a>
|
|
1130
991
|
|
|
1131
|
-
<span class="code-name"
|
|
992
|
+
<span class="code-name" style="font-size:30px">
|
|
1132
993
|
|
|
1133
994
|
getFeatureById<span class="signature">(featureId)</span>
|
|
1134
995
|
|
|
@@ -1150,7 +1011,7 @@
|
|
|
1150
1011
|
|
|
1151
1012
|
|
|
1152
1013
|
|
|
1153
|
-
<h4
|
|
1014
|
+
<h4>参数:</h4>
|
|
1154
1015
|
|
|
1155
1016
|
<div class="table-container">
|
|
1156
1017
|
<table class="params table">
|
|
@@ -1180,12 +1041,7 @@
|
|
|
1180
1041
|
<td class="type">
|
|
1181
1042
|
|
|
1182
1043
|
|
|
1183
|
-
<span class="param-type">
|
|
1184
|
-
|
|
1185
|
-
number
|
|
1186
|
-
|
|
1187
|
-
</span>
|
|
1188
|
-
|
|
1044
|
+
<span class="param-type">number</span>
|
|
1189
1045
|
|
|
1190
1046
|
|
|
1191
1047
|
|
|
@@ -1273,7 +1129,7 @@
|
|
|
1273
1129
|
<h4 class="name" id="getFeatures">
|
|
1274
1130
|
<a class="href-link" href="#getFeatures">#</a>
|
|
1275
1131
|
|
|
1276
|
-
<span class="code-name"
|
|
1132
|
+
<span class="code-name" style="font-size:30px">
|
|
1277
1133
|
|
|
1278
1134
|
getFeatures<span class="signature">()</span>
|
|
1279
1135
|
|
|
@@ -1351,7 +1207,7 @@
|
|
|
1351
1207
|
|
|
1352
1208
|
|
|
1353
1209
|
<div class='columns method-parameter'>
|
|
1354
|
-
<div class="column is-2"><label
|
|
1210
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1355
1211
|
<div class="column is-10">
|
|
1356
1212
|
|
|
1357
1213
|
|
|
@@ -1364,12 +1220,7 @@
|
|
|
1364
1220
|
<div class='column is-5 has-text-left'>
|
|
1365
1221
|
<label>类型: </label>
|
|
1366
1222
|
|
|
1367
|
-
<span class="param-type">
|
|
1368
|
-
|
|
1369
|
-
Array
|
|
1370
|
-
|
|
1371
|
-
</span>
|
|
1372
|
-
|
|
1223
|
+
<span class="param-type">Array</span>
|
|
1373
1224
|
|
|
1374
1225
|
|
|
1375
1226
|
</div>
|
|
@@ -1394,7 +1245,7 @@
|
|
|
1394
1245
|
<h4 class="name" id="getFeaturesByAttribute">
|
|
1395
1246
|
<a class="href-link" href="#getFeaturesByAttribute">#</a>
|
|
1396
1247
|
|
|
1397
|
-
<span class="code-name"
|
|
1248
|
+
<span class="code-name" style="font-size:30px">
|
|
1398
1249
|
|
|
1399
1250
|
getFeaturesByAttribute<span class="signature">(attrName, attrValue)</span>
|
|
1400
1251
|
|
|
@@ -1416,7 +1267,7 @@
|
|
|
1416
1267
|
|
|
1417
1268
|
|
|
1418
1269
|
|
|
1419
|
-
<h4
|
|
1270
|
+
<h4>参数:</h4>
|
|
1420
1271
|
|
|
1421
1272
|
<div class="table-container">
|
|
1422
1273
|
<table class="params table">
|
|
@@ -1446,12 +1297,7 @@
|
|
|
1446
1297
|
<td class="type">
|
|
1447
1298
|
|
|
1448
1299
|
|
|
1449
|
-
<span class="param-type">
|
|
1450
|
-
|
|
1451
|
-
string
|
|
1452
|
-
|
|
1453
|
-
</span>
|
|
1454
|
-
|
|
1300
|
+
<span class="param-type">string</span>
|
|
1455
1301
|
|
|
1456
1302
|
|
|
1457
1303
|
|
|
@@ -1475,12 +1321,7 @@
|
|
|
1475
1321
|
<td class="type">
|
|
1476
1322
|
|
|
1477
1323
|
|
|
1478
|
-
<span class="param-type">
|
|
1479
|
-
|
|
1480
|
-
string
|
|
1481
|
-
|
|
1482
|
-
</span>
|
|
1483
|
-
|
|
1324
|
+
<span class="param-type">string</span>
|
|
1484
1325
|
|
|
1485
1326
|
|
|
1486
1327
|
|
|
@@ -1555,7 +1396,7 @@
|
|
|
1555
1396
|
|
|
1556
1397
|
|
|
1557
1398
|
<div class='columns method-parameter'>
|
|
1558
|
-
<div class="column is-2"><label
|
|
1399
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1559
1400
|
<div class="column is-10">
|
|
1560
1401
|
|
|
1561
1402
|
|
|
@@ -1568,12 +1409,7 @@
|
|
|
1568
1409
|
<div class='column is-5 has-text-left'>
|
|
1569
1410
|
<label>类型: </label>
|
|
1570
1411
|
|
|
1571
|
-
<span class="param-type">
|
|
1572
|
-
|
|
1573
|
-
Array
|
|
1574
|
-
|
|
1575
|
-
</span>
|
|
1576
|
-
|
|
1412
|
+
<span class="param-type">Array</span>
|
|
1577
1413
|
|
|
1578
1414
|
|
|
1579
1415
|
</div>
|
|
@@ -1598,7 +1434,7 @@
|
|
|
1598
1434
|
<h4 class="name" id="getLocalXY">
|
|
1599
1435
|
<a class="href-link" href="#getLocalXY">#</a>
|
|
1600
1436
|
|
|
1601
|
-
<span class="code-name"
|
|
1437
|
+
<span class="code-name" style="font-size:30px">
|
|
1602
1438
|
|
|
1603
1439
|
getLocalXY<span class="signature">(coordinate)</span>
|
|
1604
1440
|
|
|
@@ -1620,7 +1456,7 @@
|
|
|
1620
1456
|
|
|
1621
1457
|
|
|
1622
1458
|
|
|
1623
|
-
<h4
|
|
1459
|
+
<h4>参数:</h4>
|
|
1624
1460
|
|
|
1625
1461
|
<div class="table-container">
|
|
1626
1462
|
<table class="params table">
|
|
@@ -1650,12 +1486,7 @@
|
|
|
1650
1486
|
<td class="type">
|
|
1651
1487
|
|
|
1652
1488
|
|
|
1653
|
-
<span class="param-type">
|
|
1654
|
-
|
|
1655
|
-
Array
|
|
1656
|
-
|
|
1657
|
-
</span>
|
|
1658
|
-
|
|
1489
|
+
<span class="param-type">Array</span>
|
|
1659
1490
|
|
|
1660
1491
|
|
|
1661
1492
|
|
|
@@ -1743,7 +1574,7 @@
|
|
|
1743
1574
|
<h4 class="name" id="off">
|
|
1744
1575
|
<a class="href-link" href="#off">#</a>
|
|
1745
1576
|
|
|
1746
|
-
<span class="code-name"
|
|
1577
|
+
<span class="code-name" style="font-size:30px">
|
|
1747
1578
|
|
|
1748
1579
|
off<span class="signature">(event, callback, context)</span>
|
|
1749
1580
|
|
|
@@ -1765,7 +1596,7 @@
|
|
|
1765
1596
|
|
|
1766
1597
|
|
|
1767
1598
|
|
|
1768
|
-
<h4
|
|
1599
|
+
<h4>参数:</h4>
|
|
1769
1600
|
|
|
1770
1601
|
<div class="table-container">
|
|
1771
1602
|
<table class="params table">
|
|
@@ -1795,12 +1626,7 @@
|
|
|
1795
1626
|
<td class="type">
|
|
1796
1627
|
|
|
1797
1628
|
|
|
1798
|
-
<span class="param-type">
|
|
1799
|
-
|
|
1800
|
-
Event
|
|
1801
|
-
|
|
1802
|
-
</span>
|
|
1803
|
-
|
|
1629
|
+
<span class="param-type">Event</span>
|
|
1804
1630
|
|
|
1805
1631
|
|
|
1806
1632
|
|
|
@@ -1824,12 +1650,7 @@
|
|
|
1824
1650
|
<td class="type">
|
|
1825
1651
|
|
|
1826
1652
|
|
|
1827
|
-
<span class="param-type">
|
|
1828
|
-
|
|
1829
|
-
function
|
|
1830
|
-
|
|
1831
|
-
</span>
|
|
1832
|
-
|
|
1653
|
+
<span class="param-type">function</span>
|
|
1833
1654
|
|
|
1834
1655
|
|
|
1835
1656
|
|
|
@@ -1853,12 +1674,7 @@
|
|
|
1853
1674
|
<td class="type">
|
|
1854
1675
|
|
|
1855
1676
|
|
|
1856
|
-
<span class="param-type">
|
|
1857
|
-
|
|
1858
|
-
string
|
|
1859
|
-
|
|
1860
|
-
</span>
|
|
1861
|
-
|
|
1677
|
+
<span class="param-type">string</span>
|
|
1862
1678
|
|
|
1863
1679
|
|
|
1864
1680
|
|
|
@@ -1946,7 +1762,7 @@
|
|
|
1946
1762
|
<h4 class="name" id="on">
|
|
1947
1763
|
<a class="href-link" href="#on">#</a>
|
|
1948
1764
|
|
|
1949
|
-
<span class="code-name"
|
|
1765
|
+
<span class="code-name" style="font-size:30px">
|
|
1950
1766
|
|
|
1951
1767
|
on<span class="signature">(event, callback, context)</span>
|
|
1952
1768
|
|
|
@@ -1968,7 +1784,7 @@
|
|
|
1968
1784
|
|
|
1969
1785
|
|
|
1970
1786
|
|
|
1971
|
-
<h4
|
|
1787
|
+
<h4>参数:</h4>
|
|
1972
1788
|
|
|
1973
1789
|
<div class="table-container">
|
|
1974
1790
|
<table class="params table">
|
|
@@ -1998,12 +1814,7 @@
|
|
|
1998
1814
|
<td class="type">
|
|
1999
1815
|
|
|
2000
1816
|
|
|
2001
|
-
<span class="param-type">
|
|
2002
|
-
|
|
2003
|
-
Event
|
|
2004
|
-
|
|
2005
|
-
</span>
|
|
2006
|
-
|
|
1817
|
+
<span class="param-type">Event</span>
|
|
2007
1818
|
|
|
2008
1819
|
|
|
2009
1820
|
|
|
@@ -2027,12 +1838,7 @@
|
|
|
2027
1838
|
<td class="type">
|
|
2028
1839
|
|
|
2029
1840
|
|
|
2030
|
-
<span class="param-type">
|
|
2031
|
-
|
|
2032
|
-
function
|
|
2033
|
-
|
|
2034
|
-
</span>
|
|
2035
|
-
|
|
1841
|
+
<span class="param-type">function</span>
|
|
2036
1842
|
|
|
2037
1843
|
|
|
2038
1844
|
|
|
@@ -2056,12 +1862,7 @@
|
|
|
2056
1862
|
<td class="type">
|
|
2057
1863
|
|
|
2058
1864
|
|
|
2059
|
-
<span class="param-type">
|
|
2060
|
-
|
|
2061
|
-
string
|
|
2062
|
-
|
|
2063
|
-
</span>
|
|
2064
|
-
|
|
1865
|
+
<span class="param-type">string</span>
|
|
2065
1866
|
|
|
2066
1867
|
|
|
2067
1868
|
|
|
@@ -2149,7 +1950,7 @@
|
|
|
2149
1950
|
<h4 class="name" id="onRemove">
|
|
2150
1951
|
<a class="href-link" href="#onRemove">#</a>
|
|
2151
1952
|
|
|
2152
|
-
<span class="code-name"
|
|
1953
|
+
<span class="code-name" style="font-size:30px">
|
|
2153
1954
|
|
|
2154
1955
|
onRemove<span class="signature">(map)</span>
|
|
2155
1956
|
|
|
@@ -2171,7 +1972,7 @@
|
|
|
2171
1972
|
|
|
2172
1973
|
|
|
2173
1974
|
|
|
2174
|
-
<h4
|
|
1975
|
+
<h4>参数:</h4>
|
|
2175
1976
|
|
|
2176
1977
|
<div class="table-container">
|
|
2177
1978
|
<table class="params table">
|
|
@@ -2201,12 +2002,7 @@
|
|
|
2201
2002
|
<td class="type">
|
|
2202
2003
|
|
|
2203
2004
|
|
|
2204
|
-
<span class="param-type">
|
|
2205
|
-
|
|
2206
|
-
L.Map
|
|
2207
|
-
|
|
2208
|
-
</span>
|
|
2209
|
-
|
|
2005
|
+
<span class="param-type">L.Map</span>
|
|
2210
2006
|
|
|
2211
2007
|
|
|
2212
2008
|
|
|
@@ -2294,7 +2090,7 @@
|
|
|
2294
2090
|
<h4 class="name" id="redraw">
|
|
2295
2091
|
<a class="href-link" href="#redraw">#</a>
|
|
2296
2092
|
|
|
2297
|
-
<span class="code-name"
|
|
2093
|
+
<span class="code-name" style="font-size:30px">
|
|
2298
2094
|
|
|
2299
2095
|
redraw<span class="signature">()</span>
|
|
2300
2096
|
|
|
@@ -2372,7 +2168,7 @@
|
|
|
2372
2168
|
|
|
2373
2169
|
|
|
2374
2170
|
<div class='columns method-parameter'>
|
|
2375
|
-
<div class="column is-2"><label
|
|
2171
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2376
2172
|
<div class="column is-10">
|
|
2377
2173
|
|
|
2378
2174
|
|
|
@@ -2385,12 +2181,7 @@
|
|
|
2385
2181
|
<div class='column is-5 has-text-left'>
|
|
2386
2182
|
<label>类型: </label>
|
|
2387
2183
|
|
|
2388
|
-
<span class="param-type">
|
|
2389
|
-
|
|
2390
|
-
boolean
|
|
2391
|
-
|
|
2392
|
-
</span>
|
|
2393
|
-
|
|
2184
|
+
<span class="param-type">boolean</span>
|
|
2394
2185
|
|
|
2395
2186
|
|
|
2396
2187
|
</div>
|
|
@@ -2415,7 +2206,7 @@
|
|
|
2415
2206
|
<h4 class="name" id="redrawThematicFeatures">
|
|
2416
2207
|
<a class="href-link" href="#redrawThematicFeatures">#</a>
|
|
2417
2208
|
|
|
2418
|
-
<span class="code-name"
|
|
2209
|
+
<span class="code-name" style="font-size:30px">
|
|
2419
2210
|
|
|
2420
2211
|
redrawThematicFeatures<span class="signature">(bounds)</span>
|
|
2421
2212
|
|
|
@@ -2437,7 +2228,7 @@
|
|
|
2437
2228
|
|
|
2438
2229
|
|
|
2439
2230
|
|
|
2440
|
-
<h4
|
|
2231
|
+
<h4>参数:</h4>
|
|
2441
2232
|
|
|
2442
2233
|
<div class="table-container">
|
|
2443
2234
|
<table class="params table">
|
|
@@ -2467,12 +2258,7 @@
|
|
|
2467
2258
|
<td class="type">
|
|
2468
2259
|
|
|
2469
2260
|
|
|
2470
|
-
<span class="param-type">
|
|
2471
|
-
|
|
2472
|
-
L.bounds
|
|
2473
|
-
|
|
2474
|
-
</span>
|
|
2475
|
-
|
|
2261
|
+
<span class="param-type">L.bounds</span>
|
|
2476
2262
|
|
|
2477
2263
|
|
|
2478
2264
|
|
|
@@ -2560,7 +2346,7 @@
|
|
|
2560
2346
|
<h4 class="name" id="removeAllFeatures">
|
|
2561
2347
|
<a class="href-link" href="#removeAllFeatures">#</a>
|
|
2562
2348
|
|
|
2563
|
-
<span class="code-name"
|
|
2349
|
+
<span class="code-name" style="font-size:30px">
|
|
2564
2350
|
|
|
2565
2351
|
removeAllFeatures<span class="signature">()</span>
|
|
2566
2352
|
|
|
@@ -2651,7 +2437,7 @@
|
|
|
2651
2437
|
<h4 class="name" id="removeFeatures">
|
|
2652
2438
|
<a class="href-link" href="#removeFeatures">#</a>
|
|
2653
2439
|
|
|
2654
|
-
<span class="code-name"
|
|
2440
|
+
<span class="code-name" style="font-size:30px">
|
|
2655
2441
|
|
|
2656
2442
|
removeFeatures<span class="signature">(features)</span>
|
|
2657
2443
|
|
|
@@ -2673,7 +2459,7 @@
|
|
|
2673
2459
|
|
|
2674
2460
|
|
|
2675
2461
|
|
|
2676
|
-
<h4
|
|
2462
|
+
<h4>参数:</h4>
|
|
2677
2463
|
|
|
2678
2464
|
<div class="table-container">
|
|
2679
2465
|
<table class="params table">
|
|
@@ -2703,12 +2489,7 @@
|
|
|
2703
2489
|
<td class="type">
|
|
2704
2490
|
|
|
2705
2491
|
|
|
2706
|
-
<span class="param-type">
|
|
2707
|
-
|
|
2708
|
-
Array.<zondy.Feature.Vector>
|
|
2709
|
-
|
|
2710
|
-
</span>
|
|
2711
|
-
|
|
2492
|
+
<span class="param-type">Array.<zondy.Feature.Vector></span>
|
|
2712
2493
|
|
|
2713
2494
|
|
|
2714
2495
|
|
|
@@ -2796,7 +2577,7 @@
|
|
|
2796
2577
|
<h4 class="name" id="setOpacity">
|
|
2797
2578
|
<a class="href-link" href="#setOpacity">#</a>
|
|
2798
2579
|
|
|
2799
|
-
<span class="code-name"
|
|
2580
|
+
<span class="code-name" style="font-size:30px">
|
|
2800
2581
|
|
|
2801
2582
|
setOpacity<span class="signature">(opacity)</span>
|
|
2802
2583
|
|
|
@@ -2818,7 +2599,7 @@
|
|
|
2818
2599
|
|
|
2819
2600
|
|
|
2820
2601
|
|
|
2821
|
-
<h4
|
|
2602
|
+
<h4>参数:</h4>
|
|
2822
2603
|
|
|
2823
2604
|
<div class="table-container">
|
|
2824
2605
|
<table class="params table">
|
|
@@ -2848,12 +2629,7 @@
|
|
|
2848
2629
|
<td class="type">
|
|
2849
2630
|
|
|
2850
2631
|
|
|
2851
|
-
<span class="param-type">
|
|
2852
|
-
|
|
2853
|
-
number
|
|
2854
|
-
|
|
2855
|
-
</span>
|
|
2856
|
-
|
|
2632
|
+
<span class="param-type">number</span>
|
|
2857
2633
|
|
|
2858
2634
|
|
|
2859
2635
|
|
|
@@ -2941,7 +2717,7 @@
|
|
|
2941
2717
|
<h4 class="name" id="update">
|
|
2942
2718
|
<a class="href-link" href="#update">#</a>
|
|
2943
2719
|
|
|
2944
|
-
<span class="code-name"
|
|
2720
|
+
<span class="code-name" style="font-size:30px">
|
|
2945
2721
|
|
|
2946
2722
|
update<span class="signature">(bounds)</span>
|
|
2947
2723
|
|
|
@@ -2963,7 +2739,7 @@
|
|
|
2963
2739
|
|
|
2964
2740
|
|
|
2965
2741
|
|
|
2966
|
-
<h4
|
|
2742
|
+
<h4>参数:</h4>
|
|
2967
2743
|
|
|
2968
2744
|
<div class="table-container">
|
|
2969
2745
|
<table class="params table">
|
|
@@ -2993,12 +2769,7 @@
|
|
|
2993
2769
|
<td class="type">
|
|
2994
2770
|
|
|
2995
2771
|
|
|
2996
|
-
<span class="param-type">
|
|
2997
|
-
|
|
2998
|
-
L.bounds
|
|
2999
|
-
|
|
3000
|
-
</span>
|
|
3001
|
-
|
|
2772
|
+
<span class="param-type">L.bounds</span>
|
|
3002
2773
|
|
|
3003
2774
|
|
|
3004
2775
|
|
|
@@ -3088,31 +2859,6 @@
|
|
|
3088
2859
|
|
|
3089
2860
|
<div class='vertical-section' style='margin-top: 10px'>
|
|
3090
2861
|
<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
2862
|
<div class="members">
|
|
3117
2863
|
|
|
3118
2864
|
<div class="member">
|
|
@@ -3123,7 +2869,7 @@
|
|
|
3123
2869
|
<h4 class="name" id="event:changelayer">
|
|
3124
2870
|
<a class="href-link" href="#event:changelayer">#</a>
|
|
3125
2871
|
|
|
3126
|
-
<span class="code-name"
|
|
2872
|
+
<span class="code-name" style="font-size:30px">
|
|
3127
2873
|
|
|
3128
2874
|
changelayer
|
|
3129
2875
|
|
|
@@ -3181,12 +2927,7 @@
|
|
|
3181
2927
|
<td class="type">
|
|
3182
2928
|
|
|
3183
2929
|
|
|
3184
|
-
<span class="param-type">
|
|
3185
|
-
|
|
3186
|
-
Object
|
|
3187
|
-
|
|
3188
|
-
</span>
|
|
3189
|
-
|
|
2930
|
+
<span class="param-type">Object</span>
|
|
3190
2931
|
|
|
3191
2932
|
|
|
3192
2933
|
|
|
@@ -3209,12 +2950,7 @@
|
|
|
3209
2950
|
<td class="type">
|
|
3210
2951
|
|
|
3211
2952
|
|
|
3212
|
-
<span class="param-type">
|
|
3213
|
-
|
|
3214
|
-
string
|
|
3215
|
-
|
|
3216
|
-
</span>
|
|
3217
|
-
|
|
2953
|
+
<span class="param-type">string</span>
|
|
3218
2954
|
|
|
3219
2955
|
|
|
3220
2956
|
|
|
@@ -3301,7 +3037,7 @@
|
|
|
3301
3037
|
<h4 class="name" id="event:featuresremoved">
|
|
3302
3038
|
<a class="href-link" href="#event:featuresremoved">#</a>
|
|
3303
3039
|
|
|
3304
|
-
<span class="code-name"
|
|
3040
|
+
<span class="code-name" style="font-size:30px">
|
|
3305
3041
|
|
|
3306
3042
|
featuresremoved
|
|
3307
3043
|
|
|
@@ -3359,12 +3095,7 @@
|
|
|
3359
3095
|
<td class="type">
|
|
3360
3096
|
|
|
3361
3097
|
|
|
3362
|
-
<span class="param-type">
|
|
3363
|
-
|
|
3364
|
-
Array.<zondy.Feature.Vector>
|
|
3365
|
-
|
|
3366
|
-
</span>
|
|
3367
|
-
|
|
3098
|
+
<span class="param-type">Array.<zondy.Feature.Vector></span>
|
|
3368
3099
|
|
|
3369
3100
|
|
|
3370
3101
|
|
|
@@ -3387,12 +3118,7 @@
|
|
|
3387
3118
|
<td class="type">
|
|
3388
3119
|
|
|
3389
3120
|
|
|
3390
|
-
<span class="param-type">
|
|
3391
|
-
|
|
3392
|
-
boolean
|
|
3393
|
-
|
|
3394
|
-
</span>
|
|
3395
|
-
|
|
3121
|
+
<span class="param-type">boolean</span>
|
|
3396
3122
|
|
|
3397
3123
|
|
|
3398
3124
|
|
|
@@ -3476,4 +3202,42 @@
|
|
|
3476
3202
|
|
|
3477
3203
|
</article>
|
|
3478
3204
|
|
|
3479
|
-
</section>
|
|
3205
|
+
</section>
|
|
3206
|
+
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
</div>
|
|
3211
|
+
|
|
3212
|
+
<footer class="footer">
|
|
3213
|
+
<div class="content has-text-centered">
|
|
3214
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
3215
|
+
<p class="sidebar-created-by">
|
|
3216
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
3217
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
3218
|
+
</p>
|
|
3219
|
+
</div>
|
|
3220
|
+
</footer>
|
|
3221
|
+
|
|
3222
|
+
</div>
|
|
3223
|
+
<div id="side-nav" class="side-nav">
|
|
3224
|
+
<div style="margin-bottom: 10px;">
|
|
3225
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
3226
|
+
</div>
|
|
3227
|
+
<div style="margin-bottom: 10px;">
|
|
3228
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
3229
|
+
</div>
|
|
3230
|
+
<div style="margin-bottom: 10px;">
|
|
3231
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
3232
|
+
</div>
|
|
3233
|
+
<div>
|
|
3234
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
3235
|
+
</div>
|
|
3236
|
+
</div>
|
|
3237
|
+
</div>
|
|
3238
|
+
<script src="scripts/linenumber.js"> </script>
|
|
3239
|
+
|
|
3240
|
+
<script src="scripts/search.js"> </script>
|
|
3241
|
+
|
|
3242
|
+
</body>
|
|
3243
|
+
</html>
|