@mapgis/webclient-leaflet-plugin 17.6.21 → 17.8.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.
Files changed (74) hide show
  1. package/README.md +38 -0
  2. package/dist/es5/webclient-common.min.js +11 -11
  3. package/dist/es5/webclient-leaflet-plugin.min.js +6 -6
  4. package/dist/webclient-leaflet-plugin-es6.min.js +6 -6
  5. package/documention/ArcGISMapImageLayer.html +794 -763
  6. package/documention/ArcGISTileLayer.html +464 -513
  7. package/documention/EchartsLayer.html +177 -300
  8. package/documention/FeatureLayer.html +123 -242
  9. package/documention/FeatureLayerUtil.html +142 -284
  10. package/documention/GraphThemeLayer.html +769 -0
  11. package/documention/IGSImageryLayer.html +756 -733
  12. package/documention/IGSImageryTileLayer.html +615 -624
  13. package/documention/IGSMapImageLayer.html +891 -836
  14. package/documention/IGSTileLayer.html +563 -588
  15. package/documention/L.zondy.MapvBaseLayer.html +407 -601
  16. package/documention/MapLayer.html +357 -429
  17. package/documention/MapVLayer.html +215 -340
  18. package/documention/MapView.html +3947 -4390
  19. package/documention/Popup.html +684 -955
  20. package/documention/Screenshot.html +455 -665
  21. package/documention/SketchEditor.html +1584 -1990
  22. package/documention/SwipeControl.html +817 -1069
  23. package/documention/SwipeTool.html +451 -565
  24. package/documention/TileLayer.html +423 -479
  25. package/documention/TileLayerWMS.html +170 -294
  26. package/documention/VectorTileLayer.html +497 -538
  27. package/documention/WMSLayerView.html +467 -612
  28. package/documention/WebMapServiceLayer.html +710 -703
  29. package/documention/WebMapTileServiceLayer.html +710 -703
  30. package/documention/WebTileLayer.html +637 -646
  31. package/documention/fonts/fontawesome-webfont.woff2 +0 -0
  32. package/documention/fonts/glyphicons-halflings-regular.eot +0 -0
  33. package/documention/fonts/glyphicons-halflings-regular.svg +288 -0
  34. package/documention/fonts/glyphicons-halflings-regular.ttf +0 -0
  35. package/documention/fonts/glyphicons-halflings-regular.woff +0 -0
  36. package/documention/fonts/glyphicons-halflings-regular.woff2 +0 -0
  37. package/documention/global.html +7646 -8405
  38. package/documention/index.html +98 -245
  39. package/documention/initializeOptions.html +171 -290
  40. package/documention/nav.html +692 -0
  41. package/documention/scripts/adminlte/app.min.js +472 -0
  42. package/documention/scripts/bootstrap.min.js +7 -0
  43. package/documention/scripts/jquery.min.js +4 -0
  44. package/documention/scripts/jquery.min.map +1 -0
  45. package/documention/scripts/linenumber.js +22 -19
  46. package/documention/scripts/main.js +95 -0
  47. package/documention/scripts/prettify/Apache-License-2.0.txt +202 -0
  48. package/documention/scripts/prettify/lang-css.js +2 -0
  49. package/documention/scripts/prettify/prettify.js +28 -0
  50. package/documention/scripts/underscore-min.js +6 -0
  51. package/documention/scripts/underscore-min.map +1 -0
  52. package/documention/styles/adminlte/AdminLTE.min.css +7 -0
  53. package/documention/styles/adminlte/font-awesome.min.css +4 -0
  54. package/documention/styles/adminlte/skin-blue.min.css +1 -0
  55. package/documention/styles/bootstrap.min.css +6 -0
  56. package/documention/styles/common.css +175 -0
  57. package/documention/styles/examples.css +116 -0
  58. package/documention/styles/font-awesome.css +2337 -0
  59. package/documention/styles/header.css +556 -0
  60. package/documention/styles/jaguar.css +553 -0
  61. package/documention/styles/prettify-tomorrow.css +1 -1
  62. package/documention/styles/style.customize.css +631 -0
  63. package/documention/zondy.themelayer.GeoFeatureThemeLayer.html +2536 -3284
  64. package/documention/zondy.themelayer.GraphThemeLayer.html +3478 -4343
  65. package/documention/zondy.themelayer.RandomThemeLayer.html +2708 -3533
  66. package/documention/zondy.themelayer.ThemeLayer.html +1798 -2337
  67. package/documention/zondy.themelayer.ThemeStyle.html +1645 -2334
  68. package/documention/zondy.themelayer.rangeThemeLayer.html +2735 -3591
  69. package/documention/zondy.themelayer.rankSymbolThemeLayer.html +2226 -5113
  70. package/documention/zondy.themelayer.simpleThemeLayer.html +2642 -3436
  71. package/documention/zondy.themelayer.uniqueThemeLayer.html +2684 -3520
  72. package/documention/zondy.view.UI.html +236 -324
  73. package/documention/zondy.widget.html +290 -362
  74. package/package.json +5 -5
@@ -1,3247 +1,2708 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en">
3
-
2
+ <html>
4
3
  <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
-
4
+ <meta charset="utf-8">
5
+ <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
6
+ <script src="scripts/prettify/prettify.js"></script>
7
+ <script src="scripts/prettify/lang-css.js"></script>
8
+ <title> MapGIS Client for JavaScript API </title>
9
+ <script type="text/javascript">
10
+
11
+ </script>
12
+ <!--[if lt IE 9]>
13
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14
+ <![endif]-->
15
+ <script src="scripts/jquery.min.js"></script>
16
+ <script src="scripts/adminlte/app.min.js"></script>
17
+ <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
18
+ <link type="text/css" rel="stylesheet" href="styles/adminlte/AdminLTE.min.css">
19
+ <link type="text/css" rel="stylesheet" href="styles/adminlte/skin-blue.min.css">
20
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
21
+ <link type="text/css" rel="stylesheet" href="styles/common.css">
22
+ <link type="text/css" rel="stylesheet" href="styles/header.css">
23
+ <link type="text/css" rel="stylesheet" href="styles/examples.css">
24
+ <link type="text/css" rel="stylesheet" href="styles/style.customize.css">
25
+ <link type="text/css" rel="stylesheet" href="styles/font-awesome.css">
26
+ <link type="text/css" rel="stylesheet" href="styles/jaguar.css">
27
+ <script src="scripts/bootstrap.min.js"></script>
17
28
  </head>
18
-
19
-
20
-
21
- <body class="layout small-header">
22
- <div id="stickyNavbarOverlay"></div>
23
-
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
29
+ <body class='sidebar-mini'>
30
+
31
+ <div id="wrap" class="clearfix">
32
+ <header class="header-wrapper main-header mapgis-header">
33
+ <nav class="navbar navbar-static-top lite">
34
+ <div class="nav-header">
35
+ <div class="navbar-header">
36
+ <div class="navbar-title" style="display: flex;align-items: center; ">
37
+ <a href="index.html">
38
+ <img class="mapgis-webclient-logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAACXBIWXMAAAsSAAALEgHS3X78AAAgAElEQVR42u2de3gb5Z3vv+/Yjp2rFF8Sx5atsRMgpbRWC7Q9tF2rfbYtpZQYKBRoS4aWpeFWD3DKluW0Hvd2oGnppKHAlpsMIaSwgF3ucHaR95xuT7cPi10O5ZLYluI4duxcJ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KA+1gTD31wFd85l01AUxaiq97PlRfjpwiqhFI02LVbbvAmDz94EUe8y6aAKYtRd/pmlVfBvj33GkUaW69YEwKPNJi+nkmgAZDeM1zs+vLwW8cD/l5itZxiWreKRPAjIpw9TOivsaMtknnT599pj1+qennmQBm8eZ94+krQPQe7by8x7wbJoCmFKI1MW+BKSaAppgAmmKKCaApJoCmmJJN+f8yRATGNXIUUAAAAABJRU5ErkJggg==">
76
39
  </a>
77
-
78
- <a
79
- class="link user-link "
80
- href="/static/modules/video/api/video-mapgis/index.html"
81
- >
82
- Video-Plugin
40
+ <a class="navbar-brand">
41
+ <span class="mapgis-webclient-text"> MapGIS Client for JavaScript(Leaflet) </span>
83
42
  </a>
84
-
85
-
86
-
43
+ <div id="suffix-title">for MapboxGL</div>
44
+ </div>
45
+ <button
46
+ type="button"
47
+ class="navbar-toggle collapsed"
48
+ data-toggle="collapse"
49
+ data-target="#navbar-collapse"
50
+ aria-expanded="false"
51
+ >
52
+ <i class="fa fa-bars"></i>
53
+ </button>
54
+ </div>
87
55
  </div>
88
- </div>
56
+ </nav>
57
+ </header>
58
+ <div class="navigationDiv">
89
59
  </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地图服务接入类</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瓦片服务接入类</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="IGSImageryLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryLayer.html">IGSImageryLayer</a><span style="display: none;"><p>IGS影像图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryTileLayer.html">IGSImageryTileLayer</a><span style="display: none;"><p>IGS影像瓦片图层(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>IGS地图服务接入类</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瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>通过Common的图层对象构建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="SwipeControl"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SwipeControl.html">SwipeControl</a><span style="display: none;">undefined</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>矢量瓦片服务接入类</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服务接入类</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服务接入类</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>网络瓦片服务接入类</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__container 弹窗容器样式<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 &quot;@mapgis/webclient-leaflet-plugin&quot; <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="SwipeTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SwipeTool.html">SwipeTool</a><span style="display: none;"><p>卷帘工具,继承自<a href='http://10.10.130.72:8086/static/modules/common/api/common-mapgis/BaseSwipeTool.html' target='_blank'>zondy.tool.BaseSwipeTool</a><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
-
140
-
60
+ <div class="main content-wrapper examples-container">
61
+ <h1 class="page-title" data-filename="zondy.themelayer.ThemeLayer.html">Class: ThemeLayer</h1>
62
+
141
63
 
142
64
 
143
65
 
144
66
  <section>
67
+
68
+ <header>
69
+ <h2></span>ThemeLayer
70
+
71
+
72
+ </h2>
73
+
74
+ </header>
145
75
 
146
76
  <article>
147
77
  <div class="container-overview">
148
78
 
149
-
150
- <div class='vertical-section'>
151
- <div class="members">
152
- <div class="member">
153
-
154
-
155
-
156
79
 
157
- <h4 class="name" id="ThemeLayer">
158
- <a class="href-link" href="#ThemeLayer">#</a>
80
+
159
81
 
160
- <span class="code-name" style="font-size:30px">
161
-
162
- new ThemeLayer<span class="signature">(name, options)</span>
82
+ <dt>
83
+ <div class="nameContainer">
84
+ <h4 class="name" id="ThemeLayer">
163
85
 
164
- </span>
165
- </h4>
86
+ new zondy.themelayer.ThemeLayer<span class="signature">(name, options)</span>
87
+ </h4>
166
88
 
89
+
90
+ <div class="tag-source">
91
+ document/theme/ThemeLayer.js, line 8
92
+ </div>
93
+
94
+ </div>
167
95
 
168
96
 
97
+ </dt>
98
+ <dd>
99
+
100
+
169
101
  <div class="description">
170
102
  <p>专题图层基类,调用建议使用其子类实现类。</p>
171
103
  </div>
172
104
 
173
105
 
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
- <h4>参数:</h4>
183
106
 
184
- <div class="table-container">
185
- <table class="params table">
186
- <thead>
107
+
108
+
109
+
110
+
111
+
112
+
113
+ <table class="params">
114
+ <thead>
115
+ <tr>
116
+
117
+ <th>Name</th>
118
+
119
+
120
+ <th>Type</th>
121
+
122
+
123
+
124
+ <th class="last">Description</th>
125
+ </tr>
126
+ </thead>
127
+
128
+ <tbody>
129
+
130
+
187
131
  <tr>
188
132
 
189
- <th>名称</th>
133
+ <td class="name"><code>name</code></td>
134
+
135
+
136
+ <td class="type">
190
137
 
138
+
139
+ <span class="param-type">string</span>
191
140
 
192
- <th>类型</th>
193
141
 
194
142
 
195
- <th style="min-width: 100px;">默认值</th>
143
+ </td>
196
144
 
197
-
198
- <th class="last">描述</th>
145
+
146
+
147
+ <td class="description last">
148
+
149
+ <p>专题图图层名称。</p></td>
199
150
  </tr>
200
- </thead>
201
-
202
- <tbody>
203
-
204
-
151
+
152
+
153
+
154
+ <tr>
205
155
 
206
- <tr class="deep-level-0">
207
-
208
- <td class="name"><code>name</code></td>
209
-
210
-
211
- <td class="type">
212
-
213
-
214
- <span class="param-type">string</span>
215
-
216
-
217
-
218
- </td>
219
-
220
-
221
- <td class="default">
222
-
223
- </td>
224
-
225
-
226
- <td class="description last"><p>专题图图层名称。</p></td>
227
- </tr>
228
-
229
-
230
-
231
-
232
-
156
+ <td class="name"><code>options</code></td>
233
157
 
234
- <tr class="deep-level-0">
235
-
236
- <td class="name"><code>options</code></td>
237
-
238
-
239
- <td class="type">
240
-
241
-
158
+
159
+ <td class="type">
160
+
161
+
242
162
  <span class="param-type">Object</span>
243
163
 
244
164
 
245
-
246
- </td>
247
-
248
-
249
- <td class="default">
250
-
251
- </td>
252
-
253
-
254
- <td class="description last"><p>可选参数。</p></td>
255
- </tr>
256
-
257
-
258
-
259
-
260
- <tr class="deep-level-1">
261
-
262
- <td class="name"><code>id</code></td>
263
-
165
+
166
+ </td>
167
+
168
+
169
+
170
+ <td class="description last">
171
+
172
+ <p>可选参数。</p>
173
+
264
174
 
265
- <td class="type">
266
-
267
-
175
+ <table class="params">
176
+ <thead>
177
+ <tr>
178
+
179
+ <th>Name</th>
180
+
181
+
182
+ <th>Type</th>
183
+
184
+
185
+ <th>Default</th>
186
+
187
+
188
+ <th class="last">Description</th>
189
+ </tr>
190
+ </thead>
191
+
192
+ <tbody>
193
+
194
+
195
+ <tr>
196
+
197
+ <td class="name"><code>id</code></td>
198
+
199
+
200
+ <td class="type">
201
+
202
+
268
203
  <span class="param-type">string</span>
269
204
 
270
205
 
271
-
272
- </td>
273
-
274
-
275
- <td class="default">
276
-
277
- </td>
278
-
279
-
280
- <td class="description last"><p>专题图层 ID。默认使用 CommonUtil.createUniqueID(&quot;themeLayer_&quot;) 创建专题图层 ID。</p></td>
281
- </tr>
282
-
283
-
284
-
285
-
286
- <tr class="deep-level-1">
287
-
288
- <td class="name"><code>opacity</code></td>
289
-
290
-
291
- <td class="type">
292
-
293
-
206
+
207
+ </td>
208
+
209
+
210
+ <td class="default">
211
+
212
+ </td>
213
+
214
+
215
+ <td class="description last">
216
+
217
+
218
+ <span class="optional"> 可选</span>
219
+
220
+
221
+
222
+
223
+
224
+ <p>专题图层 ID。默认使用 CommonUtil.createUniqueID(&quot;themeLayer_&quot;) 创建专题图层 ID。</p></td>
225
+ </tr>
226
+
227
+
228
+
229
+ <tr>
230
+
231
+ <td class="name"><code>opacity</code></td>
232
+
233
+
234
+ <td class="type">
235
+
236
+
294
237
  <span class="param-type">number</span>
295
238
 
296
239
 
297
-
298
- </td>
299
-
300
-
301
- <td class="default">
302
-
303
- 1
304
-
305
- </td>
306
-
307
-
308
- <td class="description last"><p>图层透明度。</p></td>
309
- </tr>
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
- </tbody>
318
- </table>
319
- </div>
320
-
321
-
322
-
323
-
324
-
325
-
240
+
241
+ </td>
242
+
243
+
244
+ <td class="default">
245
+
246
+ 1
247
+
248
+ </td>
249
+
250
+
251
+ <td class="description last">
252
+
253
+
254
+ <span class="optional"> 可选</span>
255
+
256
+
257
+
258
+
259
+
260
+ <p>图层透明度。</p></td>
261
+ </tr>
262
+
263
+
264
+ </tbody>
265
+ </table>
266
+ </td>
267
+ </tr>
268
+
269
+
270
+ </tbody>
271
+ </table>
272
+
273
+
274
+
326
275
  <dl class="details">
327
-
328
276
 
329
-
277
+
330
278
 
331
-
332
279
 
333
-
334
280
 
335
281
 
336
282
 
337
-
338
283
 
339
-
340
284
 
341
-
342
285
 
343
-
344
286
 
345
-
346
287
 
347
-
348
288
 
349
-
350
289
 
351
290
 
352
-
353
291
 
354
-
355
292
 
356
-
357
293
 
358
- </dl>
359
-
360
-
361
-
362
-
363
-
364
- <div class="method-parameter columns">
365
- <div class="column is-2"><label>绑定事件:</label></div>
366
- <div class="column is-10">
367
- <ul>
368
- <li><a href="zondy.themelayer.ThemeLayer.html#event:featuresremoved">zondy.themelayer.ThemeLayer#event:featuresremoved</a></li>
369
- </ul>
370
- </div>
371
- </div>
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
- </div>
393
- </div>
394
- </div>
395
-
396
294
 
397
- </div>
398
295
 
399
296
 
400
- <h3 class="subsection-title">继承关系</h3>
401
-
402
-
403
-
297
+ </dl>
404
298
 
299
+
300
+
301
+ <h5>Fires</h5>
405
302
  <ul>
406
- <li>L.Layer</li>
303
+ <li><a href="zondy.themelayer.ThemeLayer.html#event:featuresremoved">zondy.themelayer.ThemeLayer#event:featuresremoved</a></li>
407
304
  </ul>
408
-
409
-
410
-
411
-
412
305
 
413
306
 
414
307
 
415
308
 
416
309
 
417
-
418
310
 
419
-
420
311
 
421
-
422
312
 
423
-
424
313
 
425
- <div class='vertical-section'>
426
- <h3 id='function'>方法</h3>
427
- <div class="members">
428
-
429
- <div class="member">
430
-
431
-
432
314
 
433
- <h4 class="name" id="addFeatures">
434
- <a class="href-link" href="#addFeatures">#</a>
435
-
436
- <span class="code-name" style="font-size:30px">
437
-
438
- addFeatures<span class="signature">(features)</span>
439
-
440
- </span>
441
- </h4>
442
315
 
316
+ </dd>
443
317
 
444
318
 
445
- <div class="description">
446
- <p>向专题图图层中添加数据。</p>
447
319
  </div>
448
320
 
449
-
450
-
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
- <h4>参数:</h4>
459
321
 
460
- <div class="table-container">
461
- <table class="params table">
462
- <thead>
463
- <tr>
322
+ <h3 class="subsection-title">Extends</h3>
323
+ <ul>
464
324
 
465
- <th>名称</th>
466
325
 
467
-
468
- <th>类型</th>
469
-
470
326
 
471
-
472
- <th class="last">描述</th>
473
- </tr>
474
- </thead>
475
-
476
- <tbody>
477
-
478
-
479
327
 
480
- <tr class="deep-level-0">
481
-
482
- <td class="name"><code>features</code></td>
483
-
484
-
485
- <td class="type">
486
-
487
-
488
- <span class="param-type">Object</span>
489
-
490
-
491
-
492
- </td>
493
-
494
-
495
-
496
- <td class="description last"><p>待转要素。</p></td>
497
- </tr>
498
-
499
-
500
-
501
-
502
- </tbody>
503
- </table>
504
- </div>
505
-
506
-
507
-
508
-
509
-
510
-
511
- <dl class="details">
512
-
328
+ <li>L.Layer</li>
329
+
330
+
331
+ </ul>
513
332
 
514
333
 
515
334
 
516
-
517
335
 
518
-
519
336
 
520
-
521
337
 
522
-
523
338
 
524
-
525
339
 
526
-
527
340
 
528
-
341
+
529
342
 
530
343
 
531
344
 
345
+ <h3 class="subsection-title">Events</h3>
532
346
 
347
+ <dl>
348
+
349
+ <dt>
350
+ <div class="nameContainer">
351
+ <h4 class="name" id="event:changelayer">
352
+
353
+ changelayer
354
+ </h4>
533
355
 
356
+
357
+ <div class="tag-source">
358
+ document/theme/ThemeLayer.js, line 485
359
+ </div>
360
+
361
+ </div>
534
362
 
535
363
 
364
+ </dt>
365
+ <dd>
536
366
 
537
-
538
367
 
539
-
368
+ <div class="description">
369
+ <p>图层属性改变之后触发。</p>
370
+ </div>
540
371
 
541
372
 
542
373
 
543
- </dl>
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
- </div>
568
-
569
- <div class="member">
570
-
571
-
572
374
 
573
- <h4 class="name" id="destroyFeatures">
574
- <a class="href-link" href="#destroyFeatures">#</a>
575
-
576
- <span class="code-name" style="font-size:30px">
577
-
578
- destroyFeatures<span class="signature">(features)</span>
579
-
580
- </span>
581
- </h4>
582
375
 
583
-
584
376
 
585
- <div class="description">
586
- <p>销毁要素。</p>
587
- </div>
588
377
 
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
- <h4>参数:</h4>
599
378
 
600
- <div class="table-container">
601
- <table class="params table">
602
- <thead>
379
+
380
+ <dl class="details">
381
+
382
+
383
+ <h5 class="subsection-title">Properties:</h5>
384
+
385
+ <dl>
386
+
387
+ <table class="props">
388
+ <thead>
389
+ <tr>
390
+
391
+ <th>Name</th>
392
+
393
+
394
+ <th>Type</th>
395
+
396
+
397
+
398
+ <th class="last">Description</th>
399
+ </tr>
400
+ </thead>
401
+
402
+ <tbody>
403
+
404
+
603
405
  <tr>
604
406
 
605
- <th>名称</th>
407
+ <td class="name"
408
+ ><code>layer</code></td>
409
+
606
410
 
411
+ <td class="type">
412
+
413
+
414
+ <span class="param-type">Object</span>
607
415
 
608
- <th>类型</th>
609
416
 
610
417
 
611
-
612
- <th class="last">描述</th>
418
+ </td>
419
+
420
+
421
+
422
+
423
+ <td class="description last"> <p>图层。</p></td>
613
424
  </tr>
614
- </thead>
615
-
616
- <tbody>
617
-
618
-
425
+
426
+
427
+
428
+ <tr>
619
429
 
620
- <tr class="deep-level-0">
621
-
622
- <td class="name"><code>features</code></td>
623
-
624
-
625
- <td class="type">
626
-
627
-
628
- <span class="param-type">Array.&lt;zondy.Feature.Vector></span>
629
-
630
-
631
-
632
- </td>
633
-
634
-
635
-
636
- <td class="description last"><p>将被销毁的要素。</p></td>
637
- </tr>
638
-
430
+ <td class="name"
431
+ ><code>property</code></td>
432
+
433
+
434
+ <td class="type">
435
+
436
+
437
+ <span class="param-type">string</span>
639
438
 
640
439
 
440
+
441
+ </td>
442
+
443
+
444
+
445
+
446
+ <td class="description last"> <p>图层属性。</p></td>
447
+ </tr>
448
+
449
+
450
+ </tbody>
451
+ </table></dl>
641
452
 
642
- </tbody>
643
- </table>
644
- </div>
645
-
646
-
647
-
648
-
649
-
650
-
651
- <dl class="details">
652
-
653
453
 
654
-
454
+
655
455
 
656
-
657
456
 
658
-
659
457
 
660
458
 
661
459
 
662
-
663
460
 
664
-
665
461
 
666
-
667
462
 
668
-
669
463
 
670
-
671
464
 
672
-
673
465
 
674
-
675
466
 
676
467
 
677
-
678
468
 
679
-
680
469
 
681
-
470
+
471
+
472
+
682
473
 
683
474
  </dl>
684
475
 
476
+
477
+
685
478
 
479
+
686
480
 
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
-
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
- </div>
708
-
709
- <div class="member">
710
-
711
-
712
481
 
713
- <h4 class="name" id="getEvents">
714
- <a class="href-link" href="#getEvents">#</a>
482
+
483
+
484
+
485
+
486
+
487
+
488
+ </dd>
489
+
715
490
 
716
- <span class="code-name" style="font-size:30px">
717
491
 
718
- getEvents<span class="signature">()</span>
492
+ <dt>
493
+ <div class="nameContainer">
494
+ <h4 class="name" id="event:featuresremoved">
719
495
 
720
- </span>
721
- </h4>
496
+ featuresremoved
497
+ </h4>
722
498
 
499
+
500
+ <div class="tag-source">
501
+ document/theme/ThemeLayer.js, line 193
502
+ </div>
503
+
504
+ </div>
723
505
 
724
506
 
507
+ </dt>
508
+ <dd>
509
+
510
+
725
511
  <div class="description">
726
- <p>获取图层事件。</p>
512
+ <p>删除的要素成功之后触发。</p>
727
513
  </div>
728
514
 
729
515
 
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+ <dl class="details">
524
+
525
+
526
+ <h5 class="subsection-title">Properties:</h5>
527
+
528
+ <dl>
529
+
530
+ <table class="props">
531
+ <thead>
532
+ <tr>
533
+
534
+ <th>Name</th>
535
+
536
+
537
+ <th>Type</th>
538
+
539
+
540
+
541
+ <th class="last">Description</th>
542
+ </tr>
543
+ </thead>
544
+
545
+ <tbody>
546
+
547
+
548
+ <tr>
549
+
550
+ <td class="name"
551
+ ><code>features</code></td>
552
+
553
+
554
+ <td class="type">
555
+
556
+
557
+ <span class="param-type">Array.&lt;zondy.Feature.Vector></span>
730
558
 
731
559
 
560
+
561
+ </td>
562
+
563
+
564
+
565
+
566
+ <td class="description last"> <p>事件对象。</p></td>
567
+ </tr>
568
+
569
+
570
+
571
+ <tr>
572
+
573
+ <td class="name"
574
+ ><code>succeed</code></td>
575
+
576
+
577
+ <td class="type">
578
+
579
+
580
+ <span class="param-type">boolean</span>
732
581
 
733
582
 
734
-
735
-
736
-
737
-
738
-
739
-
740
-
741
-
742
- <dl class="details">
743
-
583
+
584
+ </td>
585
+
586
+
587
+
588
+
589
+ <td class="description last"> <p>要输是否删除成功,true 为删除成功,false 为删除失败。</p></td>
590
+ </tr>
591
+
592
+
593
+ </tbody>
594
+ </table></dl>
595
+
744
596
 
745
-
597
+
746
598
 
747
-
748
599
 
749
-
750
600
 
751
601
 
752
602
 
753
-
754
603
 
755
-
756
604
 
757
-
758
605
 
759
-
760
606
 
761
-
762
607
 
763
-
764
608
 
765
-
766
609
 
767
610
 
768
-
769
611
 
770
-
771
612
 
772
-
613
+
614
+
615
+
773
616
 
774
617
  </dl>
775
618
 
619
+
620
+
776
621
 
622
+
777
623
 
778
-
779
-
780
-
781
-
782
-
783
-
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
- <div class='columns method-parameter'>
794
- <div class="column is-2"><label>返回值:</label></div>
795
- <div class="column is-10">
796
-
797
-
798
-
799
- <div class="columns">
800
624
 
801
- <div class='param-desc column is-7'><p>返回图层支持的事件。</p></div>
802
625
 
803
626
 
804
- <div class='column is-5 has-text-left'>
805
- <label>类型: </label>
806
-
807
- <span class="param-type">Object</span>
808
-
809
-
810
- </div>
811
627
 
812
- </div>
813
-
814
-
815
- </div>
816
- </div>
817
-
818
-
819
-
820
-
821
-
822
-
823
- </div>
824
-
825
- <div class="member">
628
+
629
+
630
+
631
+ </dd>
826
632
 
633
+ </dl>
634
+
827
635
 
828
636
 
829
- <h4 class="name" id="getFeatureBy">
830
- <a class="href-link" href="#getFeatureBy">#</a>
637
+ <h3 class="subsection-title">Methods</h3>
831
638
 
832
- <span class="code-name" style="font-size:30px">
639
+ <dl>
833
640
 
834
- getFeatureBy<span class="signature">(property, value)</span>
641
+ <dt>
642
+ <div class="nameContainer">
643
+ <h4 class="name" id="addFeatures">
835
644
 
836
- </span>
837
- </h4>
645
+ addFeatures<span class="signature">(features)</span>
646
+ </h4>
838
647
 
648
+
649
+ <div class="tag-source">
650
+ document/theme/ThemeLayer.js, line 105
651
+ </div>
652
+
653
+ </div>
839
654
 
840
655
 
656
+ </dt>
657
+ <dd>
658
+
659
+
841
660
  <div class="description">
842
- <p>在专题图的要素数组 features 里面遍历每一个 feature,当 feature[property] === value 时,返回此 feature(并且只返回第一个)。</p>
661
+ <p>向专题图图层中添加数据。</p>
843
662
  </div>
844
663
 
845
664
 
846
-
847
-
848
-
849
-
850
-
851
-
852
-
853
-
854
- <h4>参数:</h4>
855
665
 
856
- <div class="table-container">
857
- <table class="params table">
858
- <thead>
666
+
667
+
668
+
669
+
670
+
671
+
672
+ <table class="params">
673
+ <thead>
674
+ <tr>
675
+
676
+ <th>Name</th>
677
+
678
+
679
+ <th>Type</th>
680
+
681
+
682
+
683
+ <th class="last">Description</th>
684
+ </tr>
685
+ </thead>
686
+
687
+ <tbody>
688
+
689
+
859
690
  <tr>
860
691
 
861
- <th>名称</th>
692
+ <td class="name"><code>features</code></td>
862
693
 
863
-
864
- <th>类型</th>
865
-
866
694
 
867
-
868
- <th class="last">描述</th>
869
- </tr>
870
- </thead>
871
-
872
- <tbody>
873
-
874
-
695
+ <td class="type">
875
696
 
876
- <tr class="deep-level-0">
877
-
878
- <td class="name"><code>property</code></td>
879
-
880
-
881
- <td class="type">
882
-
883
-
884
- <span class="param-type">string</span>
885
-
886
-
887
-
888
- </td>
889
-
890
-
891
-
892
- <td class="description last"><p>要的某个属性名。</p></td>
893
- </tr>
894
-
895
-
697
+
698
+ <span class="param-type">Object</span>
896
699
 
897
-
898
700
 
899
701
 
900
- <tr class="deep-level-0">
901
-
902
- <td class="name"><code>value</code></td>
903
-
904
-
905
- <td class="type">
906
-
907
-
908
- <span class="param-type">string</span>
909
-
910
-
911
-
912
- </td>
913
-
914
-
915
-
916
- <td class="description last"><p>对应属性名得值。</p></td>
917
- </tr>
918
-
919
-
920
-
921
-
922
- </tbody>
923
- </table>
924
- </div>
925
-
926
-
927
-
928
-
929
-
930
-
702
+ </td>
703
+
704
+
705
+
706
+ <td class="description last">
707
+
708
+ <p>待转要素。</p></td>
709
+ </tr>
710
+
711
+
712
+ </tbody>
713
+ </table>
714
+
715
+
716
+
931
717
  <dl class="details">
932
-
933
718
 
934
-
719
+
935
720
 
936
-
937
721
 
938
-
939
722
 
940
723
 
941
724
 
942
-
943
725
 
944
-
945
726
 
946
-
947
727
 
948
-
949
728
 
950
-
951
729
 
952
-
953
730
 
954
-
955
731
 
956
732
 
957
-
958
733
 
959
-
960
734
 
961
-
735
+
736
+
737
+
962
738
 
963
739
  </dl>
964
740
 
741
+
742
+
965
743
 
744
+
966
745
 
967
-
968
-
969
-
970
-
971
-
972
-
973
-
974
-
975
-
976
-
977
-
978
-
979
-
980
-
981
-
982
-
983
-
984
-
985
-
986
-
987
- </div>
988
-
989
- <div class="member">
990
-
991
-
992
746
 
993
- <h4 class="name" id="getFeatureById">
994
- <a class="href-link" href="#getFeatureById">#</a>
747
+
748
+
749
+
750
+
751
+
752
+
753
+ </dd>
754
+
995
755
 
996
- <span class="code-name" style="font-size:30px">
997
756
 
998
- getFeatureById<span class="signature">(featureId)</span>
757
+ <dt>
758
+ <div class="nameContainer">
759
+ <h4 class="name" id="destroyFeatures">
999
760
 
1000
- </span>
1001
- </h4>
761
+ destroyFeatures<span class="signature">(features)</span>
762
+ </h4>
1002
763
 
764
+
765
+ <div class="tag-source">
766
+ document/theme/ThemeLayer.js, line 125
767
+ </div>
768
+
769
+ </div>
1003
770
 
1004
771
 
772
+ </dt>
773
+ <dd>
774
+
775
+
1005
776
  <div class="description">
1006
- <p>通过给定一个 ID,返回对应的矢量要素,如果不存在则返回 null。</p>
777
+ <p>销毁要素。</p>
1007
778
  </div>
1008
779
 
1009
780
 
1010
-
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
- <h4>参数:</h4>
1019
781
 
1020
- <div class="table-container">
1021
- <table class="params table">
1022
- <thead>
782
+
783
+
784
+
785
+
786
+
787
+
788
+ <table class="params">
789
+ <thead>
790
+ <tr>
791
+
792
+ <th>Name</th>
793
+
794
+
795
+ <th>Type</th>
796
+
797
+
798
+
799
+ <th class="last">Description</th>
800
+ </tr>
801
+ </thead>
802
+
803
+ <tbody>
804
+
805
+
1023
806
  <tr>
1024
807
 
1025
- <th>名称</th>
808
+ <td class="name"><code>features</code></td>
1026
809
 
1027
-
1028
- <th>类型</th>
1029
-
1030
810
 
1031
-
1032
- <th class="last">描述</th>
1033
- </tr>
1034
- </thead>
1035
-
1036
- <tbody>
1037
-
1038
-
811
+ <td class="type">
1039
812
 
1040
- <tr class="deep-level-0">
1041
-
1042
- <td class="name"><code>featureId</code></td>
1043
-
1044
-
1045
- <td class="type">
1046
-
1047
-
1048
- <span class="param-type">number</span>
1049
-
1050
-
1051
-
1052
- </td>
1053
-
1054
-
1055
-
1056
- <td class="description last"><p>要素 ID。</p></td>
1057
- </tr>
1058
-
1059
-
1060
-
1061
-
1062
- </tbody>
1063
- </table>
1064
- </div>
1065
-
1066
-
1067
-
1068
-
813
+
814
+ <span class="param-type">Array.&lt;zondy.Feature.Vector></span>
1069
815
 
1070
816
 
817
+
818
+ </td>
819
+
820
+
821
+
822
+ <td class="description last">
823
+
824
+ <p>将被销毁的要素。</p></td>
825
+ </tr>
826
+
827
+
828
+ </tbody>
829
+ </table>
830
+
831
+
832
+
1071
833
  <dl class="details">
1072
-
1073
834
 
1074
-
835
+
1075
836
 
1076
-
1077
837
 
1078
-
1079
838
 
1080
839
 
1081
840
 
1082
-
1083
841
 
1084
-
1085
842
 
1086
-
1087
843
 
1088
-
1089
844
 
1090
-
1091
845
 
1092
-
1093
846
 
1094
-
1095
847
 
1096
848
 
1097
-
1098
849
 
1099
-
1100
850
 
1101
-
851
+
852
+
853
+
1102
854
 
1103
855
  </dl>
1104
856
 
857
+
858
+
1105
859
 
860
+
1106
861
 
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+ </dd>
1107
870
 
1108
-
1109
-
1110
-
1111
-
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
- </div>
1128
-
1129
- <div class="member">
1130
-
871
+
872
+
873
+ <dt>
874
+ <div class="nameContainer">
875
+ <h4 class="name" id="getEvents">
876
+
877
+ getEvents<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Object}</span>
878
+ </h4>
879
+
880
+
881
+ <div class="tag-source">
882
+ document/theme/ThemeLayer.js, line 36
883
+ </div>
884
+
885
+ </div>
1131
886
 
1132
887
 
1133
- <h4 class="name" id="getFeatures">
1134
- <a class="href-link" href="#getFeatures">#</a>
1135
-
1136
- <span class="code-name" style="font-size:30px">
1137
-
1138
- getFeatures<span class="signature">()</span>
1139
-
1140
- </span>
1141
- </h4>
888
+ </dt>
889
+ <dd>
1142
890
 
1143
-
1144
891
 
1145
892
  <div class="description">
1146
- <p>查看当前图层中的有效数据。</p>
893
+ <p>获取图层事件。</p>
1147
894
  </div>
1148
895
 
1149
896
 
1150
-
1151
-
1152
-
1153
-
1154
-
1155
-
1156
-
1157
-
1158
-
1159
-
1160
-
1161
-
897
+
898
+
899
+
900
+
901
+
902
+
903
+
1162
904
  <dl class="details">
1163
-
1164
905
 
1165
-
906
+
1166
907
 
1167
-
1168
908
 
1169
-
1170
909
 
1171
910
 
1172
911
 
1173
-
1174
912
 
1175
-
1176
913
 
1177
-
1178
914
 
1179
-
1180
915
 
1181
-
1182
916
 
1183
-
1184
917
 
1185
-
1186
918
 
1187
919
 
1188
-
1189
920
 
1190
-
1191
921
 
1192
-
922
+
923
+
924
+
1193
925
 
1194
926
  </dl>
1195
927
 
928
+
929
+
1196
930
 
931
+
1197
932
 
933
+
934
+
935
+
936
+
937
+
938
+ <h5>Returns:</h5>
939
+
1198
940
 
1199
941
 
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
-
1208
-
1209
-
1210
-
1211
-
1212
-
1213
- <div class='columns method-parameter'>
1214
- <div class="column is-2"><label>返回值:</label></div>
1215
- <div class="column is-10">
942
+ <table class="params">
943
+ <thead>
944
+ <tr>
945
+
946
+ <th>Type</th>
947
+ <th class="last">Description</th>
948
+ </tr>
949
+ </thead>
950
+ <tbody>
951
+
952
+ <tr>
1216
953
 
954
+ <td class="type">
955
+
956
+ Object
957
+
1217
958
 
959
+ </td>
960
+ <td class="description last">返回图层支持的事件。</td>
961
+ </tr>
962
+
963
+ </tbody>
964
+ </table>
1218
965
 
1219
- <div class="columns">
1220
966
 
1221
- <div class='param-desc column is-7'><p>返回图层中的有效数据。</p></div>
1222
967
 
1223
968
 
1224
- <div class='column is-5 has-text-left'>
1225
- <label>类型: </label>
1226
-
1227
- <span class="param-type">Array</span>
969
+ </dd>
1228
970
 
1229
-
1230
- </div>
971
+
972
+
973
+ <dt>
974
+ <div class="nameContainer">
975
+ <h4 class="name" id="getFeatureBy">
976
+
977
+ getFeatureBy<span class="signature">(property, value)</span>
978
+ </h4>
1231
979
 
1232
- </div>
1233
-
1234
-
980
+
981
+ <div class="tag-source">
982
+ document/theme/ThemeLayer.js, line 236
1235
983
  </div>
984
+
1236
985
  </div>
1237
986
 
1238
-
1239
-
1240
-
1241
-
1242
-
1243
- </div>
1244
-
1245
- <div class="member">
1246
-
1247
-
1248
987
 
1249
- <h4 class="name" id="getFeaturesByAttribute">
1250
- <a class="href-link" href="#getFeaturesByAttribute">#</a>
1251
-
1252
- <span class="code-name" style="font-size:30px">
1253
-
1254
- getFeaturesByAttribute<span class="signature">(attrName, attrValue)</span>
1255
-
1256
- </span>
1257
- </h4>
988
+ </dt>
989
+ <dd>
1258
990
 
1259
-
1260
991
 
1261
992
  <div class="description">
1262
- <p>通过给定一个属性的 key 值和 value 值,返回所有匹配的要素数组。</p>
993
+ <p>在专题图的要素数组 features 里面遍历每一个 feature,当 feature[property] === value 时,返回此 feature(并且只返回第一个)。</p>
1263
994
  </div>
1264
995
 
1265
996
 
1266
-
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
-
1274
- <h4>参数:</h4>
1275
997
 
1276
- <div class="table-container">
1277
- <table class="params table">
1278
- <thead>
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+ <table class="params">
1005
+ <thead>
1006
+ <tr>
1007
+
1008
+ <th>Name</th>
1009
+
1010
+
1011
+ <th>Type</th>
1012
+
1013
+
1014
+
1015
+ <th class="last">Description</th>
1016
+ </tr>
1017
+ </thead>
1018
+
1019
+ <tbody>
1020
+
1021
+
1279
1022
  <tr>
1280
1023
 
1281
- <th>名称</th>
1024
+ <td class="name"><code>property</code></td>
1282
1025
 
1283
-
1284
- <th>类型</th>
1285
-
1286
1026
 
1287
-
1288
- <th class="last">描述</th>
1289
- </tr>
1290
- </thead>
1291
-
1292
- <tbody>
1293
-
1294
-
1027
+ <td class="type">
1295
1028
 
1296
- <tr class="deep-level-0">
1297
-
1298
- <td class="name"><code>attrName</code></td>
1299
-
1300
-
1301
- <td class="type">
1302
-
1303
-
1029
+
1304
1030
  <span class="param-type">string</span>
1305
1031
 
1306
1032
 
1307
-
1308
- </td>
1309
-
1310
-
1311
-
1312
- <td class="description last"><p>key 值。</p></td>
1313
- </tr>
1314
-
1315
-
1316
-
1317
-
1318
-
1319
1033
 
1320
- <tr class="deep-level-0">
1321
-
1322
- <td class="name"><code>attrValue</code></td>
1323
-
1324
-
1325
- <td class="type">
1326
-
1327
-
1034
+ </td>
1035
+
1036
+
1037
+
1038
+ <td class="description last">
1039
+
1040
+ <p>要的某个属性名。</p></td>
1041
+ </tr>
1042
+
1043
+
1044
+
1045
+ <tr>
1046
+
1047
+ <td class="name"><code>value</code></td>
1048
+
1049
+
1050
+ <td class="type">
1051
+
1052
+
1328
1053
  <span class="param-type">string</span>
1329
1054
 
1330
1055
 
1331
-
1332
- </td>
1333
-
1334
-
1335
-
1336
- <td class="description last"><p>value 值。</p></td>
1337
- </tr>
1338
-
1339
-
1340
-
1341
-
1342
- </tbody>
1343
- </table>
1344
- </div>
1345
-
1346
-
1347
-
1348
-
1349
-
1350
-
1056
+
1057
+ </td>
1058
+
1059
+
1060
+
1061
+ <td class="description last">
1062
+
1063
+ <p>对应属性名得值。</p></td>
1064
+ </tr>
1065
+
1066
+
1067
+ </tbody>
1068
+ </table>
1069
+
1070
+
1071
+
1351
1072
  <dl class="details">
1352
-
1353
1073
 
1354
-
1074
+
1355
1075
 
1356
-
1357
1076
 
1358
-
1359
1077
 
1360
1078
 
1361
1079
 
1362
-
1363
1080
 
1364
-
1365
1081
 
1366
-
1367
1082
 
1368
-
1369
1083
 
1370
-
1371
1084
 
1372
-
1373
1085
 
1374
-
1375
1086
 
1376
1087
 
1377
-
1378
1088
 
1379
-
1380
1089
 
1381
-
1090
+
1091
+
1092
+
1382
1093
 
1383
1094
  </dl>
1384
1095
 
1096
+
1097
+
1385
1098
 
1099
+
1386
1100
 
1387
-
1388
-
1389
-
1390
-
1391
-
1392
-
1393
-
1394
-
1395
-
1396
-
1397
-
1398
-
1399
-
1400
-
1401
-
1402
- <div class='columns method-parameter'>
1403
- <div class="column is-2"><label>返回值:</label></div>
1404
- <div class="column is-10">
1405
-
1406
-
1407
-
1408
- <div class="columns">
1409
1101
 
1410
- <div class='param-desc column is-7'><p>返回所有匹配的要素数组。</p></div>
1411
1102
 
1412
1103
 
1413
- <div class='column is-5 has-text-left'>
1414
- <label>类型: </label>
1415
-
1416
- <span class="param-type">Array</span>
1417
-
1418
-
1419
- </div>
1420
1104
 
1421
- </div>
1422
-
1423
-
1424
- </div>
1425
- </div>
1426
-
1427
-
1428
-
1429
-
1430
-
1431
-
1432
- </div>
1433
-
1434
- <div class="member">
1435
-
1436
-
1437
1105
 
1438
- <h4 class="name" id="getLocalXY">
1439
- <a class="href-link" href="#getLocalXY">#</a>
1106
+
1107
+
1108
+ </dd>
1109
+
1440
1110
 
1441
- <span class="code-name" style="font-size:30px">
1442
1111
 
1443
- getLocalXY<span class="signature">(coordinate)</span>
1112
+ <dt>
1113
+ <div class="nameContainer">
1114
+ <h4 class="name" id="getFeatureById">
1444
1115
 
1445
- </span>
1446
- </h4>
1116
+ getFeatureById<span class="signature">(featureId)</span>
1117
+ </h4>
1447
1118
 
1119
+
1120
+ <div class="tag-source">
1121
+ document/theme/ThemeLayer.js, line 252
1122
+ </div>
1123
+
1124
+ </div>
1448
1125
 
1449
1126
 
1127
+ </dt>
1128
+ <dd>
1129
+
1130
+
1450
1131
  <div class="description">
1451
- <p>地理坐标转为像素坐标。</p>
1132
+ <p>通过给定一个 ID,返回对应的矢量要素,如果不存在则返回 null。</p>
1452
1133
  </div>
1453
1134
 
1454
1135
 
1455
-
1456
-
1457
-
1458
-
1459
-
1460
-
1461
-
1462
-
1463
- <h4>参数:</h4>
1464
1136
 
1465
- <div class="table-container">
1466
- <table class="params table">
1467
- <thead>
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+ <table class="params">
1144
+ <thead>
1145
+ <tr>
1146
+
1147
+ <th>Name</th>
1148
+
1149
+
1150
+ <th>Type</th>
1151
+
1152
+
1153
+
1154
+ <th class="last">Description</th>
1155
+ </tr>
1156
+ </thead>
1157
+
1158
+ <tbody>
1159
+
1160
+
1468
1161
  <tr>
1469
1162
 
1470
- <th>名称</th>
1163
+ <td class="name"><code>featureId</code></td>
1164
+
1471
1165
 
1166
+ <td class="type">
1167
+
1168
+
1169
+ <span class="param-type">number</span>
1472
1170
 
1473
- <th>类型</th>
1474
1171
 
1475
1172
 
1476
-
1477
- <th class="last">描述</th>
1173
+ </td>
1174
+
1175
+
1176
+
1177
+ <td class="description last">
1178
+
1179
+ <p>要素 ID。</p></td>
1478
1180
  </tr>
1479
- </thead>
1480
-
1481
- <tbody>
1181
+
1182
+
1183
+ </tbody>
1184
+ </table>
1185
+
1186
+
1187
+
1188
+ <dl class="details">
1189
+
1482
1190
 
1191
+
1192
+
1193
+
1483
1194
 
1484
-
1485
- <tr class="deep-level-0">
1486
-
1487
- <td class="name"><code>coordinate</code></td>
1488
-
1489
-
1490
- <td class="type">
1491
-
1492
-
1493
- <span class="param-type">Array</span>
1494
-
1495
-
1496
-
1497
- </td>
1498
-
1499
-
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+
1209
+
1210
+ </dl>
1500
1211
 
1501
- <td class="description last"></td>
1502
- </tr>
1212
+
1213
+
1503
1214
 
1215
+
1504
1216
 
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+ </dd>
1505
1225
 
1506
1226
 
1507
- </tbody>
1508
- </table>
1509
- </div>
1510
-
1511
-
1512
-
1513
-
1227
+
1228
+ <dt>
1229
+ <div class="nameContainer">
1230
+ <h4 class="name" id="getFeatures">
1231
+
1232
+ getFeatures<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array}</span>
1233
+ </h4>
1234
+
1235
+
1236
+ <div class="tag-source">
1237
+ document/theme/ThemeLayer.js, line 221
1238
+ </div>
1239
+
1240
+ </div>
1514
1241
 
1242
+
1243
+ </dt>
1244
+ <dd>
1245
+
1246
+
1247
+ <div class="description">
1248
+ <p>查看当前图层中的有效数据。</p>
1249
+ </div>
1250
+
1515
1251
 
1252
+
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+
1516
1259
  <dl class="details">
1517
-
1518
1260
 
1519
-
1261
+
1520
1262
 
1521
-
1522
1263
 
1523
-
1524
1264
 
1525
1265
 
1526
1266
 
1527
-
1528
1267
 
1529
-
1530
1268
 
1531
-
1532
1269
 
1533
-
1534
1270
 
1535
-
1536
1271
 
1537
-
1538
1272
 
1539
-
1540
1273
 
1541
1274
 
1542
-
1543
1275
 
1544
-
1545
1276
 
1546
-
1277
+
1278
+
1279
+
1547
1280
 
1548
1281
  </dl>
1549
1282
 
1283
+
1284
+
1550
1285
 
1286
+
1551
1287
 
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+ <h5>Returns:</h5>
1294
+
1552
1295
 
1553
1296
 
1554
-
1555
-
1556
-
1557
-
1558
-
1559
-
1560
-
1561
-
1562
-
1563
-
1564
-
1565
-
1566
-
1567
-
1568
-
1569
-
1570
-
1571
-
1572
- </div>
1297
+ <table class="params">
1298
+ <thead>
1299
+ <tr>
1300
+
1301
+ <th>Type</th>
1302
+ <th class="last">Description</th>
1303
+ </tr>
1304
+ </thead>
1305
+ <tbody>
1306
+
1307
+ <tr>
1573
1308
 
1574
- <div class="member">
1575
-
1309
+ <td class="type">
1310
+
1311
+ Array
1312
+
1313
+
1314
+ </td>
1315
+ <td class="description last">返回图层中的有效数据。</td>
1316
+ </tr>
1317
+
1318
+ </tbody>
1319
+ </table>
1576
1320
 
1577
1321
 
1578
- <h4 class="name" id="off">
1579
- <a class="href-link" href="#off">#</a>
1322
+
1323
+
1324
+ </dd>
1325
+
1580
1326
 
1581
- <span class="code-name" style="font-size:30px">
1582
1327
 
1583
- off<span class="signature">(event, callback, context)</span>
1328
+ <dt>
1329
+ <div class="nameContainer">
1330
+ <h4 class="name" id="getFeaturesByAttribute">
1584
1331
 
1585
- </span>
1586
- </h4>
1332
+ getFeaturesByAttribute<span class="signature">(attrName, attrValue)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array}</span>
1333
+ </h4>
1587
1334
 
1335
+
1336
+ <div class="tag-source">
1337
+ document/theme/ThemeLayer.js, line 261
1338
+ </div>
1339
+
1340
+ </div>
1588
1341
 
1589
1342
 
1343
+ </dt>
1344
+ <dd>
1345
+
1346
+
1590
1347
  <div class="description">
1591
- <p>移除专题要素事件监听。</p>
1348
+ <p>通过给定一个属性的 key 值和 value 值,返回所有匹配的要素数组。</p>
1592
1349
  </div>
1593
1350
 
1594
1351
 
1595
-
1596
-
1597
-
1598
-
1599
-
1600
-
1601
-
1602
-
1603
- <h4>参数:</h4>
1604
1352
 
1605
- <div class="table-container">
1606
- <table class="params table">
1607
- <thead>
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+
1359
+ <table class="params">
1360
+ <thead>
1361
+ <tr>
1362
+
1363
+ <th>Name</th>
1364
+
1365
+
1366
+ <th>Type</th>
1367
+
1368
+
1369
+
1370
+ <th class="last">Description</th>
1371
+ </tr>
1372
+ </thead>
1373
+
1374
+ <tbody>
1375
+
1376
+
1608
1377
  <tr>
1609
1378
 
1610
- <th>名称</th>
1379
+ <td class="name"><code>attrName</code></td>
1380
+
1611
1381
 
1382
+ <td class="type">
1383
+
1384
+
1385
+ <span class="param-type">string</span>
1612
1386
 
1613
- <th>类型</th>
1614
1387
 
1615
1388
 
1616
-
1617
- <th class="last">描述</th>
1389
+ </td>
1390
+
1391
+
1392
+
1393
+ <td class="description last">
1394
+
1395
+ <p>key 值。</p></td>
1618
1396
  </tr>
1619
- </thead>
1620
-
1621
- <tbody>
1622
-
1623
-
1397
+
1398
+
1399
+
1400
+ <tr>
1624
1401
 
1625
- <tr class="deep-level-0">
1626
-
1627
- <td class="name"><code>event</code></td>
1628
-
1629
-
1630
- <td class="type">
1631
-
1632
-
1633
- <span class="param-type">Event</span>
1634
-
1635
-
1636
-
1637
- </td>
1638
-
1639
-
1640
-
1641
- <td class="description last"><p>监听事件。</p></td>
1642
- </tr>
1643
-
1644
-
1645
-
1646
-
1647
-
1402
+ <td class="name"><code>attrValue</code></td>
1648
1403
 
1649
- <tr class="deep-level-0">
1650
-
1651
- <td class="name"><code>callback</code></td>
1652
-
1653
-
1654
- <td class="type">
1655
-
1656
-
1657
- <span class="param-type">function</span>
1658
-
1659
-
1660
-
1661
- </td>
1662
-
1663
-
1664
-
1665
- <td class="description last"><p>回调函数。</p></td>
1666
- </tr>
1667
-
1668
-
1669
-
1670
-
1671
-
1672
1404
 
1673
- <tr class="deep-level-0">
1674
-
1675
- <td class="name"><code>context</code></td>
1676
-
1677
-
1678
- <td class="type">
1679
-
1680
-
1405
+ <td class="type">
1406
+
1407
+
1681
1408
  <span class="param-type">string</span>
1682
1409
 
1683
1410
 
1684
-
1685
- </td>
1686
-
1687
-
1688
-
1689
- <td class="description last"><p>信息。</p></td>
1690
- </tr>
1691
-
1692
-
1693
-
1694
-
1695
- </tbody>
1696
- </table>
1697
- </div>
1698
-
1699
-
1700
-
1701
-
1702
-
1703
-
1411
+
1412
+ </td>
1413
+
1414
+
1415
+
1416
+ <td class="description last">
1417
+
1418
+ <p>value 值。</p></td>
1419
+ </tr>
1420
+
1421
+
1422
+ </tbody>
1423
+ </table>
1424
+
1425
+
1426
+
1704
1427
  <dl class="details">
1705
-
1706
1428
 
1707
-
1429
+
1708
1430
 
1709
-
1710
1431
 
1711
-
1712
1432
 
1713
1433
 
1714
1434
 
1715
-
1716
1435
 
1717
-
1718
1436
 
1719
-
1720
1437
 
1721
-
1722
1438
 
1723
-
1724
1439
 
1725
-
1726
1440
 
1727
-
1728
1441
 
1729
1442
 
1730
-
1731
1443
 
1732
-
1733
1444
 
1734
-
1445
+
1446
+
1447
+
1735
1448
 
1736
1449
  </dl>
1737
1450
 
1451
+
1452
+
1738
1453
 
1454
+
1739
1455
 
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+ <h5>Returns:</h5>
1462
+
1740
1463
 
1741
1464
 
1742
-
1743
-
1744
-
1745
-
1746
-
1747
-
1748
-
1749
-
1750
-
1751
-
1752
-
1753
-
1754
-
1755
-
1756
-
1757
-
1758
-
1759
-
1760
- </div>
1465
+ <table class="params">
1466
+ <thead>
1467
+ <tr>
1468
+
1469
+ <th>Type</th>
1470
+ <th class="last">Description</th>
1471
+ </tr>
1472
+ </thead>
1473
+ <tbody>
1474
+
1475
+ <tr>
1761
1476
 
1762
- <div class="member">
1763
-
1477
+ <td class="type">
1478
+
1479
+ Array
1480
+
1481
+
1482
+ </td>
1483
+ <td class="description last">返回所有匹配的要素数组。</td>
1484
+ </tr>
1485
+
1486
+ </tbody>
1487
+ </table>
1764
1488
 
1765
1489
 
1766
- <h4 class="name" id="on">
1767
- <a class="href-link" href="#on">#</a>
1490
+
1491
+
1492
+ </dd>
1493
+
1768
1494
 
1769
- <span class="code-name" style="font-size:30px">
1770
1495
 
1771
- on<span class="signature">(event, callback, context)</span>
1496
+ <dt>
1497
+ <div class="nameContainer">
1498
+ <h4 class="name" id="getLocalXY">
1772
1499
 
1773
- </span>
1774
- </h4>
1500
+ getLocalXY<span class="signature">(coordinate)</span>
1501
+ </h4>
1775
1502
 
1503
+
1504
+ <div class="tag-source">
1505
+ document/theme/ThemeLayer.js, line 413
1506
+ </div>
1507
+
1508
+ </div>
1776
1509
 
1777
1510
 
1511
+ </dt>
1512
+ <dd>
1513
+
1514
+
1778
1515
  <div class="description">
1779
- <p>添加专题要素事件监听。添加专题要素事件监听。</p>
1516
+ <p>地理坐标转为像素坐标。</p>
1780
1517
  </div>
1781
1518
 
1782
1519
 
1783
-
1784
-
1785
-
1786
-
1787
-
1788
-
1789
-
1790
-
1791
- <h4>参数:</h4>
1792
1520
 
1793
- <div class="table-container">
1794
- <table class="params table">
1795
- <thead>
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+ <table class="params">
1528
+ <thead>
1529
+ <tr>
1530
+
1531
+ <th>Name</th>
1532
+
1533
+
1534
+ <th>Type</th>
1535
+
1536
+
1537
+
1538
+ <th class="last">Description</th>
1539
+ </tr>
1540
+ </thead>
1541
+
1542
+ <tbody>
1543
+
1544
+
1796
1545
  <tr>
1797
1546
 
1798
- <th>名称</th>
1547
+ <td class="name"><code>coordinate</code></td>
1799
1548
 
1800
-
1801
- <th>类型</th>
1802
-
1803
1549
 
1804
-
1805
- <th class="last">描述</th>
1806
- </tr>
1807
- </thead>
1808
-
1809
- <tbody>
1810
-
1811
-
1550
+ <td class="type">
1812
1551
 
1813
- <tr class="deep-level-0">
1814
-
1815
- <td class="name"><code>event</code></td>
1816
-
1817
-
1818
- <td class="type">
1819
-
1820
-
1821
- <span class="param-type">Event</span>
1822
-
1823
-
1824
-
1825
- </td>
1826
-
1827
-
1828
-
1829
- <td class="description last"><p>监听事件。</p></td>
1830
- </tr>
1831
-
1832
-
1552
+
1553
+ <span class="param-type">Array</span>
1833
1554
 
1834
-
1835
1555
 
1836
1556
 
1837
- <tr class="deep-level-0">
1838
-
1839
- <td class="name"><code>callback</code></td>
1840
-
1841
-
1842
- <td class="type">
1843
-
1844
-
1845
- <span class="param-type">function</span>
1846
-
1847
-
1848
-
1849
- </td>
1850
-
1851
-
1852
-
1853
- <td class="description last"><p>回调函数。</p></td>
1854
- </tr>
1855
-
1856
-
1857
-
1858
-
1859
-
1557
+ </td>
1860
1558
 
1861
- <tr class="deep-level-0">
1862
-
1863
- <td class="name"><code>context</code></td>
1864
-
1865
-
1866
- <td class="type">
1867
-
1868
-
1869
- <span class="param-type">string</span>
1870
-
1871
-
1872
-
1873
- </td>
1874
-
1875
-
1876
-
1877
- <td class="description last"><p>信息。</p></td>
1878
- </tr>
1879
-
1880
-
1881
-
1882
-
1883
- </tbody>
1884
- </table>
1885
- </div>
1886
-
1887
-
1888
-
1889
-
1890
-
1891
-
1559
+
1560
+
1561
+ <td class="description last">
1562
+
1563
+ </td>
1564
+ </tr>
1565
+
1566
+
1567
+ </tbody>
1568
+ </table>
1569
+
1570
+
1571
+
1892
1572
  <dl class="details">
1893
-
1894
1573
 
1895
-
1574
+
1896
1575
 
1897
-
1898
1576
 
1899
-
1900
1577
 
1901
1578
 
1902
1579
 
1903
-
1904
1580
 
1905
-
1906
1581
 
1907
-
1908
1582
 
1909
-
1910
1583
 
1911
-
1912
1584
 
1913
-
1914
1585
 
1915
-
1916
1586
 
1917
1587
 
1918
-
1919
1588
 
1920
-
1921
1589
 
1922
-
1590
+
1591
+
1592
+
1923
1593
 
1924
1594
  </dl>
1925
1595
 
1596
+
1597
+
1926
1598
 
1599
+
1927
1600
 
1928
-
1929
-
1930
-
1931
-
1932
-
1933
-
1934
-
1935
-
1936
-
1937
-
1938
-
1939
-
1940
-
1941
-
1942
-
1943
-
1944
-
1945
-
1946
-
1947
-
1948
- </div>
1949
-
1950
- <div class="member">
1951
-
1952
-
1953
1601
 
1954
- <h4 class="name" id="onRemove">
1955
- <a class="href-link" href="#onRemove">#</a>
1602
+
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+ </dd>
1609
+
1956
1610
 
1957
- <span class="code-name" style="font-size:30px">
1958
1611
 
1959
- onRemove<span class="signature">(map)</span>
1612
+ <dt>
1613
+ <div class="nameContainer">
1614
+ <h4 class="name" id="off">
1960
1615
 
1961
- </span>
1962
- </h4>
1616
+ off<span class="signature">(event, callback, context)</span>
1617
+ </h4>
1963
1618
 
1619
+
1620
+ <div class="tag-source">
1621
+ document/theme/ThemeLayer.js, line 372
1622
+ </div>
1623
+
1624
+ </div>
1964
1625
 
1965
1626
 
1627
+ </dt>
1628
+ <dd>
1629
+
1630
+
1966
1631
  <div class="description">
1967
- <p>删除某个地图。</p>
1632
+ <p>移除专题要素事件监听。</p>
1968
1633
  </div>
1969
1634
 
1970
1635
 
1971
-
1972
-
1973
-
1974
-
1975
-
1976
-
1977
-
1978
-
1979
- <h4>参数:</h4>
1980
1636
 
1981
- <div class="table-container">
1982
- <table class="params table">
1983
- <thead>
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+
1643
+ <table class="params">
1644
+ <thead>
1645
+ <tr>
1646
+
1647
+ <th>Name</th>
1648
+
1649
+
1650
+ <th>Type</th>
1651
+
1652
+
1653
+
1654
+ <th class="last">Description</th>
1655
+ </tr>
1656
+ </thead>
1657
+
1658
+ <tbody>
1659
+
1660
+
1984
1661
  <tr>
1985
1662
 
1986
- <th>名称</th>
1663
+ <td class="name"><code>event</code></td>
1664
+
1665
+
1666
+ <td class="type">
1987
1667
 
1668
+
1669
+ <span class="param-type">Event</span>
1988
1670
 
1989
- <th>类型</th>
1990
1671
 
1991
1672
 
1992
-
1993
- <th class="last">描述</th>
1673
+ </td>
1674
+
1675
+
1676
+
1677
+ <td class="description last">
1678
+
1679
+ <p>监听事件。</p></td>
1994
1680
  </tr>
1995
- </thead>
1996
-
1997
- <tbody>
1998
-
1999
-
1681
+
1682
+
1683
+
1684
+ <tr>
2000
1685
 
2001
- <tr class="deep-level-0">
2002
-
2003
- <td class="name"><code>map</code></td>
2004
-
2005
-
2006
- <td class="type">
2007
-
2008
-
2009
- <span class="param-type">L.Map</span>
2010
-
2011
-
2012
-
2013
- </td>
2014
-
2015
-
2016
-
2017
- <td class="description last"><p>要删除的地图。</p></td>
2018
- </tr>
2019
-
2020
-
2021
-
2022
-
2023
- </tbody>
2024
- </table>
2025
- </div>
2026
-
2027
-
1686
+ <td class="name"><code>callback</code></td>
1687
+
1688
+
1689
+ <td class="type">
1690
+
1691
+
1692
+ <span class="param-type">function</span>
2028
1693
 
2029
1694
 
1695
+
1696
+ </td>
1697
+
1698
+
1699
+
1700
+ <td class="description last">
1701
+
1702
+ <p>回调函数。</p></td>
1703
+ </tr>
1704
+
1705
+
1706
+
1707
+ <tr>
1708
+
1709
+ <td class="name"><code>context</code></td>
1710
+
1711
+
1712
+ <td class="type">
1713
+
1714
+
1715
+ <span class="param-type">string</span>
2030
1716
 
2031
1717
 
1718
+
1719
+ </td>
1720
+
1721
+
1722
+
1723
+ <td class="description last">
1724
+
1725
+ <p>信息。</p></td>
1726
+ </tr>
1727
+
1728
+
1729
+ </tbody>
1730
+ </table>
1731
+
1732
+
1733
+
2032
1734
  <dl class="details">
2033
-
2034
1735
 
2035
-
1736
+
2036
1737
 
2037
-
2038
1738
 
2039
-
2040
1739
 
2041
1740
 
2042
1741
 
2043
-
2044
1742
 
2045
-
2046
1743
 
2047
-
2048
1744
 
2049
-
2050
1745
 
2051
-
2052
1746
 
2053
-
2054
1747
 
2055
-
2056
1748
 
2057
1749
 
2058
-
2059
1750
 
2060
-
2061
1751
 
2062
-
1752
+
1753
+
1754
+
2063
1755
 
2064
1756
  </dl>
2065
1757
 
1758
+
1759
+
2066
1760
 
1761
+
2067
1762
 
2068
-
2069
-
2070
-
2071
-
2072
-
2073
-
2074
-
2075
-
2076
-
2077
-
2078
-
2079
-
2080
-
2081
-
2082
-
2083
-
2084
-
2085
-
2086
-
2087
-
2088
- </div>
2089
-
2090
- <div class="member">
2091
-
2092
-
2093
1763
 
2094
- <h4 class="name" id="redraw">
2095
- <a class="href-link" href="#redraw">#</a>
1764
+
1765
+
1766
+
1767
+
1768
+
1769
+
1770
+ </dd>
1771
+
2096
1772
 
2097
- <span class="code-name" style="font-size:30px">
2098
1773
 
2099
- redraw<span class="signature">()</span>
1774
+ <dt>
1775
+ <div class="nameContainer">
1776
+ <h4 class="name" id="on">
2100
1777
 
2101
- </span>
2102
- </h4>
1778
+ on<span class="signature">(event, callback, context)</span>
1779
+ </h4>
2103
1780
 
1781
+
1782
+ <div class="tag-source">
1783
+ document/theme/ThemeLayer.js, line 355
1784
+ </div>
1785
+
1786
+ </div>
2104
1787
 
2105
1788
 
1789
+ </dt>
1790
+ <dd>
1791
+
1792
+
2106
1793
  <div class="description">
2107
- <p>重绘该图层。</p>
1794
+ <p>添加专题要素事件监听。添加专题要素事件监听。</p>
2108
1795
  </div>
2109
1796
 
2110
1797
 
1798
+
1799
+
1800
+
1801
+
1802
+
1803
+
2111
1804
 
1805
+ <table class="params">
1806
+ <thead>
1807
+ <tr>
1808
+
1809
+ <th>Name</th>
1810
+
1811
+
1812
+ <th>Type</th>
1813
+
1814
+
1815
+
1816
+ <th class="last">Description</th>
1817
+ </tr>
1818
+ </thead>
1819
+
1820
+ <tbody>
1821
+
1822
+
1823
+ <tr>
1824
+
1825
+ <td class="name"><code>event</code></td>
1826
+
1827
+
1828
+ <td class="type">
1829
+
1830
+
1831
+ <span class="param-type">Event</span>
2112
1832
 
2113
1833
 
1834
+
1835
+ </td>
1836
+
1837
+
1838
+
1839
+ <td class="description last">
1840
+
1841
+ <p>监听事件。</p></td>
1842
+ </tr>
1843
+
1844
+
1845
+
1846
+ <tr>
1847
+
1848
+ <td class="name"><code>callback</code></td>
1849
+
1850
+
1851
+ <td class="type">
1852
+
1853
+
1854
+ <span class="param-type">function</span>
2114
1855
 
2115
1856
 
1857
+
1858
+ </td>
1859
+
1860
+
1861
+
1862
+ <td class="description last">
1863
+
1864
+ <p>回调函数。</p></td>
1865
+ </tr>
1866
+
1867
+
1868
+
1869
+ <tr>
1870
+
1871
+ <td class="name"><code>context</code></td>
1872
+
1873
+
1874
+ <td class="type">
1875
+
1876
+
1877
+ <span class="param-type">string</span>
2116
1878
 
2117
1879
 
2118
-
2119
-
2120
-
2121
-
2122
-
2123
- <dl class="details">
2124
-
1880
+
1881
+ </td>
1882
+
1883
+
1884
+
1885
+ <td class="description last">
1886
+
1887
+ <p>信息。</p></td>
1888
+ </tr>
1889
+
1890
+
1891
+ </tbody>
1892
+ </table>
2125
1893
 
2126
-
2127
1894
 
2128
-
2129
1895
 
2130
-
1896
+ <dl class="details">
2131
1897
 
2132
-
1898
+
2133
1899
 
2134
-
2135
1900
 
2136
-
2137
1901
 
2138
1902
 
2139
1903
 
2140
-
2141
1904
 
2142
-
2143
1905
 
2144
-
2145
1906
 
2146
-
2147
1907
 
2148
1908
 
2149
-
2150
1909
 
2151
-
2152
1910
 
2153
-
2154
1911
 
2155
- </dl>
2156
-
2157
-
2158
-
2159
-
2160
-
2161
-
2162
-
2163
-
2164
-
2165
-
2166
-
2167
-
2168
-
2169
-
2170
-
2171
-
2172
-
2173
-
2174
- <div class='columns method-parameter'>
2175
- <div class="column is-2"><label>返回值:</label></div>
2176
- <div class="column is-10">
2177
-
2178
-
2179
-
2180
- <div class="columns">
2181
1912
 
2182
- <div class='param-desc column is-7'><p>返回是否重绘成功。</p></div>
2183
1913
 
2184
1914
 
2185
- <div class='column is-5 has-text-left'>
2186
- <label>类型: </label>
2187
-
2188
- <span class="param-type">boolean</span>
2189
-
2190
-
2191
- </div>
2192
1915
 
2193
- </div>
2194
-
2195
-
2196
- </div>
2197
- </div>
2198
-
2199
-
2200
-
2201
-
2202
-
1916
+
1917
+
1918
+ </dl>
2203
1919
 
2204
- </div>
2205
-
2206
- <div class="member">
1920
+
1921
+
2207
1922
 
1923
+
2208
1924
 
2209
1925
 
2210
- <h4 class="name" id="redrawThematicFeatures">
2211
- <a class="href-link" href="#redrawThematicFeatures">#</a>
1926
+
1927
+
1928
+
1929
+
1930
+
1931
+
1932
+ </dd>
1933
+
2212
1934
 
2213
- <span class="code-name" style="font-size:30px">
2214
1935
 
2215
- redrawThematicFeatures<span class="signature">(bounds)</span>
1936
+ <dt>
1937
+ <div class="nameContainer">
1938
+ <h4 class="name" id="onRemove">
2216
1939
 
2217
- </span>
2218
- </h4>
1940
+ onRemove<span class="signature">(map)</span>
1941
+ </h4>
2219
1942
 
1943
+
1944
+ <div class="tag-source">
1945
+ document/theme/ThemeLayer.js, line 54
1946
+ </div>
1947
+
1948
+ </div>
2220
1949
 
2221
1950
 
1951
+ </dt>
1952
+ <dd>
1953
+
1954
+
2222
1955
  <div class="description">
2223
- <p>抽象方法,可实例化子类必须实现此方法。</p>
1956
+ <p>删除某个地图。</p>
2224
1957
  </div>
2225
1958
 
2226
1959
 
2227
-
2228
-
2229
-
2230
-
2231
-
2232
-
2233
-
2234
-
2235
- <h4>参数:</h4>
2236
1960
 
2237
- <div class="table-container">
2238
- <table class="params table">
2239
- <thead>
1961
+
1962
+
1963
+
1964
+
1965
+
1966
+
1967
+ <table class="params">
1968
+ <thead>
1969
+ <tr>
1970
+
1971
+ <th>Name</th>
1972
+
1973
+
1974
+ <th>Type</th>
1975
+
1976
+
1977
+
1978
+ <th class="last">Description</th>
1979
+ </tr>
1980
+ </thead>
1981
+
1982
+ <tbody>
1983
+
1984
+
2240
1985
  <tr>
2241
1986
 
2242
- <th>名称</th>
1987
+ <td class="name"><code>map</code></td>
2243
1988
 
2244
-
2245
- <th>类型</th>
2246
-
2247
1989
 
2248
-
2249
- <th class="last">描述</th>
2250
- </tr>
2251
- </thead>
2252
-
2253
- <tbody>
2254
-
2255
-
1990
+ <td class="type">
2256
1991
 
2257
- <tr class="deep-level-0">
2258
-
2259
- <td class="name"><code>bounds</code></td>
2260
-
2261
-
2262
- <td class="type">
2263
-
2264
-
2265
- <span class="param-type">L.bounds</span>
2266
-
2267
-
2268
-
2269
- </td>
2270
-
2271
-
2272
-
2273
- <td class="description last"><p>重绘专题要素范围。</p></td>
2274
- </tr>
2275
-
2276
-
2277
-
2278
-
2279
- </tbody>
2280
- </table>
2281
- </div>
2282
-
2283
-
2284
-
2285
-
1992
+
1993
+ <span class="param-type">L.Map</span>
2286
1994
 
2287
1995
 
1996
+
1997
+ </td>
1998
+
1999
+
2000
+
2001
+ <td class="description last">
2002
+
2003
+ <p>要删除的地图。</p></td>
2004
+ </tr>
2005
+
2006
+
2007
+ </tbody>
2008
+ </table>
2009
+
2010
+
2011
+
2288
2012
  <dl class="details">
2289
-
2290
2013
 
2291
-
2014
+
2292
2015
 
2293
-
2294
2016
 
2295
-
2296
2017
 
2297
2018
 
2298
2019
 
2299
-
2300
2020
 
2301
-
2302
2021
 
2303
-
2304
2022
 
2305
-
2306
2023
 
2307
-
2308
2024
 
2309
-
2310
2025
 
2311
-
2312
2026
 
2313
2027
 
2314
-
2315
2028
 
2316
-
2317
2029
 
2318
-
2030
+
2031
+
2032
+
2319
2033
 
2320
2034
  </dl>
2321
2035
 
2036
+
2037
+
2322
2038
 
2039
+
2323
2040
 
2324
-
2325
-
2326
-
2327
-
2328
-
2329
-
2330
-
2331
-
2332
-
2333
-
2334
-
2335
-
2336
-
2337
-
2338
-
2339
-
2340
-
2341
-
2342
-
2343
-
2344
- </div>
2345
-
2346
- <div class="member">
2347
-
2348
-
2349
2041
 
2350
- <h4 class="name" id="removeAllFeatures">
2351
- <a class="href-link" href="#removeAllFeatures">#</a>
2042
+
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+ </dd>
2049
+
2352
2050
 
2353
- <span class="code-name" style="font-size:30px">
2354
2051
 
2355
- removeAllFeatures<span class="signature">()</span>
2052
+ <dt>
2053
+ <div class="nameContainer">
2054
+ <h4 class="name" id="redraw">
2356
2055
 
2357
- </span>
2358
- </h4>
2056
+ redraw<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
2057
+ </h4>
2359
2058
 
2059
+
2060
+ <div class="tag-source">
2061
+ document/theme/ThemeLayer.js, line 337
2062
+ </div>
2063
+
2064
+ </div>
2360
2065
 
2361
2066
 
2067
+ </dt>
2068
+ <dd>
2069
+
2070
+
2362
2071
  <div class="description">
2363
- <p>清除当前图层所有的矢量要素。</p>
2072
+ <p>重绘该图层。</p>
2364
2073
  </div>
2365
2074
 
2366
2075
 
2367
-
2368
-
2369
-
2370
-
2371
-
2372
-
2373
-
2374
-
2375
-
2376
-
2377
-
2378
-
2076
+
2077
+
2078
+
2079
+
2080
+
2081
+
2082
+
2379
2083
  <dl class="details">
2380
-
2381
2084
 
2382
-
2085
+
2383
2086
 
2384
-
2385
2087
 
2386
-
2387
2088
 
2388
2089
 
2389
2090
 
2390
-
2391
2091
 
2392
-
2393
2092
 
2394
-
2395
2093
 
2396
-
2397
2094
 
2398
-
2399
2095
 
2400
-
2401
2096
 
2402
-
2403
2097
 
2404
2098
 
2405
-
2406
2099
 
2407
-
2408
2100
 
2409
-
2101
+
2102
+
2103
+
2410
2104
 
2411
2105
  </dl>
2412
2106
 
2107
+
2108
+
2413
2109
 
2110
+
2414
2111
 
2112
+
2113
+
2114
+
2115
+
2116
+
2117
+ <h5>Returns:</h5>
2118
+
2415
2119
 
2416
2120
 
2417
-
2418
-
2419
-
2420
-
2421
-
2422
-
2423
-
2424
-
2425
-
2426
-
2427
-
2428
-
2429
-
2430
-
2431
-
2432
-
2433
-
2434
-
2435
- </div>
2121
+ <table class="params">
2122
+ <thead>
2123
+ <tr>
2124
+
2125
+ <th>Type</th>
2126
+ <th class="last">Description</th>
2127
+ </tr>
2128
+ </thead>
2129
+ <tbody>
2130
+
2131
+ <tr>
2436
2132
 
2437
- <div class="member">
2438
-
2133
+ <td class="type">
2134
+
2135
+ boolean
2136
+
2137
+
2138
+ </td>
2139
+ <td class="description last">返回是否重绘成功。</td>
2140
+ </tr>
2141
+
2142
+ </tbody>
2143
+ </table>
2439
2144
 
2440
2145
 
2441
- <h4 class="name" id="removeFeatures">
2442
- <a class="href-link" href="#removeFeatures">#</a>
2146
+
2147
+
2148
+ </dd>
2149
+
2443
2150
 
2444
- <span class="code-name" style="font-size:30px">
2445
2151
 
2446
- removeFeatures<span class="signature">(features)</span>
2152
+ <dt>
2153
+ <div class="nameContainer">
2154
+ <h4 class="name" id="redrawThematicFeatures">
2447
2155
 
2448
- </span>
2449
- </h4>
2156
+ redrawThematicFeatures<span class="signature">(bounds)</span>
2157
+ </h4>
2450
2158
 
2159
+
2160
+ <div class="tag-source">
2161
+ document/theme/ThemeLayer.js, line 115
2162
+ </div>
2163
+
2164
+ </div>
2451
2165
 
2452
2166
 
2167
+ </dt>
2168
+ <dd>
2169
+
2170
+
2453
2171
  <div class="description">
2454
- <p>从专题图中删除 feature。这个函数删除所有传递进来的矢量要素。</p>
2172
+ <p>抽象方法,可实例化子类必须实现此方法。</p>
2455
2173
  </div>
2456
2174
 
2457
2175
 
2458
-
2459
-
2460
-
2461
-
2462
-
2463
-
2464
-
2465
-
2466
- <h4>参数:</h4>
2467
2176
 
2468
- <div class="table-container">
2469
- <table class="params table">
2470
- <thead>
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+ <table class="params">
2184
+ <thead>
2185
+ <tr>
2186
+
2187
+ <th>Name</th>
2188
+
2189
+
2190
+ <th>Type</th>
2191
+
2192
+
2193
+
2194
+ <th class="last">Description</th>
2195
+ </tr>
2196
+ </thead>
2197
+
2198
+ <tbody>
2199
+
2200
+
2471
2201
  <tr>
2472
2202
 
2473
- <th>名称</th>
2203
+ <td class="name"><code>bounds</code></td>
2474
2204
 
2475
-
2476
- <th>类型</th>
2477
-
2478
2205
 
2479
-
2480
- <th class="last">描述</th>
2481
- </tr>
2482
- </thead>
2483
-
2484
- <tbody>
2485
-
2486
-
2206
+ <td class="type">
2487
2207
 
2488
- <tr class="deep-level-0">
2489
-
2490
- <td class="name"><code>features</code></td>
2491
-
2492
-
2493
- <td class="type">
2494
-
2495
-
2496
- <span class="param-type">Array.&lt;zondy.Feature.Vector></span>
2497
-
2498
-
2499
-
2500
- </td>
2501
-
2502
-
2503
-
2504
- <td class="description last"><p>将被删除的要素。</p></td>
2505
- </tr>
2506
-
2507
-
2508
-
2509
-
2510
- </tbody>
2511
- </table>
2512
- </div>
2513
-
2514
-
2515
-
2516
-
2208
+
2209
+ <span class="param-type">L.bounds</span>
2517
2210
 
2518
2211
 
2212
+
2213
+ </td>
2214
+
2215
+
2216
+
2217
+ <td class="description last">
2218
+
2219
+ <p>重绘专题要素范围。</p></td>
2220
+ </tr>
2221
+
2222
+
2223
+ </tbody>
2224
+ </table>
2225
+
2226
+
2227
+
2519
2228
  <dl class="details">
2520
-
2521
2229
 
2522
-
2230
+
2523
2231
 
2524
-
2525
2232
 
2526
-
2527
2233
 
2528
2234
 
2529
2235
 
2530
-
2531
2236
 
2532
-
2533
2237
 
2534
-
2535
2238
 
2536
-
2537
2239
 
2538
-
2539
2240
 
2540
-
2541
2241
 
2542
-
2543
2242
 
2544
2243
 
2545
-
2546
2244
 
2547
-
2548
2245
 
2549
-
2246
+
2247
+
2248
+
2550
2249
 
2551
2250
  </dl>
2552
2251
 
2252
+
2253
+
2553
2254
 
2255
+
2554
2256
 
2555
-
2556
-
2557
-
2558
-
2559
-
2560
-
2561
-
2562
-
2563
-
2564
-
2565
-
2566
-
2567
-
2568
-
2569
-
2570
-
2571
-
2572
-
2573
-
2574
-
2575
- </div>
2576
-
2577
- <div class="member">
2578
-
2579
-
2580
2257
 
2581
- <h4 class="name" id="setOpacity">
2582
- <a class="href-link" href="#setOpacity">#</a>
2258
+
2259
+
2260
+
2261
+
2262
+
2263
+
2264
+ </dd>
2265
+
2583
2266
 
2584
- <span class="code-name" style="font-size:30px">
2585
2267
 
2586
- setOpacity<span class="signature">(opacity)</span>
2268
+ <dt>
2269
+ <div class="nameContainer">
2270
+ <h4 class="name" id="removeAllFeatures">
2587
2271
 
2588
- </span>
2589
- </h4>
2272
+ removeAllFeatures<span class="signature">()</span>
2273
+ </h4>
2590
2274
 
2275
+
2276
+ <div class="tag-source">
2277
+ document/theme/ThemeLayer.js, line 205
2278
+ </div>
2279
+
2280
+ </div>
2591
2281
 
2592
2282
 
2283
+ </dt>
2284
+ <dd>
2285
+
2286
+
2593
2287
  <div class="description">
2594
- <p>设置图层的不透明度,取值 [0-1] 之间。</p>
2288
+ <p>清除当前图层所有的矢量要素。</p>
2595
2289
  </div>
2596
2290
 
2597
2291
 
2598
-
2599
-
2600
-
2601
-
2602
-
2603
-
2604
-
2605
-
2606
- <h4>参数:</h4>
2607
2292
 
2608
- <div class="table-container">
2609
- <table class="params table">
2610
- <thead>
2611
- <tr>
2612
-
2613
- <th>名称</th>
2614
-
2615
-
2616
- <th>类型</th>
2617
-
2618
-
2619
-
2620
- <th class="last">描述</th>
2621
- </tr>
2622
- </thead>
2623
-
2624
- <tbody>
2625
-
2626
-
2627
-
2628
- <tr class="deep-level-0">
2629
-
2630
- <td class="name"><code>opacity</code></td>
2631
-
2632
-
2633
- <td class="type">
2634
-
2635
-
2636
- <span class="param-type">number</span>
2637
-
2638
-
2639
-
2640
- </td>
2641
-
2642
-
2643
-
2644
- <td class="description last"><p>不透明度。</p></td>
2645
- </tr>
2646
-
2647
-
2648
-
2649
-
2650
- </tbody>
2651
- </table>
2652
- </div>
2653
-
2654
-
2655
-
2656
-
2657
-
2658
-
2293
+
2294
+
2295
+
2296
+
2297
+
2298
+
2659
2299
  <dl class="details">
2660
-
2661
2300
 
2662
-
2301
+
2663
2302
 
2664
-
2665
2303
 
2666
-
2667
2304
 
2668
2305
 
2669
2306
 
2670
-
2671
2307
 
2672
-
2673
2308
 
2674
-
2675
2309
 
2676
-
2677
2310
 
2678
-
2679
2311
 
2680
-
2681
2312
 
2682
-
2683
2313
 
2684
2314
 
2685
-
2686
2315
 
2687
-
2688
2316
 
2689
-
2317
+
2318
+
2319
+
2690
2320
 
2691
2321
  </dl>
2692
2322
 
2323
+
2324
+
2693
2325
 
2326
+
2694
2327
 
2695
-
2696
-
2697
-
2698
-
2699
-
2700
-
2701
-
2702
-
2703
-
2704
-
2705
-
2706
-
2707
-
2708
-
2709
-
2710
-
2711
-
2712
-
2713
-
2714
-
2715
- </div>
2716
-
2717
- <div class="member">
2718
-
2719
-
2720
2328
 
2721
- <h4 class="name" id="update">
2722
- <a class="href-link" href="#update">#</a>
2329
+
2330
+
2331
+
2332
+
2333
+
2334
+
2335
+ </dd>
2336
+
2723
2337
 
2724
- <span class="code-name" style="font-size:30px">
2725
2338
 
2726
- update<span class="signature">(bounds)</span>
2339
+ <dt>
2340
+ <div class="nameContainer">
2341
+ <h4 class="name" id="removeFeatures">
2727
2342
 
2728
- </span>
2729
- </h4>
2343
+ removeFeatures<span class="signature">(features)</span>
2344
+ </h4>
2730
2345
 
2346
+
2347
+ <div class="tag-source">
2348
+ document/theme/ThemeLayer.js, line 143
2349
+ </div>
2350
+
2351
+ </div>
2731
2352
 
2732
2353
 
2354
+ </dt>
2355
+ <dd>
2356
+
2357
+
2733
2358
  <div class="description">
2734
- <p>更新图层。</p>
2359
+ <p>从专题图中删除 feature。这个函数删除所有传递进来的矢量要素。</p>
2735
2360
  </div>
2736
2361
 
2737
2362
 
2738
-
2739
-
2740
-
2741
-
2742
-
2743
-
2744
-
2745
-
2746
- <h4>参数:</h4>
2747
2363
 
2748
- <div class="table-container">
2749
- <table class="params table">
2750
- <thead>
2364
+
2365
+
2366
+
2367
+
2368
+
2369
+
2370
+ <table class="params">
2371
+ <thead>
2372
+ <tr>
2373
+
2374
+ <th>Name</th>
2375
+
2376
+
2377
+ <th>Type</th>
2378
+
2379
+
2380
+
2381
+ <th class="last">Description</th>
2382
+ </tr>
2383
+ </thead>
2384
+
2385
+ <tbody>
2386
+
2387
+
2751
2388
  <tr>
2752
2389
 
2753
- <th>名称</th>
2390
+ <td class="name"><code>features</code></td>
2754
2391
 
2755
-
2756
- <th>类型</th>
2757
-
2758
2392
 
2759
-
2760
- <th class="last">描述</th>
2761
- </tr>
2762
- </thead>
2763
-
2764
- <tbody>
2765
-
2766
-
2393
+ <td class="type">
2767
2394
 
2768
- <tr class="deep-level-0">
2769
-
2770
- <td class="name"><code>bounds</code></td>
2771
-
2772
-
2773
- <td class="type">
2774
-
2775
-
2776
- <span class="param-type">L.bounds</span>
2777
-
2778
-
2779
-
2780
- </td>
2781
-
2782
-
2783
-
2784
- <td class="description last"><p>图层范围。</p></td>
2785
- </tr>
2786
-
2787
-
2788
-
2789
-
2790
- </tbody>
2791
- </table>
2792
- </div>
2793
-
2794
-
2795
-
2796
-
2797
-
2798
-
2799
- <dl class="details">
2800
-
2801
-
2802
-
2803
-
2395
+
2396
+ <span class="param-type">Array.&lt;zondy.Feature.Vector></span>
2804
2397
 
2805
-
2806
2398
 
2399
+
2400
+ </td>
2401
+
2402
+
2403
+
2404
+ <td class="description last">
2405
+
2406
+ <p>将被删除的要素。</p></td>
2407
+ </tr>
2408
+
2409
+
2410
+ </tbody>
2411
+ </table>
2807
2412
 
2808
-
2809
2413
 
2810
-
2811
2414
 
2812
-
2415
+ <dl class="details">
2813
2416
 
2814
-
2417
+
2815
2418
 
2816
-
2817
2419
 
2818
-
2819
2420
 
2820
2421
 
2821
2422
 
2822
-
2823
2423
 
2824
2424
 
2825
-
2826
2425
 
2827
-
2828
2426
 
2829
-
2830
2427
 
2831
- </dl>
2832
-
2833
-
2834
-
2835
-
2836
-
2837
-
2838
-
2839
-
2840
-
2841
-
2842
-
2843
-
2844
-
2845
-
2846
-
2847
-
2848
-
2849
-
2850
-
2851
-
2852
-
2853
-
2854
-
2855
- </div>
2856
-
2857
- </div>
2858
- </div>
2859
2428
 
2860
-
2861
2429
 
2430
+
2431
+
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+ </dl>
2862
2438
 
2863
2439
 
2864
- <div class='vertical-section' style='margin-top: 10px'>
2865
- <h3 id='event'>事件</h3>
2866
- <div class="members">
2867
-
2868
- <div class="member">
2869
-
2440
+
2870
2441
 
2442
+
2871
2443
 
2872
2444
 
2873
- <h4 class="name" id="event:changelayer">
2874
- <a class="href-link" href="#event:changelayer">#</a>
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+
2451
+ </dd>
2452
+
2875
2453
 
2876
- <span class="code-name" style="font-size:30px">
2877
2454
 
2878
- changelayer
2455
+ <dt>
2456
+ <div class="nameContainer">
2457
+ <h4 class="name" id="setOpacity">
2879
2458
 
2880
- </span>
2881
- </h4>
2459
+ setOpacity<span class="signature">(opacity)</span>
2460
+ </h4>
2882
2461
 
2462
+
2463
+ <div class="tag-source">
2464
+ document/theme/ThemeLayer.js, line 321
2465
+ </div>
2466
+
2467
+ </div>
2883
2468
 
2884
2469
 
2470
+ </dt>
2471
+ <dd>
2472
+
2473
+
2885
2474
  <div class="description">
2886
- <p>图层属性改变之后触发。</p>
2475
+ <p>设置图层的不透明度,取值 [0-1] 之间。</p>
2887
2476
  </div>
2888
2477
 
2889
2478
 
2890
-
2891
-
2892
-
2893
-
2894
-
2895
-
2896
-
2897
-
2898
-
2899
-
2900
-
2901
-
2902
- <h5 class="subsection-title">属性:</h5>
2903
-
2904
2479
 
2905
- <div class="table-container">
2906
- <table class="props table">
2907
- <thead>
2480
+
2481
+
2482
+
2483
+
2484
+
2485
+
2486
+ <table class="params">
2487
+ <thead>
2488
+ <tr>
2489
+
2490
+ <th>Name</th>
2491
+
2492
+
2493
+ <th>Type</th>
2494
+
2495
+
2496
+
2497
+ <th class="last">Description</th>
2498
+ </tr>
2499
+ </thead>
2500
+
2501
+ <tbody>
2502
+
2503
+
2908
2504
  <tr>
2909
2505
 
2910
- <th>Name</th>
2506
+ <td class="name"><code>opacity</code></td>
2911
2507
 
2912
-
2913
- <th>Type</th>
2914
-
2915
2508
 
2916
-
2509
+ <td class="type">
2917
2510
 
2511
+
2512
+ <span class="param-type">number</span>
2918
2513
 
2919
- <th class="last">Description</th>
2920
- </tr>
2921
- </thead>
2922
2514
 
2923
- <tbody>
2924
-
2925
2515
 
2926
- <tr class="deep-level-0">
2516
+ </td>
2517
+
2518
+
2519
+
2520
+ <td class="description last">
2521
+
2522
+ <p>不透明度。</p></td>
2523
+ </tr>
2524
+
2525
+
2526
+ </tbody>
2527
+ </table>
2927
2528
 
2928
- <td class="name"><code>layer</code></td>
2929
2529
 
2930
-
2931
- <td class="type">
2530
+
2531
+ <dl class="details">
2932
2532
 
2933
2533
 
2934
- <span class="param-type">Object</span>
2935
-
2936
-
2937
2534
 
2938
- </td>
2939
-
2940
2535
 
2941
-
2942
2536
 
2943
2537
 
2944
- <td class="description last"><p>图层。</p></td>
2945
- </tr>
2946
-
2947
-
2948
-
2949
- <tr class="deep-level-0">
2950
2538
 
2951
- <td class="name"><code>property</code></td>
2952
2539
 
2953
-
2954
- <td class="type">
2955
2540
 
2956
-
2957
- <span class="param-type">string</span>
2958
-
2959
-
2960
2541
 
2961
- </td>
2962
-
2963
2542
 
2964
-
2965
2543
 
2966
-
2967
- <td class="description last"><p>图层属性。</p></td>
2968
- </tr>
2969
-
2970
-
2971
- </tbody>
2972
- </table>
2973
- </div>
2974
-
2975
-
2976
-
2977
- <dl class="details">
2978
-
2979
2544
 
2980
-
2981
2545
 
2982
-
2983
2546
 
2984
-
2985
2547
 
2986
-
2987
2548
 
2988
-
2989
2549
 
2990
-
2991
2550
 
2992
-
2993
2551
 
2994
-
2995
2552
 
2553
+ </dl>
2996
2554
 
2997
2555
 
2556
+
2998
2557
 
2999
2558
 
3000
2559
 
3001
2560
 
3002
2561
 
3003
-
3004
2562
 
3005
-
3006
2563
 
3007
-
3008
2564
 
3009
- </dl>
3010
-
3011
-
3012
-
3013
-
3014
-
3015
-
3016
-
3017
-
3018
-
3019
-
3020
-
3021
-
3022
-
3023
-
3024
-
3025
-
3026
-
3027
-
3028
-
3029
-
3030
-
3031
-
3032
-
3033
-
3034
- </div>
3035
-
3036
- <div class="member">
3037
-
3038
-
3039
-
3040
2565
 
3041
- <h4 class="name" id="event:featuresremoved">
3042
- <a class="href-link" href="#event:featuresremoved">#</a>
2566
+
2567
+ </dd>
2568
+
3043
2569
 
3044
- <span class="code-name" style="font-size:30px">
3045
2570
 
3046
- featuresremoved
2571
+ <dt>
2572
+ <div class="nameContainer">
2573
+ <h4 class="name" id="update">
3047
2574
 
3048
- </span>
3049
- </h4>
2575
+ update<span class="signature">(bounds)</span>
2576
+ </h4>
3050
2577
 
2578
+
2579
+ <div class="tag-source">
2580
+ document/theme/ThemeLayer.js, line 285
2581
+ </div>
2582
+
2583
+ </div>
3051
2584
 
3052
2585
 
2586
+ </dt>
2587
+ <dd>
2588
+
2589
+
3053
2590
  <div class="description">
3054
- <p>删除的要素成功之后触发。</p>
2591
+ <p>更新图层。</p>
3055
2592
  </div>
3056
2593
 
3057
2594
 
3058
-
3059
-
3060
-
3061
-
3062
-
3063
-
3064
-
3065
-
3066
-
3067
-
3068
-
3069
-
3070
- <h5 class="subsection-title">属性:</h5>
3071
-
3072
2595
 
3073
- <div class="table-container">
3074
- <table class="props table">
3075
- <thead>
2596
+
2597
+
2598
+
2599
+
2600
+
2601
+
2602
+ <table class="params">
2603
+ <thead>
2604
+ <tr>
2605
+
2606
+ <th>Name</th>
2607
+
2608
+
2609
+ <th>Type</th>
2610
+
2611
+
2612
+
2613
+ <th class="last">Description</th>
2614
+ </tr>
2615
+ </thead>
2616
+
2617
+ <tbody>
2618
+
2619
+
3076
2620
  <tr>
3077
2621
 
3078
- <th>Name</th>
2622
+ <td class="name"><code>bounds</code></td>
3079
2623
 
3080
-
3081
- <th>Type</th>
3082
-
3083
2624
 
3084
-
2625
+ <td class="type">
3085
2626
 
2627
+
2628
+ <span class="param-type">L.bounds</span>
3086
2629
 
3087
- <th class="last">Description</th>
3088
- </tr>
3089
- </thead>
3090
2630
 
3091
- <tbody>
3092
-
3093
2631
 
3094
- <tr class="deep-level-0">
2632
+ </td>
2633
+
2634
+
2635
+
2636
+ <td class="description last">
2637
+
2638
+ <p>图层范围。</p></td>
2639
+ </tr>
2640
+
2641
+
2642
+ </tbody>
2643
+ </table>
3095
2644
 
3096
- <td class="name"><code>features</code></td>
3097
2645
 
3098
-
3099
- <td class="type">
2646
+
2647
+ <dl class="details">
3100
2648
 
3101
2649
 
3102
- <span class="param-type">Array.&lt;zondy.Feature.Vector></span>
3103
-
3104
-
3105
2650
 
3106
- </td>
3107
-
3108
2651
 
3109
-
3110
2652
 
3111
2653
 
3112
- <td class="description last"><p>事件对象。</p></td>
3113
- </tr>
3114
-
3115
-
3116
-
3117
- <tr class="deep-level-0">
3118
2654
 
3119
- <td class="name"><code>succeed</code></td>
3120
2655
 
3121
-
3122
- <td class="type">
3123
2656
 
3124
-
3125
- <span class="param-type">boolean</span>
3126
-
3127
-
3128
2657
 
3129
- </td>
3130
-
3131
2658
 
3132
-
3133
2659
 
3134
-
3135
- <td class="description last"><p>要输是否删除成功,true 为删除成功,false 为删除失败。</p></td>
3136
- </tr>
3137
-
3138
-
3139
- </tbody>
3140
- </table>
3141
- </div>
3142
-
3143
-
3144
-
3145
- <dl class="details">
3146
-
3147
2660
 
3148
-
3149
2661
 
3150
-
3151
2662
 
3152
-
3153
2663
 
3154
-
3155
2664
 
3156
-
3157
2665
 
3158
-
3159
2666
 
3160
-
3161
2667
 
3162
-
3163
2668
 
2669
+ </dl>
3164
2670
 
3165
2671
 
2672
+
3166
2673
 
3167
2674
 
3168
2675
 
3169
2676
 
3170
2677
 
3171
-
3172
2678
 
3173
-
3174
2679
 
3175
-
3176
2680
 
3177
- </dl>
3178
-
3179
-
3180
-
3181
-
3182
-
3183
-
3184
-
3185
-
3186
-
3187
-
3188
-
3189
-
3190
-
3191
-
3192
-
3193
-
3194
-
3195
-
3196
-
3197
-
3198
-
3199
-
3200
-
2681
+
2682
+
2683
+ </dd>
3201
2684
 
3202
- </div>
3203
-
3204
- </div>
3205
- </div>
2685
+ </dl>
3206
2686
 
2687
+
2688
+
2689
+
3207
2690
  </article>
3208
2691
 
3209
- </section>
2692
+ </section>
3210
2693
 
3211
2694
 
3212
2695
 
3213
2696
 
3214
- </div>
3215
-
3216
- <footer class="footer">
3217
- <div class="content has-text-centered">
3218
- <p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
3219
- <p class="sidebar-created-by">
3220
- <a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
3221
- <a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
3222
- </p>
3223
- </div>
3224
- </footer>
3225
-
3226
- </div>
3227
- <div id="side-nav" class="side-nav">
3228
- <div style="margin-bottom: 10px;">
3229
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
3230
- </div>
3231
- <div style="margin-bottom: 10px;">
3232
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
3233
- </div>
3234
- <div style="margin-bottom: 10px;">
3235
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
3236
- </div>
3237
- <div>
3238
- <img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
3239
- </div>
3240
- </div>
3241
- </div>
3242
- <script src="scripts/linenumber.js"> </script>
3243
2697
 
3244
- <script src="scripts/search.js"> </script>
2698
+ <footer>
2699
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc</a> on Wed Feb 04 2026 18:32:32 GMT+0800 (中国标准时间)
2700
+ </footer>
2701
+ </div>
2702
+ </div>
3245
2703
 
2704
+ <script>prettyPrint();</script>
2705
+ <script src="scripts/linenumber.js"></script>
2706
+ <script src="scripts/main.js"></script>
3246
2707
  </body>
3247
2708
  </html>