@mapgis/webclient-leaflet-plugin 17.0.0 → 17.0.2
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 +342 -114
- package/dist/es5/webclient-common.min.js +4 -4
- package/dist/es5/webclient-leaflet-plugin.min.js +3 -3
- package/dist/webclient-leaflet-plugin-es6.min.js +6 -6
- package/documention/DrawControl.html +9 -180
- package/documention/L.zondy.MapvBaseLayer.html +6 -177
- package/documention/MapViewLeaflet.html +14 -185
- package/documention/Popup.html +6 -177
- package/documention/Screenshot.html +8 -179
- package/documention/SketchEditorLeaflet.html +6 -177
- package/documention/Zondy.ThemeLayer.GeoFeatureThemeLayer.html +27 -198
- package/documention/Zondy.ThemeLayer.GraphThemeLayer.html +26 -197
- package/documention/Zondy.ThemeLayer.RandomThemeLayer.html +34 -205
- package/documention/Zondy.ThemeLayer.ThemeLayer.html +7 -178
- package/documention/Zondy.ThemeLayer.ThemeStyle.html +6 -177
- package/documention/Zondy.ThemeLayer.rangeThemeLayer.html +34 -205
- package/documention/Zondy.ThemeLayer.rankSymbolThemeLayer.html +39 -210
- package/documention/Zondy.ThemeLayer.simpleThemeLayer.html +34 -205
- package/documention/Zondy.ThemeLayer.uniqueThemeLayer.html +34 -205
- package/documention/Zondy.Widget.html +6 -177
- package/documention/Zondy.view.UI.html +6 -177
- package/documention/global.html +5 -176
- package/documention/index.html +6 -6
- package/documention/scripts/sideBar.js +76 -0
- 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 +7 -155
- package/documention/tutorial-2.1M3D/350/246/201/347/264/240/351/200/211/345/217/226.html +7 -155
- package/documention/tutorial-2.2M3D/351/222/273/345/255/224/345/211/226/345/210/207.html +7 -155
- package/package.json +1 -1
|
@@ -1,142 +1,10 @@
|
|
|
1
|
-
|
|
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>
|
|
1
|
+
<header id="page-title" class="page-title">
|
|
23
2
|
|
|
3
|
+
<span class="page-title-main">类名</span>
|
|
4
|
+
<span class="page-title-sub">ThemeLayer</span>
|
|
5
|
+
|
|
6
|
+
</header>
|
|
24
7
|
|
|
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 onclick="toggleSideBar('ViewModule-sidebar')" id="ViewModule" 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 id="ViewModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="DrawControl" href="DrawControl.html">DrawControl</a><img id="DrawControl-detail-arrow" onclick="toggleLinkDetail('DrawControl-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>绘制工具</p></span></li><div class="mapgis-link-detail" id="DrawControl-detail"><div><a href="DrawControl.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="DrawControl.html#function">方法</a></div><div><ul><li><a title="destory" class="mapgis-link-name" href="DrawControl.html#destory">destory</a></li><li><a title="destroy" class="mapgis-link-name" href="DrawControl.html#destroy">destroy</a></li><li><a title="end" class="mapgis-link-name" href="DrawControl.html#end">end</a></li><li><a title="start" class="mapgis-link-name" href="DrawControl.html#start">start</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapViewLeaflet" href="MapViewLeaflet.html">MapViewLeaflet</a><img id="MapViewLeaflet-detail-arrow" onclick="toggleLinkDetail('MapViewLeaflet-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
|
-
参考示例:
|
|
109
|
-
<a href='#MapViewLeaflet'>[初始化二维场景视图]</a>
|
|
110
|
-
<br>[ES5引入方式]:<br/>
|
|
111
|
-
Zondy.MapViewLeaflet() <br/>
|
|
112
|
-
[ES6引入方式]:<br/>
|
|
113
|
-
import { MapViewLeaflet } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><div class="mapgis-link-detail" id="MapViewLeaflet-detail"><div><a href="MapViewLeaflet.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="MapViewLeaflet.html#function">方法</a></div><div><ul><li><a title="fromJSON" class="mapgis-link-name" href="MapViewLeaflet.html#fromJSON">fromJSON</a></li><li><a title="fromJSON" class="mapgis-link-name" href="MapViewLeaflet.html#fromJSON">fromJSON</a></li><li><a title="clone" class="mapgis-link-name" href="MapViewLeaflet.html#clone">clone</a></li><li><a title="destroy" class="mapgis-link-name" href="MapViewLeaflet.html#destroy">destroy</a></li><li><a title="flyTo" class="mapgis-link-name" href="MapViewLeaflet.html#flyTo">flyTo</a></li><li><a title="getCenter" class="mapgis-link-name" href="MapViewLeaflet.html#getCenter">getCenter</a></li><li><a title="getExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getExtent">getExtent</a></li><li><a title="getMaxZoom" class="mapgis-link-name" href="MapViewLeaflet.html#getMaxZoom">getMaxZoom</a></li><li><a title="getMinZoom" class="mapgis-link-name" href="MapViewLeaflet.html#getMinZoom">getMinZoom</a></li><li><a title="getPixelCenter" class="mapgis-link-name" href="MapViewLeaflet.html#getPixelCenter">getPixelCenter</a></li><li><a title="getPixelExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getPixelExtent">getPixelExtent</a></li><li><a title="getPixelWorldExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getPixelWorldExtent">getPixelWorldExtent</a></li><li><a title="getScale" class="mapgis-link-name" href="MapViewLeaflet.html#getScale">getScale</a></li><li><a title="getSize" class="mapgis-link-name" href="MapViewLeaflet.html#getSize">getSize</a></li><li><a title="getZoom" class="mapgis-link-name" href="MapViewLeaflet.html#getZoom">getZoom</a></li><li><a title="getZoomByExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getZoomByExtent">getZoomByExtent</a></li><li><a title="goTo" class="mapgis-link-name" href="MapViewLeaflet.html#goTo">goTo</a></li><li><a title="hitTest" class="mapgis-link-name" href="MapViewLeaflet.html#hitTest">hitTest</a></li><li><a title="takeScreenshot" class="mapgis-link-name" href="MapViewLeaflet.html#takeScreenshot">takeScreenshot</a></li><li><a title="toJSON" class="mapgis-link-name" href="MapViewLeaflet.html#toJSON">toJSON</a></li><li><a title="toMap" class="mapgis-link-name" href="MapViewLeaflet.html#toMap">toMap</a></li><li><a title="toScreen" class="mapgis-link-name" href="MapViewLeaflet.html#toScreen">toScreen</a></li></ul></div><div><a class="mapgis-link-name" href="MapViewLeaflet.html#member">成员变量</a></div><div><ul><li><a title="animation" class="mapgis-link-name" href="MapViewLeaflet.html#animation">animation</a></li><li><a title="center" class="mapgis-link-name" href="MapViewLeaflet.html#center">center</a></li><li><a title="engineType" class="mapgis-link-name" href="MapViewLeaflet.html#engineType">engineType</a></li><li><a title="extent" class="mapgis-link-name" href="MapViewLeaflet.html#extent">extent</a></li><li><a title="fullExtent" class="mapgis-link-name" href="MapViewLeaflet.html#fullExtent">fullExtent</a></li><li><a title="height" class="mapgis-link-name" href="MapViewLeaflet.html#height">height</a></li><li><a title="maxScale" class="mapgis-link-name" href="MapViewLeaflet.html#maxScale">maxScale</a></li><li><a title="minScale" class="mapgis-link-name" href="MapViewLeaflet.html#minScale">minScale</a></li><li><a title="popup" class="mapgis-link-name" href="MapViewLeaflet.html#popup">popup</a></li><li><a title="preferCanvas" class="mapgis-link-name" href="MapViewLeaflet.html#preferCanvas">preferCanvas</a></li><li><a title="rotation" class="mapgis-link-name" href="MapViewLeaflet.html#rotation">rotation</a></li><li><a title="scale" class="mapgis-link-name" href="MapViewLeaflet.html#scale">scale</a></li><li><a title="spatialReference" class="mapgis-link-name" href="MapViewLeaflet.html#spatialReference">spatialReference</a></li><li><a title="spatialReferenceLocked" class="mapgis-link-name" href="MapViewLeaflet.html#spatialReferenceLocked">spatialReferenceLocked</a></li><li><a title="stationary" class="mapgis-link-name" href="MapViewLeaflet.html#stationary">stationary</a></li><li><a title="width" class="mapgis-link-name" href="MapViewLeaflet.html#width">width</a></li><li><a title="zoom" class="mapgis-link-name" href="MapViewLeaflet.html#zoom">zoom</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" href="Popup.html">Popup</a><img id="Popup-detail-arrow" onclick="toggleLinkDetail('Popup-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维场景信息弹窗(leaflet引擎)
|
|
114
|
-
参考示例:
|
|
115
|
-
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
116
|
-
[ES6引入方式]:<br/>
|
|
117
|
-
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
118
|
-
自定义样式说明:<br/>
|
|
119
|
-
zondy-popup__content 弹窗容器样式<br/>
|
|
120
|
-
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
|
-
zondy-popup__header 弹窗头部样式<br/>
|
|
122
|
-
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><div class="mapgis-link-detail" id="Popup-detail"><div><a href="Popup.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Popup.html#function">方法</a></div><div><ul><li><a title="close" class="mapgis-link-name" href="Popup.html#close">close</a></li><li><a title="open" class="mapgis-link-name" href="Popup.html#open">open</a></li><li><a title="openPopup" class="mapgis-link-name" href="Popup.html#openPopup">openPopup</a></li></ul></div><div><a class="mapgis-link-name" href="Popup.html#member">成员变量</a></div><div><ul><li><a title="alignment" class="mapgis-link-name" href="Popup.html#alignment">alignment</a></li><li><a title="content" class="mapgis-link-name" href="Popup.html#content">content</a></li><li><a title="defaultButtons" class="mapgis-link-name" href="Popup.html#defaultButtons">defaultButtons</a></li><li><a title="location" class="mapgis-link-name" href="Popup.html#location">location</a></li><li><a title="title" class="mapgis-link-name" href="Popup.html#title">title</a></li><li><a title="view" class="mapgis-link-name" href="Popup.html#view">view</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Screenshot" href="Screenshot.html">Screenshot</a><img id="Screenshot-detail-arrow" onclick="toggleLinkDetail('Screenshot-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>屏幕打印工具</p></span></li><div class="mapgis-link-detail" id="Screenshot-detail"><div><a href="Screenshot.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Screenshot.html#function">方法</a></div><div><ul><li><a title="destroy" class="mapgis-link-name" href="Screenshot.html#destroy">destroy</a></li></ul></div><div><a class="mapgis-link-name" href="Screenshot.html#member">成员变量</a></div><div><ul><li><a title="filename" class="mapgis-link-name" href="Screenshot.html#filename">filename</a></li><li><a title="format" class="mapgis-link-name" href="Screenshot.html#format">format</a></li><li><a title="height" class="mapgis-link-name" href="Screenshot.html#height">height</a></li><li><a title="isDownload" class="mapgis-link-name" href="Screenshot.html#isDownload">isDownload</a></li><li><a title="view" class="mapgis-link-name" href="Screenshot.html#view">view</a></li><li><a title="width" class="mapgis-link-name" href="Screenshot.html#width">width</a></li><li><a title="x" class="mapgis-link-name" href="Screenshot.html#x">x</a></li><li><a title="y" class="mapgis-link-name" href="Screenshot.html#y">y</a></li></ul></div></div></ul><div onclick="toggleSideBar('SketchEditorModule-sidebar')" id="SketchEditorModule" 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 id="SketchEditorModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SketchEditorLeaflet" href="SketchEditorLeaflet.html">SketchEditorLeaflet</a><img id="SketchEditorLeaflet-detail-arrow" onclick="toggleLinkDetail('SketchEditorLeaflet-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
124
|
-
<br>[ES5引入方式]:<br/>
|
|
125
|
-
const { SketchEditorLeaflet } = Zondy <br/>
|
|
126
|
-
[ES6引入方式]:<br/>
|
|
127
|
-
import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li><div class="mapgis-link-detail" id="SketchEditorLeaflet-detail"><div><a href="SketchEditorLeaflet.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="SketchEditorLeaflet.html#function">方法</a></div><div><ul><li><a title="addVertex" class="mapgis-link-name" href="SketchEditorLeaflet.html#addVertex">addVertex</a></li><li><a title="canRedo" class="mapgis-link-name" href="SketchEditorLeaflet.html#canRedo">canRedo</a></li><li><a title="canUndo" class="mapgis-link-name" href="SketchEditorLeaflet.html#canUndo">canUndo</a></li><li><a title="drawPolylineToPolygon" class="mapgis-link-name" href="SketchEditorLeaflet.html#drawPolylineToPolygon">drawPolylineToPolygon</a></li><li><a title="getGeometry" class="mapgis-link-name" href="SketchEditorLeaflet.html#getGeometry">getGeometry</a></li><li><a title="getSketchStyle" class="mapgis-link-name" href="SketchEditorLeaflet.html#getSketchStyle">getSketchStyle</a></li><li><a title="redo" class="mapgis-link-name" href="SketchEditorLeaflet.html#redo">redo</a></li><li><a title="remove" class="mapgis-link-name" href="SketchEditorLeaflet.html#remove">remove</a></li><li><a title="removeVertex" class="mapgis-link-name" href="SketchEditorLeaflet.html#removeVertex">removeVertex</a></li><li><a title="setSketchStyle" class="mapgis-link-name" href="SketchEditorLeaflet.html#setSketchStyle">setSketchStyle</a></li><li><a title="split" class="mapgis-link-name" href="SketchEditorLeaflet.html#split">split</a></li><li><a title="start" class="mapgis-link-name" href="SketchEditorLeaflet.html#start">start</a></li><li><a title="startCustomDrawTool" class="mapgis-link-name" href="SketchEditorLeaflet.html#startCustomDrawTool">startCustomDrawTool</a></li><li><a title="stop" class="mapgis-link-name" href="SketchEditorLeaflet.html#stop">stop</a></li><li><a title="undo" class="mapgis-link-name" href="SketchEditorLeaflet.html#undo">undo</a></li><li><a title="union" class="mapgis-link-name" href="SketchEditorLeaflet.html#union">union</a></li><li><a title="updateVertex" class="mapgis-link-name" href="SketchEditorLeaflet.html#updateVertex">updateVertex</a></li></ul></div></div></ul><div onclick="toggleSideBar('RendererModule-sidebar')" id="RendererModule" 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 id="RendererModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Zondy.ThemeLayer.GraphThemeLayer" href="Zondy.ThemeLayer.GraphThemeLayer.html">GraphThemeLayer</a><img id="Zondy.ThemeLayer.GraphThemeLayer-detail-arrow" onclick="toggleLinkDetail('Zondy.ThemeLayer.GraphThemeLayer-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>统计专题图通过为每个要素绘制统计图表来反映其对应的专题值的大小。它可同时表示多个字段属性信息,在区域本身与各区域之间形成横向和纵向的对比。<br>统计专题图多用于具有相关数量特征的地图上,比如表示不同地区多年的粮食产量、GDP、人口等,不同时段客运量、地铁流量等。目前提供的统计图类型有:柱状图(Bar),折线图(Line),饼图(Pie),三维柱状图(Bar3D),点状图(Point),环状图(Ring)。</p></span></li><div class="mapgis-link-detail" id="Zondy.ThemeLayer.GraphThemeLayer-detail"><div><a href="Zondy.ThemeLayer.GraphThemeLayer.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#function">方法</a></div><div><ul><li><a title="addFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#addFeatures">addFeatures</a></li><li><a title="clear" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#clear">clear</a></li><li><a title="clearCache" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#clearCache">clearCache</a></li><li><a title="clearCache" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#clearCache">clearCache</a></li><li><a title="createThematicFeature" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#createThematicFeature">createThematicFeature</a></li><li><a title="destroyFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#destroyFeatures">destroyFeatures</a></li><li><a title="drawCharts" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#drawCharts">drawCharts</a></li><li><a title="getEvents" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getEvents">getEvents</a></li><li><a title="getFeatureBy" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeatureBy">getFeatureBy</a></li><li><a title="getFeatureById" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeatureById">getFeatureById</a></li><li><a title="getFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeatures">getFeatures</a></li><li><a title="getFeaturesByAttribute" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeaturesByAttribute">getFeaturesByAttribute</a></li><li><a title="getLocalXY" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getLocalXY">getLocalXY</a></li><li><a title="getShapesByFeatureID" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getShapesByFeatureID">getShapesByFeatureID</a></li><li><a title="getWeightFieldValue" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getWeightFieldValue">getWeightFieldValue</a></li><li><a title="initialize" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#initialize">initialize</a></li><li><a title="isChartInMap" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#isChartInMap">isChartInMap</a></li><li><a title="isPointInPoly" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#isPointInPoly">isPointInPoly</a></li><li><a title="isQuadrilateralOverLap" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#isQuadrilateralOverLap">isQuadrilateralOverLap</a></li><li><a title="lineIntersection" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#lineIntersection">lineIntersection</a></li><li><a title="off" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#off">off</a></li><li><a title="on" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#on">on</a></li><li><a title="onRemove" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#onRemove">onRemove</a></li><li><a title="redraw" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#redraw">redraw</a></li><li><a title="redrawThematicFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#redrawThematicFeatures">redrawThematicFeatures</a></li><li><a title="removeAllFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#removeAllFeatures">removeAllFeatures</a></li><li><a title="removeFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#removeFeatures">removeFeatures</a></li><li><a title="setChartsType" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#setChartsType">setChartsType</a></li><li><a title="setOpacity" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#setOpacity">setOpacity</a></li><li><a title="update" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#update">update</a></li></ul></div><div><a class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#event">事件</a></div><div><ul><li><a title="beforefeaturesadded" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#beforefeaturesadded">beforefeaturesadded</a></li><li><a title="changelayer" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#changelayer">changelayer</a></li><li><a title="featuresremoved" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#featuresremoved">featuresremoved</a></li></ul></div></div></ul></div>
|
|
128
|
-
|
|
129
|
-
</nav>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="core" id="main-content-wrapper">
|
|
132
|
-
<div class="content">
|
|
133
|
-
<header id="page-title" class="page-title">
|
|
134
|
-
|
|
135
|
-
<span class="page-title-main">类名</span>
|
|
136
|
-
<span class="page-title-sub">ThemeLayer</span>
|
|
137
|
-
|
|
138
|
-
</header>
|
|
139
|
-
|
|
140
8
|
|
|
141
9
|
|
|
142
10
|
|
|
@@ -361,7 +229,7 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
361
229
|
<div class="column is-2"><label>绑定事件</label></div>
|
|
362
230
|
<div class="column is-10">
|
|
363
231
|
<ul>
|
|
364
|
-
<li><a class="mapgis-link-name" title="Zondy.ThemeLayer.ThemeLayer#event:featuresremoved"
|
|
232
|
+
<li><a class="mapgis-link-name" title="Zondy.ThemeLayer.ThemeLayer#event:featuresremoved" Zondy.ThemeLayer.ThemeLayer.html#event:featuresremoved>Zondy.ThemeLayer.ThemeLayer#event:featuresremoved</a></li>
|
|
365
233
|
</ul>
|
|
366
234
|
</div>
|
|
367
235
|
</div>
|
|
@@ -3433,43 +3301,4 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
3433
3301
|
|
|
3434
3302
|
</article>
|
|
3435
3303
|
|
|
3436
|
-
</section>
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
</div>
|
|
3442
|
-
|
|
3443
|
-
<footer class="footer">
|
|
3444
|
-
<div class="content has-text-centered">
|
|
3445
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.0.0</a></p>
|
|
3446
|
-
<p class="sidebar-created-by">
|
|
3447
|
-
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
3448
|
-
<a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
3449
|
-
</p>
|
|
3450
|
-
</div>
|
|
3451
|
-
</footer>
|
|
3452
|
-
|
|
3453
|
-
</div>
|
|
3454
|
-
<div id="side-nav" class="side-nav">
|
|
3455
|
-
<div style="margin-bottom: 10px;">
|
|
3456
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
3457
|
-
</div>
|
|
3458
|
-
<div style="margin-bottom: 10px;">
|
|
3459
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
3460
|
-
</div>
|
|
3461
|
-
<div style="margin-bottom: 10px;">
|
|
3462
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
3463
|
-
</div>
|
|
3464
|
-
<div>
|
|
3465
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
3466
|
-
</div>
|
|
3467
|
-
</div>
|
|
3468
|
-
</div>
|
|
3469
|
-
<script src="scripts/linenumber.js"> </script>
|
|
3470
|
-
|
|
3471
|
-
<script src="scripts/search.js"> </script>
|
|
3472
|
-
|
|
3473
|
-
<script src="scripts/sideBar.js"> </script>
|
|
3474
|
-
</body>
|
|
3475
|
-
</html>
|
|
3304
|
+
</section>
|
|
@@ -1,142 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
-
<title> ThemeStyle</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>
|
|
1
|
+
<header id="page-title" class="page-title">
|
|
2
|
+
|
|
3
|
+
<span class="page-title-main">类名</span>
|
|
4
|
+
<span class="page-title-sub">ThemeStyle</span>
|
|
23
5
|
|
|
6
|
+
</header>
|
|
24
7
|
|
|
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 onclick="toggleSideBar('ViewModule-sidebar')" id="ViewModule" 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 id="ViewModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="DrawControl" href="DrawControl.html">DrawControl</a><img id="DrawControl-detail-arrow" onclick="toggleLinkDetail('DrawControl-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>绘制工具</p></span></li><div class="mapgis-link-detail" id="DrawControl-detail"><div><a href="DrawControl.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="DrawControl.html#function">方法</a></div><div><ul><li><a title="destory" class="mapgis-link-name" href="DrawControl.html#destory">destory</a></li><li><a title="destroy" class="mapgis-link-name" href="DrawControl.html#destroy">destroy</a></li><li><a title="end" class="mapgis-link-name" href="DrawControl.html#end">end</a></li><li><a title="start" class="mapgis-link-name" href="DrawControl.html#start">start</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapViewLeaflet" href="MapViewLeaflet.html">MapViewLeaflet</a><img id="MapViewLeaflet-detail-arrow" onclick="toggleLinkDetail('MapViewLeaflet-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
|
-
参考示例:
|
|
109
|
-
<a href='#MapViewLeaflet'>[初始化二维场景视图]</a>
|
|
110
|
-
<br>[ES5引入方式]:<br/>
|
|
111
|
-
Zondy.MapViewLeaflet() <br/>
|
|
112
|
-
[ES6引入方式]:<br/>
|
|
113
|
-
import { MapViewLeaflet } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><div class="mapgis-link-detail" id="MapViewLeaflet-detail"><div><a href="MapViewLeaflet.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="MapViewLeaflet.html#function">方法</a></div><div><ul><li><a title="fromJSON" class="mapgis-link-name" href="MapViewLeaflet.html#fromJSON">fromJSON</a></li><li><a title="fromJSON" class="mapgis-link-name" href="MapViewLeaflet.html#fromJSON">fromJSON</a></li><li><a title="clone" class="mapgis-link-name" href="MapViewLeaflet.html#clone">clone</a></li><li><a title="destroy" class="mapgis-link-name" href="MapViewLeaflet.html#destroy">destroy</a></li><li><a title="flyTo" class="mapgis-link-name" href="MapViewLeaflet.html#flyTo">flyTo</a></li><li><a title="getCenter" class="mapgis-link-name" href="MapViewLeaflet.html#getCenter">getCenter</a></li><li><a title="getExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getExtent">getExtent</a></li><li><a title="getMaxZoom" class="mapgis-link-name" href="MapViewLeaflet.html#getMaxZoom">getMaxZoom</a></li><li><a title="getMinZoom" class="mapgis-link-name" href="MapViewLeaflet.html#getMinZoom">getMinZoom</a></li><li><a title="getPixelCenter" class="mapgis-link-name" href="MapViewLeaflet.html#getPixelCenter">getPixelCenter</a></li><li><a title="getPixelExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getPixelExtent">getPixelExtent</a></li><li><a title="getPixelWorldExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getPixelWorldExtent">getPixelWorldExtent</a></li><li><a title="getScale" class="mapgis-link-name" href="MapViewLeaflet.html#getScale">getScale</a></li><li><a title="getSize" class="mapgis-link-name" href="MapViewLeaflet.html#getSize">getSize</a></li><li><a title="getZoom" class="mapgis-link-name" href="MapViewLeaflet.html#getZoom">getZoom</a></li><li><a title="getZoomByExtent" class="mapgis-link-name" href="MapViewLeaflet.html#getZoomByExtent">getZoomByExtent</a></li><li><a title="goTo" class="mapgis-link-name" href="MapViewLeaflet.html#goTo">goTo</a></li><li><a title="hitTest" class="mapgis-link-name" href="MapViewLeaflet.html#hitTest">hitTest</a></li><li><a title="takeScreenshot" class="mapgis-link-name" href="MapViewLeaflet.html#takeScreenshot">takeScreenshot</a></li><li><a title="toJSON" class="mapgis-link-name" href="MapViewLeaflet.html#toJSON">toJSON</a></li><li><a title="toMap" class="mapgis-link-name" href="MapViewLeaflet.html#toMap">toMap</a></li><li><a title="toScreen" class="mapgis-link-name" href="MapViewLeaflet.html#toScreen">toScreen</a></li></ul></div><div><a class="mapgis-link-name" href="MapViewLeaflet.html#member">成员变量</a></div><div><ul><li><a title="animation" class="mapgis-link-name" href="MapViewLeaflet.html#animation">animation</a></li><li><a title="center" class="mapgis-link-name" href="MapViewLeaflet.html#center">center</a></li><li><a title="engineType" class="mapgis-link-name" href="MapViewLeaflet.html#engineType">engineType</a></li><li><a title="extent" class="mapgis-link-name" href="MapViewLeaflet.html#extent">extent</a></li><li><a title="fullExtent" class="mapgis-link-name" href="MapViewLeaflet.html#fullExtent">fullExtent</a></li><li><a title="height" class="mapgis-link-name" href="MapViewLeaflet.html#height">height</a></li><li><a title="maxScale" class="mapgis-link-name" href="MapViewLeaflet.html#maxScale">maxScale</a></li><li><a title="minScale" class="mapgis-link-name" href="MapViewLeaflet.html#minScale">minScale</a></li><li><a title="popup" class="mapgis-link-name" href="MapViewLeaflet.html#popup">popup</a></li><li><a title="preferCanvas" class="mapgis-link-name" href="MapViewLeaflet.html#preferCanvas">preferCanvas</a></li><li><a title="rotation" class="mapgis-link-name" href="MapViewLeaflet.html#rotation">rotation</a></li><li><a title="scale" class="mapgis-link-name" href="MapViewLeaflet.html#scale">scale</a></li><li><a title="spatialReference" class="mapgis-link-name" href="MapViewLeaflet.html#spatialReference">spatialReference</a></li><li><a title="spatialReferenceLocked" class="mapgis-link-name" href="MapViewLeaflet.html#spatialReferenceLocked">spatialReferenceLocked</a></li><li><a title="stationary" class="mapgis-link-name" href="MapViewLeaflet.html#stationary">stationary</a></li><li><a title="width" class="mapgis-link-name" href="MapViewLeaflet.html#width">width</a></li><li><a title="zoom" class="mapgis-link-name" href="MapViewLeaflet.html#zoom">zoom</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" href="Popup.html">Popup</a><img id="Popup-detail-arrow" onclick="toggleLinkDetail('Popup-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维场景信息弹窗(leaflet引擎)
|
|
114
|
-
参考示例:
|
|
115
|
-
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
116
|
-
[ES6引入方式]:<br/>
|
|
117
|
-
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
|
|
118
|
-
自定义样式说明:<br/>
|
|
119
|
-
zondy-popup__content 弹窗容器样式<br/>
|
|
120
|
-
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
|
-
zondy-popup__header 弹窗头部样式<br/>
|
|
122
|
-
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><div class="mapgis-link-detail" id="Popup-detail"><div><a href="Popup.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Popup.html#function">方法</a></div><div><ul><li><a title="close" class="mapgis-link-name" href="Popup.html#close">close</a></li><li><a title="open" class="mapgis-link-name" href="Popup.html#open">open</a></li><li><a title="openPopup" class="mapgis-link-name" href="Popup.html#openPopup">openPopup</a></li></ul></div><div><a class="mapgis-link-name" href="Popup.html#member">成员变量</a></div><div><ul><li><a title="alignment" class="mapgis-link-name" href="Popup.html#alignment">alignment</a></li><li><a title="content" class="mapgis-link-name" href="Popup.html#content">content</a></li><li><a title="defaultButtons" class="mapgis-link-name" href="Popup.html#defaultButtons">defaultButtons</a></li><li><a title="location" class="mapgis-link-name" href="Popup.html#location">location</a></li><li><a title="title" class="mapgis-link-name" href="Popup.html#title">title</a></li><li><a title="view" class="mapgis-link-name" href="Popup.html#view">view</a></li></ul></div></div><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Screenshot" href="Screenshot.html">Screenshot</a><img id="Screenshot-detail-arrow" onclick="toggleLinkDetail('Screenshot-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>屏幕打印工具</p></span></li><div class="mapgis-link-detail" id="Screenshot-detail"><div><a href="Screenshot.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Screenshot.html#function">方法</a></div><div><ul><li><a title="destroy" class="mapgis-link-name" href="Screenshot.html#destroy">destroy</a></li></ul></div><div><a class="mapgis-link-name" href="Screenshot.html#member">成员变量</a></div><div><ul><li><a title="filename" class="mapgis-link-name" href="Screenshot.html#filename">filename</a></li><li><a title="format" class="mapgis-link-name" href="Screenshot.html#format">format</a></li><li><a title="height" class="mapgis-link-name" href="Screenshot.html#height">height</a></li><li><a title="isDownload" class="mapgis-link-name" href="Screenshot.html#isDownload">isDownload</a></li><li><a title="view" class="mapgis-link-name" href="Screenshot.html#view">view</a></li><li><a title="width" class="mapgis-link-name" href="Screenshot.html#width">width</a></li><li><a title="x" class="mapgis-link-name" href="Screenshot.html#x">x</a></li><li><a title="y" class="mapgis-link-name" href="Screenshot.html#y">y</a></li></ul></div></div></ul><div onclick="toggleSideBar('SketchEditorModule-sidebar')" id="SketchEditorModule" 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 id="SketchEditorModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SketchEditorLeaflet" href="SketchEditorLeaflet.html">SketchEditorLeaflet</a><img id="SketchEditorLeaflet-detail-arrow" onclick="toggleLinkDetail('SketchEditorLeaflet-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
|
|
124
|
-
<br>[ES5引入方式]:<br/>
|
|
125
|
-
const { SketchEditorLeaflet } = Zondy <br/>
|
|
126
|
-
[ES6引入方式]:<br/>
|
|
127
|
-
import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li><div class="mapgis-link-detail" id="SketchEditorLeaflet-detail"><div><a href="SketchEditorLeaflet.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="SketchEditorLeaflet.html#function">方法</a></div><div><ul><li><a title="addVertex" class="mapgis-link-name" href="SketchEditorLeaflet.html#addVertex">addVertex</a></li><li><a title="canRedo" class="mapgis-link-name" href="SketchEditorLeaflet.html#canRedo">canRedo</a></li><li><a title="canUndo" class="mapgis-link-name" href="SketchEditorLeaflet.html#canUndo">canUndo</a></li><li><a title="drawPolylineToPolygon" class="mapgis-link-name" href="SketchEditorLeaflet.html#drawPolylineToPolygon">drawPolylineToPolygon</a></li><li><a title="getGeometry" class="mapgis-link-name" href="SketchEditorLeaflet.html#getGeometry">getGeometry</a></li><li><a title="getSketchStyle" class="mapgis-link-name" href="SketchEditorLeaflet.html#getSketchStyle">getSketchStyle</a></li><li><a title="redo" class="mapgis-link-name" href="SketchEditorLeaflet.html#redo">redo</a></li><li><a title="remove" class="mapgis-link-name" href="SketchEditorLeaflet.html#remove">remove</a></li><li><a title="removeVertex" class="mapgis-link-name" href="SketchEditorLeaflet.html#removeVertex">removeVertex</a></li><li><a title="setSketchStyle" class="mapgis-link-name" href="SketchEditorLeaflet.html#setSketchStyle">setSketchStyle</a></li><li><a title="split" class="mapgis-link-name" href="SketchEditorLeaflet.html#split">split</a></li><li><a title="start" class="mapgis-link-name" href="SketchEditorLeaflet.html#start">start</a></li><li><a title="startCustomDrawTool" class="mapgis-link-name" href="SketchEditorLeaflet.html#startCustomDrawTool">startCustomDrawTool</a></li><li><a title="stop" class="mapgis-link-name" href="SketchEditorLeaflet.html#stop">stop</a></li><li><a title="undo" class="mapgis-link-name" href="SketchEditorLeaflet.html#undo">undo</a></li><li><a title="union" class="mapgis-link-name" href="SketchEditorLeaflet.html#union">union</a></li><li><a title="updateVertex" class="mapgis-link-name" href="SketchEditorLeaflet.html#updateVertex">updateVertex</a></li></ul></div></div></ul><div onclick="toggleSideBar('RendererModule-sidebar')" id="RendererModule" 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 id="RendererModule-sidebar" class="mapgis-sidebar-menus"><li class="mapgis-link"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Zondy.ThemeLayer.GraphThemeLayer" href="Zondy.ThemeLayer.GraphThemeLayer.html">GraphThemeLayer</a><img id="Zondy.ThemeLayer.GraphThemeLayer-detail-arrow" onclick="toggleLinkDetail('Zondy.ThemeLayer.GraphThemeLayer-detail')" style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/up-arrow.png" alt=""><span style="display: none;"><p>统计专题图通过为每个要素绘制统计图表来反映其对应的专题值的大小。它可同时表示多个字段属性信息,在区域本身与各区域之间形成横向和纵向的对比。<br>统计专题图多用于具有相关数量特征的地图上,比如表示不同地区多年的粮食产量、GDP、人口等,不同时段客运量、地铁流量等。目前提供的统计图类型有:柱状图(Bar),折线图(Line),饼图(Pie),三维柱状图(Bar3D),点状图(Point),环状图(Ring)。</p></span></li><div class="mapgis-link-detail" id="Zondy.ThemeLayer.GraphThemeLayer-detail"><div><a href="Zondy.ThemeLayer.GraphThemeLayer.html#page-title">构造函数</a></div><div><a class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#function">方法</a></div><div><ul><li><a title="addFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#addFeatures">addFeatures</a></li><li><a title="clear" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#clear">clear</a></li><li><a title="clearCache" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#clearCache">clearCache</a></li><li><a title="clearCache" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#clearCache">clearCache</a></li><li><a title="createThematicFeature" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#createThematicFeature">createThematicFeature</a></li><li><a title="destroyFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#destroyFeatures">destroyFeatures</a></li><li><a title="drawCharts" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#drawCharts">drawCharts</a></li><li><a title="getEvents" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getEvents">getEvents</a></li><li><a title="getFeatureBy" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeatureBy">getFeatureBy</a></li><li><a title="getFeatureById" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeatureById">getFeatureById</a></li><li><a title="getFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeatures">getFeatures</a></li><li><a title="getFeaturesByAttribute" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getFeaturesByAttribute">getFeaturesByAttribute</a></li><li><a title="getLocalXY" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getLocalXY">getLocalXY</a></li><li><a title="getShapesByFeatureID" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getShapesByFeatureID">getShapesByFeatureID</a></li><li><a title="getWeightFieldValue" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#getWeightFieldValue">getWeightFieldValue</a></li><li><a title="initialize" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#initialize">initialize</a></li><li><a title="isChartInMap" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#isChartInMap">isChartInMap</a></li><li><a title="isPointInPoly" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#isPointInPoly">isPointInPoly</a></li><li><a title="isQuadrilateralOverLap" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#isQuadrilateralOverLap">isQuadrilateralOverLap</a></li><li><a title="lineIntersection" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#lineIntersection">lineIntersection</a></li><li><a title="off" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#off">off</a></li><li><a title="on" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#on">on</a></li><li><a title="onRemove" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#onRemove">onRemove</a></li><li><a title="redraw" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#redraw">redraw</a></li><li><a title="redrawThematicFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#redrawThematicFeatures">redrawThematicFeatures</a></li><li><a title="removeAllFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#removeAllFeatures">removeAllFeatures</a></li><li><a title="removeFeatures" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#removeFeatures">removeFeatures</a></li><li><a title="setChartsType" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#setChartsType">setChartsType</a></li><li><a title="setOpacity" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#setOpacity">setOpacity</a></li><li><a title="update" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#update">update</a></li></ul></div><div><a class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#event">事件</a></div><div><ul><li><a title="beforefeaturesadded" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#beforefeaturesadded">beforefeaturesadded</a></li><li><a title="changelayer" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#changelayer">changelayer</a></li><li><a title="featuresremoved" class="mapgis-link-name" href="Zondy.ThemeLayer.GraphThemeLayer.html#featuresremoved">featuresremoved</a></li></ul></div></div></ul></div>
|
|
128
|
-
|
|
129
|
-
</nav>
|
|
130
|
-
</div>
|
|
131
|
-
<div class="core" id="main-content-wrapper">
|
|
132
|
-
<div class="content">
|
|
133
|
-
<header id="page-title" class="page-title">
|
|
134
|
-
|
|
135
|
-
<span class="page-title-main">类名</span>
|
|
136
|
-
<span class="page-title-sub">ThemeStyle</span>
|
|
137
|
-
|
|
138
|
-
</header>
|
|
139
|
-
|
|
140
8
|
|
|
141
9
|
|
|
142
10
|
|
|
@@ -3576,43 +3444,4 @@ solid 表示实线。</p>
|
|
|
3576
3444
|
|
|
3577
3445
|
</article>
|
|
3578
3446
|
|
|
3579
|
-
</section>
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
</div>
|
|
3585
|
-
|
|
3586
|
-
<footer class="footer">
|
|
3587
|
-
<div class="content has-text-centered">
|
|
3588
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.0.0</a></p>
|
|
3589
|
-
<p class="sidebar-created-by">
|
|
3590
|
-
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
3591
|
-
<a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
3592
|
-
</p>
|
|
3593
|
-
</div>
|
|
3594
|
-
</footer>
|
|
3595
|
-
|
|
3596
|
-
</div>
|
|
3597
|
-
<div id="side-nav" class="side-nav">
|
|
3598
|
-
<div style="margin-bottom: 10px;">
|
|
3599
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
3600
|
-
</div>
|
|
3601
|
-
<div style="margin-bottom: 10px;">
|
|
3602
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
3603
|
-
</div>
|
|
3604
|
-
<div style="margin-bottom: 10px;">
|
|
3605
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
3606
|
-
</div>
|
|
3607
|
-
<div>
|
|
3608
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
3609
|
-
</div>
|
|
3610
|
-
</div>
|
|
3611
|
-
</div>
|
|
3612
|
-
<script src="scripts/linenumber.js"> </script>
|
|
3613
|
-
|
|
3614
|
-
<script src="scripts/search.js"> </script>
|
|
3615
|
-
|
|
3616
|
-
<script src="scripts/sideBar.js"> </script>
|
|
3617
|
-
</body>
|
|
3618
|
-
</html>
|
|
3447
|
+
</section>
|