@mapgis/webclient-leaflet-plugin 17.0.0 → 17.0.4
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 +350 -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 +5 -5
- package/documention/DrawControl.html +16 -184
- package/documention/L.zondy.MapvBaseLayer.html +15 -180
- package/documention/MapViewLeaflet.html +177 -224
- package/documention/Popup.html +37 -186
- package/documention/Screenshot.html +22 -188
- package/documention/SketchEditorLeaflet.html +56 -194
- package/documention/Zondy.ThemeLayer.GeoFeatureThemeLayer.html +97 -222
- package/documention/Zondy.ThemeLayer.GraphThemeLayer.html +126 -227
- package/documention/Zondy.ThemeLayer.RandomThemeLayer.html +114 -234
- package/documention/Zondy.ThemeLayer.ThemeLayer.html +59 -195
- package/documention/Zondy.ThemeLayer.ThemeStyle.html +118 -205
- package/documention/Zondy.ThemeLayer.rangeThemeLayer.html +119 -235
- package/documention/Zondy.ThemeLayer.rankSymbolThemeLayer.html +144 -241
- package/documention/Zondy.ThemeLayer.simpleThemeLayer.html +112 -233
- package/documention/Zondy.ThemeLayer.uniqueThemeLayer.html +113 -232
- package/documention/Zondy.Widget.html +11 -177
- package/documention/Zondy.view.UI.html +9 -177
- package/documention/global.html +9 -176
- package/documention/index.html +6 -6
- package/documention/scripts/sideBar.js +98 -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
package/documention/global.html
CHANGED
|
@@ -1,141 +1,9 @@
|
|
|
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> Global</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
|
+
|
|
5
|
+
</header>
|
|
24
6
|
|
|
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
|
-
|
|
137
|
-
</header>
|
|
138
|
-
|
|
139
7
|
|
|
140
8
|
|
|
141
9
|
|
|
@@ -873,6 +741,7 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
873
741
|
<span class="param-type">Object</span>
|
|
874
742
|
|
|
875
743
|
|
|
744
|
+
|
|
876
745
|
|
|
877
746
|
</td>
|
|
878
747
|
|
|
@@ -895,6 +764,7 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
895
764
|
<span class="param-type">String</span>
|
|
896
765
|
|
|
897
766
|
|
|
767
|
+
|
|
898
768
|
|
|
899
769
|
</td>
|
|
900
770
|
|
|
@@ -917,6 +787,7 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
917
787
|
<span class="param-type">Feature</span>
|
|
918
788
|
|
|
919
789
|
|
|
790
|
+
|
|
920
791
|
|
|
921
792
|
</td>
|
|
922
793
|
|
|
@@ -939,6 +810,7 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
939
810
|
<span class="param-type">Object</span>
|
|
940
811
|
|
|
941
812
|
|
|
813
|
+
|
|
942
814
|
|
|
943
815
|
</td>
|
|
944
816
|
|
|
@@ -1027,43 +899,4 @@ import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin"
|
|
|
1027
899
|
|
|
1028
900
|
</article>
|
|
1029
901
|
|
|
1030
|
-
</section>
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
</div>
|
|
1036
|
-
|
|
1037
|
-
<footer class="footer">
|
|
1038
|
-
<div class="content has-text-centered">
|
|
1039
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.0.0</a></p>
|
|
1040
|
-
<p class="sidebar-created-by">
|
|
1041
|
-
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
1042
|
-
<a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
1043
|
-
</p>
|
|
1044
|
-
</div>
|
|
1045
|
-
</footer>
|
|
1046
|
-
|
|
1047
|
-
</div>
|
|
1048
|
-
<div id="side-nav" class="side-nav">
|
|
1049
|
-
<div style="margin-bottom: 10px;">
|
|
1050
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
1051
|
-
</div>
|
|
1052
|
-
<div style="margin-bottom: 10px;">
|
|
1053
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
1054
|
-
</div>
|
|
1055
|
-
<div style="margin-bottom: 10px;">
|
|
1056
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
1057
|
-
</div>
|
|
1058
|
-
<div>
|
|
1059
|
-
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
1060
|
-
</div>
|
|
1061
|
-
</div>
|
|
1062
|
-
</div>
|
|
1063
|
-
<script src="scripts/linenumber.js"> </script>
|
|
1064
|
-
|
|
1065
|
-
<script src="scripts/search.js"> </script>
|
|
1066
|
-
|
|
1067
|
-
<script src="scripts/sideBar.js"> </script>
|
|
1068
|
-
</body>
|
|
1069
|
-
</html>
|
|
902
|
+
</section>
|
package/documention/index.html
CHANGED
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
|
|
105
105
|
<nav>
|
|
106
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"
|
|
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" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html" title="DrawControl" 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 linkTo="#page-title" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html">构造函数</a></div><div><a linkTo="#function" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html" id="api-fold" class="mapgis-link-name">方法</a></div><div><ul><li><a linkTo="#destory" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html" title="destory" id="api-member" class="mapgis-link-name">destory</a></li><li><a linkTo="#destroy" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html" title="destroy" id="api-member" class="mapgis-link-name">destroy</a></li><li><a linkTo="#end" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html" title="end" id="api-member" class="mapgis-link-name">end</a></li><li><a linkTo="#start" link="/static/modules/leaflet/api/leaflet-mapgis/DrawControl.html" title="start" id="api-member" class="mapgis-link-name">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" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="MapViewLeaflet" 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
108
|
参考示例:
|
|
109
109
|
<a href='#MapViewLeaflet'>[初始化二维场景视图]</a>
|
|
110
110
|
<br>[ES5引入方式]:<br/>
|
|
111
111
|
Zondy.MapViewLeaflet() <br/>
|
|
112
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
|
|
113
|
+
import { MapViewLeaflet } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><div class="mapgis-link-detail" id="MapViewLeaflet-detail"><div><a linkTo="#page-title" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html">构造函数</a></div><div><a linkTo="#function" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" id="api-fold" class="mapgis-link-name">方法</a></div><div><ul><li><a linkTo="#fromJSON" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="fromJSON" id="api-member" class="mapgis-link-name">fromJSON</a></li><li><a linkTo="#fromJSON" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="fromJSON" id="api-member" class="mapgis-link-name">fromJSON</a></li><li><a linkTo="#clone" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="clone" id="api-member" class="mapgis-link-name">clone</a></li><li><a linkTo="#destroy" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="destroy" id="api-member" class="mapgis-link-name">destroy</a></li><li><a linkTo="#flyTo" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="flyTo" id="api-member" class="mapgis-link-name">flyTo</a></li><li><a linkTo="#getCenter" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getCenter" id="api-member" class="mapgis-link-name">getCenter</a></li><li><a linkTo="#getExtent" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getExtent" id="api-member" class="mapgis-link-name">getExtent</a></li><li><a linkTo="#getMaxZoom" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getMaxZoom" id="api-member" class="mapgis-link-name">getMaxZoom</a></li><li><a linkTo="#getMinZoom" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getMinZoom" id="api-member" class="mapgis-link-name">getMinZoom</a></li><li><a linkTo="#getPixelCenter" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getPixelCenter" id="api-member" class="mapgis-link-name">getPixelCenter</a></li><li><a linkTo="#getPixelExtent" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getPixelExtent" id="api-member" class="mapgis-link-name">getPixelExtent</a></li><li><a linkTo="#getPixelWorldExtent" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getPixelWorldExtent" id="api-member" class="mapgis-link-name">getPixelWorldExtent</a></li><li><a linkTo="#getScale" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getScale" id="api-member" class="mapgis-link-name">getScale</a></li><li><a linkTo="#getSize" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getSize" id="api-member" class="mapgis-link-name">getSize</a></li><li><a linkTo="#getZoom" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getZoom" id="api-member" class="mapgis-link-name">getZoom</a></li><li><a linkTo="#getZoomByExtent" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="getZoomByExtent" id="api-member" class="mapgis-link-name">getZoomByExtent</a></li><li><a linkTo="#goTo" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="goTo" id="api-member" class="mapgis-link-name">goTo</a></li><li><a linkTo="#hitTest" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="hitTest" id="api-member" class="mapgis-link-name">hitTest</a></li><li><a linkTo="#takeScreenshot" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="takeScreenshot" id="api-member" class="mapgis-link-name">takeScreenshot</a></li><li><a linkTo="#toJSON" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="toJSON" id="api-member" class="mapgis-link-name">toJSON</a></li><li><a linkTo="#toMap" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="toMap" id="api-member" class="mapgis-link-name">toMap</a></li><li><a linkTo="#toScreen" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="toScreen" id="api-member" class="mapgis-link-name">toScreen</a></li></ul></div><div><a linkTo="#member" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" id="api-fold" class="mapgis-link-name">成员变量</a></div><div><ul><li><a linkTo="#animation" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="animation" id="api-member" class="mapgis-link-name">animation</a></li><li><a linkTo="#center" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="center" id="api-member" class="mapgis-link-name">center</a></li><li><a linkTo="#engineType" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="engineType" id="api-member" class="mapgis-link-name">engineType</a></li><li><a linkTo="#extent" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="extent" id="api-member" class="mapgis-link-name">extent</a></li><li><a linkTo="#fullExtent" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="fullExtent" id="api-member" class="mapgis-link-name">fullExtent</a></li><li><a linkTo="#height" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="height" id="api-member" class="mapgis-link-name">height</a></li><li><a linkTo="#maxScale" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="maxScale" id="api-member" class="mapgis-link-name">maxScale</a></li><li><a linkTo="#minScale" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="minScale" id="api-member" class="mapgis-link-name">minScale</a></li><li><a linkTo="#popup" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="popup" id="api-member" class="mapgis-link-name">popup</a></li><li><a linkTo="#preferCanvas" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="preferCanvas" id="api-member" class="mapgis-link-name">preferCanvas</a></li><li><a linkTo="#rotation" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="rotation" id="api-member" class="mapgis-link-name">rotation</a></li><li><a linkTo="#scale" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="scale" id="api-member" class="mapgis-link-name">scale</a></li><li><a linkTo="#spatialReference" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="spatialReference" id="api-member" class="mapgis-link-name">spatialReference</a></li><li><a linkTo="#spatialReferenceLocked" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="spatialReferenceLocked" id="api-member" class="mapgis-link-name">spatialReferenceLocked</a></li><li><a linkTo="#stationary" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="stationary" id="api-member" class="mapgis-link-name">stationary</a></li><li><a linkTo="#width" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="width" id="api-member" class="mapgis-link-name">width</a></li><li><a linkTo="#zoom" link="/static/modules/leaflet/api/leaflet-mapgis/MapViewLeaflet.html" title="zoom" id="api-member" class="mapgis-link-name">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" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="Popup" 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
114
|
参考示例:
|
|
115
115
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
116
116
|
[ES6引入方式]:<br/>
|
|
@@ -120,16 +120,16 @@ zondy-popup__content 弹窗容器样式<br/>
|
|
|
120
120
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
121
|
zondy-popup__header 弹窗头部样式<br/>
|
|
122
122
|
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><div class="mapgis-link-detail" id="Popup-detail"><div><a
|
|
123
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><div class="mapgis-link-detail" id="Popup-detail"><div><a linkTo="#page-title" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html">构造函数</a></div><div><a linkTo="#function" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" id="api-fold" class="mapgis-link-name">方法</a></div><div><ul><li><a linkTo="#close" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="close" id="api-member" class="mapgis-link-name">close</a></li><li><a linkTo="#open" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="open" id="api-member" class="mapgis-link-name">open</a></li><li><a linkTo="#openPopup" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="openPopup" id="api-member" class="mapgis-link-name">openPopup</a></li></ul></div><div><a linkTo="#member" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" id="api-fold" class="mapgis-link-name">成员变量</a></div><div><ul><li><a linkTo="#alignment" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="alignment" id="api-member" class="mapgis-link-name">alignment</a></li><li><a linkTo="#content" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="content" id="api-member" class="mapgis-link-name">content</a></li><li><a linkTo="#defaultButtons" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="defaultButtons" id="api-member" class="mapgis-link-name">defaultButtons</a></li><li><a linkTo="#location" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="location" id="api-member" class="mapgis-link-name">location</a></li><li><a linkTo="#title" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="title" id="api-member" class="mapgis-link-name">title</a></li><li><a linkTo="#view" link="/static/modules/leaflet/api/leaflet-mapgis/Popup.html" title="view" id="api-member" class="mapgis-link-name">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" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="Screenshot" 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 linkTo="#page-title" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html">构造函数</a></div><div><a linkTo="#function" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" id="api-fold" class="mapgis-link-name">方法</a></div><div><ul><li><a linkTo="#destroy" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="destroy" id="api-member" class="mapgis-link-name">destroy</a></li></ul></div><div><a linkTo="#member" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" id="api-fold" class="mapgis-link-name">成员变量</a></div><div><ul><li><a linkTo="#filename" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="filename" id="api-member" class="mapgis-link-name">filename</a></li><li><a linkTo="#format" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="format" id="api-member" class="mapgis-link-name">format</a></li><li><a linkTo="#height" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="height" id="api-member" class="mapgis-link-name">height</a></li><li><a linkTo="#isDownload" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="isDownload" id="api-member" class="mapgis-link-name">isDownload</a></li><li><a linkTo="#view" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="view" id="api-member" class="mapgis-link-name">view</a></li><li><a linkTo="#width" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="width" id="api-member" class="mapgis-link-name">width</a></li><li><a linkTo="#x" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="x" id="api-member" class="mapgis-link-name">x</a></li><li><a linkTo="#y" link="/static/modules/leaflet/api/leaflet-mapgis/Screenshot.html" title="y" id="api-member" class="mapgis-link-name">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" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="SketchEditorLeaflet" 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
124
|
<br>[ES5引入方式]:<br/>
|
|
125
125
|
const { SketchEditorLeaflet } = Zondy <br/>
|
|
126
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>
|
|
127
|
+
import { SketchEditorLeaflet } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li><div class="mapgis-link-detail" id="SketchEditorLeaflet-detail"><div><a linkTo="#page-title" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html">构造函数</a></div><div><a linkTo="#function" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" id="api-fold" class="mapgis-link-name">方法</a></div><div><ul><li><a linkTo="#addVertex" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="addVertex" id="api-member" class="mapgis-link-name">addVertex</a></li><li><a linkTo="#canRedo" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="canRedo" id="api-member" class="mapgis-link-name">canRedo</a></li><li><a linkTo="#canUndo" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="canUndo" id="api-member" class="mapgis-link-name">canUndo</a></li><li><a linkTo="#drawPolylineToPolygon" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="drawPolylineToPolygon" id="api-member" class="mapgis-link-name">drawPolylineToPolygon</a></li><li><a linkTo="#getGeometry" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="getGeometry" id="api-member" class="mapgis-link-name">getGeometry</a></li><li><a linkTo="#getSketchStyle" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="getSketchStyle" id="api-member" class="mapgis-link-name">getSketchStyle</a></li><li><a linkTo="#redo" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="redo" id="api-member" class="mapgis-link-name">redo</a></li><li><a linkTo="#remove" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="remove" id="api-member" class="mapgis-link-name">remove</a></li><li><a linkTo="#removeVertex" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="removeVertex" id="api-member" class="mapgis-link-name">removeVertex</a></li><li><a linkTo="#setSketchStyle" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="setSketchStyle" id="api-member" class="mapgis-link-name">setSketchStyle</a></li><li><a linkTo="#split" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="split" id="api-member" class="mapgis-link-name">split</a></li><li><a linkTo="#start" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="start" id="api-member" class="mapgis-link-name">start</a></li><li><a linkTo="#startCustomDrawTool" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="startCustomDrawTool" id="api-member" class="mapgis-link-name">startCustomDrawTool</a></li><li><a linkTo="#stop" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="stop" id="api-member" class="mapgis-link-name">stop</a></li><li><a linkTo="#undo" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="undo" id="api-member" class="mapgis-link-name">undo</a></li><li><a linkTo="#union" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="union" id="api-member" class="mapgis-link-name">union</a></li><li><a linkTo="#updateVertex" link="/static/modules/leaflet/api/leaflet-mapgis/SketchEditorLeaflet.html" title="updateVertex" id="api-member" class="mapgis-link-name">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" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="Zondy.ThemeLayer.GraphThemeLayer" 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 linkTo="#page-title" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html">构造函数</a></div><div><a linkTo="#function" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" id="api-fold" class="mapgis-link-name">方法</a></div><div><ul><li><a linkTo="#addFeatures" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="addFeatures" id="api-member" class="mapgis-link-name">addFeatures</a></li><li><a linkTo="#clear" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="clear" id="api-member" class="mapgis-link-name">clear</a></li><li><a linkTo="#clearCache" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="clearCache" id="api-member" class="mapgis-link-name">clearCache</a></li><li><a linkTo="#clearCache" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="clearCache" id="api-member" class="mapgis-link-name">clearCache</a></li><li><a linkTo="#createThematicFeature" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="createThematicFeature" id="api-member" class="mapgis-link-name">createThematicFeature</a></li><li><a linkTo="#destroyFeatures" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="destroyFeatures" id="api-member" class="mapgis-link-name">destroyFeatures</a></li><li><a linkTo="#drawCharts" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="drawCharts" id="api-member" class="mapgis-link-name">drawCharts</a></li><li><a linkTo="#getEvents" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getEvents" id="api-member" class="mapgis-link-name">getEvents</a></li><li><a linkTo="#getFeatureBy" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getFeatureBy" id="api-member" class="mapgis-link-name">getFeatureBy</a></li><li><a linkTo="#getFeatureById" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getFeatureById" id="api-member" class="mapgis-link-name">getFeatureById</a></li><li><a linkTo="#getFeatures" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getFeatures" id="api-member" class="mapgis-link-name">getFeatures</a></li><li><a linkTo="#getFeaturesByAttribute" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getFeaturesByAttribute" id="api-member" class="mapgis-link-name">getFeaturesByAttribute</a></li><li><a linkTo="#getLocalXY" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getLocalXY" id="api-member" class="mapgis-link-name">getLocalXY</a></li><li><a linkTo="#getShapesByFeatureID" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getShapesByFeatureID" id="api-member" class="mapgis-link-name">getShapesByFeatureID</a></li><li><a linkTo="#getWeightFieldValue" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="getWeightFieldValue" id="api-member" class="mapgis-link-name">getWeightFieldValue</a></li><li><a linkTo="#initialize" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="initialize" id="api-member" class="mapgis-link-name">initialize</a></li><li><a linkTo="#isChartInMap" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="isChartInMap" id="api-member" class="mapgis-link-name">isChartInMap</a></li><li><a linkTo="#isPointInPoly" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="isPointInPoly" id="api-member" class="mapgis-link-name">isPointInPoly</a></li><li><a linkTo="#isQuadrilateralOverLap" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="isQuadrilateralOverLap" id="api-member" class="mapgis-link-name">isQuadrilateralOverLap</a></li><li><a linkTo="#lineIntersection" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="lineIntersection" id="api-member" class="mapgis-link-name">lineIntersection</a></li><li><a linkTo="#off" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="off" id="api-member" class="mapgis-link-name">off</a></li><li><a linkTo="#on" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="on" id="api-member" class="mapgis-link-name">on</a></li><li><a linkTo="#onRemove" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="onRemove" id="api-member" class="mapgis-link-name">onRemove</a></li><li><a linkTo="#redraw" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="redraw" id="api-member" class="mapgis-link-name">redraw</a></li><li><a linkTo="#redrawThematicFeatures" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="redrawThematicFeatures" id="api-member" class="mapgis-link-name">redrawThematicFeatures</a></li><li><a linkTo="#removeAllFeatures" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="removeAllFeatures" id="api-member" class="mapgis-link-name">removeAllFeatures</a></li><li><a linkTo="#removeFeatures" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="removeFeatures" id="api-member" class="mapgis-link-name">removeFeatures</a></li><li><a linkTo="#setChartsType" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="setChartsType" id="api-member" class="mapgis-link-name">setChartsType</a></li><li><a linkTo="#setOpacity" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="setOpacity" id="api-member" class="mapgis-link-name">setOpacity</a></li><li><a linkTo="#update" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="update" id="api-member" class="mapgis-link-name">update</a></li></ul></div><div><a linkTo="#event" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" id="api-fold" class="mapgis-link-name">事件</a></div><div><ul><li><a linkTo="#beforefeaturesadded" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="beforefeaturesadded" id="api-member" class="mapgis-link-name">beforefeaturesadded</a></li><li><a linkTo="#changelayer" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="changelayer" id="api-member" class="mapgis-link-name">changelayer</a></li><li><a linkTo="#featuresremoved" link="/static/modules/leaflet/api/leaflet-mapgis/Zondy.ThemeLayer.GraphThemeLayer.html" title="featuresremoved" id="api-member" class="mapgis-link-name">featuresremoved</a></li></ul></div></div></ul></div>
|
|
128
128
|
|
|
129
129
|
</nav>
|
|
130
130
|
</div>
|
|
131
131
|
<div class="core" id="main-content-wrapper">
|
|
132
|
-
<div class="content">
|
|
132
|
+
<div class="content" id="main-content">
|
|
133
133
|
<header id="page-title" class="page-title">
|
|
134
134
|
|
|
135
135
|
<span class="page-title-main">类名</span>
|
|
@@ -239,7 +239,7 @@ npm set registry http://192.168.11.130:4873/<br/>
|
|
|
239
239
|
|
|
240
240
|
<footer class="footer">
|
|
241
241
|
<div class="content has-text-centered">
|
|
242
|
-
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.
|
|
242
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
243
243
|
<p class="sidebar-created-by">
|
|
244
244
|
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
245
245
|
<a href="http://webclient.smaryun.com/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
@@ -9,3 +9,101 @@ function toggleLinkDetail(id) {
|
|
|
9
9
|
_arrow.style.transform = _dom.style.display === 'block' ? 'rotate(360deg)' : 'rotate(180deg)'
|
|
10
10
|
_dom.style.display = _dom.style.display === 'block' ? 'none' : 'block'
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
function getTypeHTML(e) {
|
|
14
|
+
var link = e.target.getAttribute('link')
|
|
15
|
+
var goto = e.target.getAttribute('goto')
|
|
16
|
+
const _baseUrl = getBaseUrl(window.location.href)
|
|
17
|
+
fetch(_baseUrl + '/' + link, {
|
|
18
|
+
method: 'GET',
|
|
19
|
+
})
|
|
20
|
+
.then(response => response.text())
|
|
21
|
+
.then(data => {
|
|
22
|
+
const _contentDom = document.getElementById('main-content')
|
|
23
|
+
if (_contentDom) {
|
|
24
|
+
_contentDom.innerHTML = data
|
|
25
|
+
gotoTop(goto)
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
.catch(error => console.error('Error:', error))
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function gotoTop(id) {
|
|
32
|
+
id = id || 'main-content'
|
|
33
|
+
const _aDom = document.createElement('a');
|
|
34
|
+
_aDom.href = '#' + id
|
|
35
|
+
_aDom.click()
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function getBaseUrl(url) {
|
|
39
|
+
const regex1 = /^(http:|https:)\/\/[0-9a-zA-Z.]+:[0-9]+/
|
|
40
|
+
const regex2 = /^(http:|https:)\/\/[0-9a-zA-Z.]+/
|
|
41
|
+
let match = url.match(regex1)
|
|
42
|
+
if (match && match[0]) {
|
|
43
|
+
return match[0]
|
|
44
|
+
} else {
|
|
45
|
+
match = url.match(regex2)
|
|
46
|
+
if (match && match[0]) {
|
|
47
|
+
return match[0]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return ''
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
(function() {
|
|
54
|
+
const targets = [ ...document.querySelectorAll('#sidebarNav li.mapgis-link a')]
|
|
55
|
+
targets.forEach(function (_target) {
|
|
56
|
+
_target.addEventListener('click', function (e) {
|
|
57
|
+
const _baseUrl = getBaseUrl(window.location.href)
|
|
58
|
+
fetch(_baseUrl + e.target.attributes[1].value, {
|
|
59
|
+
method: 'GET',
|
|
60
|
+
})
|
|
61
|
+
.then(response => response.text())
|
|
62
|
+
.then(data => {
|
|
63
|
+
const _contentDom = document.getElementById('main-content')
|
|
64
|
+
if (_contentDom) {
|
|
65
|
+
_contentDom.innerHTML = data
|
|
66
|
+
gotoTop()
|
|
67
|
+
}
|
|
68
|
+
})
|
|
69
|
+
.catch(error => console.error('Error:', error))
|
|
70
|
+
})
|
|
71
|
+
})
|
|
72
|
+
const targets2 = [ ...document.querySelectorAll('#sidebarNav div div a#api-fold')]
|
|
73
|
+
targets2.forEach(function (_target) {
|
|
74
|
+
_target.addEventListener('click', function (e) {
|
|
75
|
+
const _baseUrl = getBaseUrl(window.location.href)
|
|
76
|
+
fetch(_baseUrl + e.target.attributes[1].value, {
|
|
77
|
+
method: 'GET',
|
|
78
|
+
})
|
|
79
|
+
.then(response => response.text())
|
|
80
|
+
.then(data => {
|
|
81
|
+
const _contentDom = document.getElementById('main-content')
|
|
82
|
+
if (_contentDom) {
|
|
83
|
+
_contentDom.innerHTML = data
|
|
84
|
+
gotoTop()
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
.catch(error => console.error('Error:', error))
|
|
88
|
+
})
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
const targets3 = [ ...document.querySelectorAll('#sidebarNav div div ul li a#api-member')]
|
|
92
|
+
targets3.forEach(function (_target) {
|
|
93
|
+
_target.addEventListener('click', function (e) {
|
|
94
|
+
const _baseUrl = getBaseUrl(window.location.href)
|
|
95
|
+
fetch(_baseUrl + e.target.attributes[1].value, {
|
|
96
|
+
method: 'GET',
|
|
97
|
+
})
|
|
98
|
+
.then(response => response.text())
|
|
99
|
+
.then(data => {
|
|
100
|
+
const _contentDom = document.getElementById('main-content')
|
|
101
|
+
if (_contentDom) {
|
|
102
|
+
_contentDom.innerHTML = data
|
|
103
|
+
gotoTop()
|
|
104
|
+
}
|
|
105
|
+
})
|
|
106
|
+
.catch(error => console.error('Error:', error))
|
|
107
|
+
})
|
|
108
|
+
})
|
|
109
|
+
})()
|