@mapgis/webclient-cesium-plugin 17.2.6 → 17.2.7
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 +8 -0
- package/dist/es5/webclient-cesium-plugin.min.js +1 -1
- package/dist/es5/webclient-common.min.js +2 -2
- package/dist/webclient-cesium-plugin-es6.min.js +1 -1
- package/documention/AlgorithmLib.html +410 -1282
- package/documention/AngulationTool.html +244 -194
- package/documention/AnimationTool.html +398 -1376
- package/documention/CesiumHeatmap.html +307 -560
- package/documention/CesiumTerrainProvider.html +226 -8
- package/documention/CircleWaveMaterialProperty.html +231 -38
- package/documention/CollisionDetectionByRender.html +263 -422
- package/documention/CuttingTool.html +292 -461
- package/documention/Deferred.html +226 -8
- package/documention/DrawElement.html +252 -190
- package/documention/DrawTool.html +253 -191
- package/documention/EditTool.html +247 -249
- package/documention/FloodAnalysisReflection.html +243 -229
- package/documention/GlobeIndependentTranslucency.html +236 -246
- package/documention/Graphic.html +300 -939
- package/documention/GraphicsLayer.html +332 -832
- package/documention/HeightLimited.html +237 -134
- package/documention/ISSceneLayerUtil.html +246 -149
- package/documention/KeyboardCameraController.html +244 -285
- package/documention/MeasureAreaTool.html +256 -188
- package/documention/MeasureLengthTool.html +278 -421
- package/documention/MeasureSlopeTool.html +246 -206
- package/documention/ModelEditor.html +232 -44
- package/documention/ModelFilterTool.html +242 -130
- package/documention/ModelTransformTool.html +310 -504
- package/documention/PolylineTrailLinkMaterialProperty.html +233 -50
- package/documention/PostProcessStageLibrary.html +255 -218
- package/documention/Promise.html +246 -173
- package/documention/RadarMaterialProperty.html +229 -26
- package/documention/ReImg.html +230 -58
- package/documention/RiverGeometry.html +287 -462
- package/documention/RoamParticle.html +276 -746
- package/documention/S3MTileset.html +229 -26
- package/documention/SelectTool.html +238 -101
- package/documention/ShadowRateAnalysis.html +250 -366
- package/documention/ShadowRateDrawCommand.html +241 -178
- package/documention/SkyLineAnalysis.html +232 -96
- package/documention/StableParticle.html +278 -812
- package/documention/Style.html +525 -2037
- package/documention/TerrainAnalyse.html +287 -415
- package/documention/TerrainProfile.html +246 -156
- package/documention/Tooltip.html +240 -113
- package/documention/TriangulationTool.html +257 -308
- package/documention/VisiblityAnalysis.html +257 -411
- package/documention/WaterReflection.html +250 -310
- package/documention/Wind3D.html +255 -345
- package/package.json +1 -1
package/documention/Graphic.html
CHANGED
|
@@ -1,10 +1,190 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
+
<title> Graphic</title>
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
|
|
13
|
+
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
|
|
14
|
+
<link type="text/css" rel="stylesheet" href="">
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<body class="layout small-header">
|
|
22
|
+
<div id="stickyNavbarOverlay"></div>
|
|
5
23
|
|
|
6
|
-
</header>
|
|
7
24
|
|
|
25
|
+
<div class="top-nav">
|
|
26
|
+
<div class="inner">
|
|
27
|
+
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
|
|
28
|
+
<span aria-hidden="true"></span>
|
|
29
|
+
<span aria-hidden="true"></span>
|
|
30
|
+
<span aria-hidden="true"></span>
|
|
31
|
+
</a>
|
|
32
|
+
<div class="logo">
|
|
33
|
+
|
|
34
|
+
<h1> MapGIS Client for JavaScript API</h1>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
</div>
|
|
38
|
+
<div class="menu">
|
|
39
|
+
|
|
40
|
+
<div class="navigation">
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<a
|
|
44
|
+
class="link user-link "
|
|
45
|
+
href="/static/modules/common/api/common-mapgis/index.html"
|
|
46
|
+
>
|
|
47
|
+
Common
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a
|
|
51
|
+
class="link user-link "
|
|
52
|
+
href="/static/modules/cesium/api/cesium-mapgis/index.html"
|
|
53
|
+
>
|
|
54
|
+
Cesium-Plugin
|
|
55
|
+
</a>
|
|
56
|
+
|
|
57
|
+
<a
|
|
58
|
+
class="link user-link "
|
|
59
|
+
href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
|
|
60
|
+
>
|
|
61
|
+
MapboxGL-Plugin
|
|
62
|
+
</a>
|
|
63
|
+
|
|
64
|
+
<a
|
|
65
|
+
class="link user-link "
|
|
66
|
+
href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
|
|
67
|
+
>
|
|
68
|
+
Leaflet-Plugin
|
|
69
|
+
</a>
|
|
70
|
+
|
|
71
|
+
<a
|
|
72
|
+
class="link user-link "
|
|
73
|
+
href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
|
|
74
|
+
>
|
|
75
|
+
OpenLayers-Plugin
|
|
76
|
+
</a>
|
|
77
|
+
|
|
78
|
+
<a
|
|
79
|
+
class="link user-link "
|
|
80
|
+
href="/static/modules/video/api/video-mapgis/index.html"
|
|
81
|
+
>
|
|
82
|
+
Video-Plugin
|
|
83
|
+
</a>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div id="main">
|
|
93
|
+
<div
|
|
94
|
+
class="sidebar "
|
|
95
|
+
id="sidebarNav"
|
|
96
|
+
>
|
|
97
|
+
<div>
|
|
98
|
+
<span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div class="search-wrapper">
|
|
102
|
+
<input id="search" type="text" placeholder="搜索文档..." class="input">
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<nav>
|
|
106
|
+
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="AnimationTool" AnimationTool.html>AnimationTool</a><span style="display: none;"><p>场景漫游工具</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISMapServerImageryProvider" ArcGISMapServerImageryProvider.html>ArcGISMapServerImageryProvider</a><span style="display: none;"><p>ArcGIS地图服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISTileServerImageryProvider" ArcGISTileServerImageryProvider.html>ArcGISTileServerImageryProvider</a><span style="display: none;"><p>ArcGIS瓦片图层</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ArcGISVectorTileImageryProvider" ArcGISVectorTileImageryProvider.html>ArcGISVectorTileImageryProvider</a><span style="display: none;"><p>通过ArcGIS矢量瓦片服务的url获取VectorTileImageryProvider对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="CesiumHeatmap" CesiumHeatmap.html>CesiumHeatmap</a><span style="display: none;"><p>热力图</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="CustomTilingScheme" CustomTilingScheme.html>CustomTilingScheme</a><span style="display: none;"><p>自定义瓦片平铺方案,在使用时有如下限制:</p>
|
|
108
|
+
<ol>
|
|
109
|
+
<li>裁图原点必须在地图范围的左上角区域;</li>
|
|
110
|
+
<li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
|
|
111
|
+
</ol></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="FloodAnalysisReflection" FloodAnalysisReflection.html>FloodAnalysisReflection</a><span style="display: none;"><p>创建反射水面淹没分析的实例化对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GlobeIndependentTranslucency" GlobeIndependentTranslucency.html>GlobeIndependentTranslucency</a><span style="display: none;"><p>单独控制地表透明度和影像图层的透明度,能够在开启地表透明后使部分影像图层不受地表透明的影响。</p>
|
|
112
|
+
<p>实例化该类的对象同时也能够使用原生的地表透明参数,能够直接在实例化对象上修改 <code>GlobeTranslucency</code> 的参数(原生的
|
|
113
|
+
viewer.scene.globe.translucency依然能够使用,但两者同时使用时会造成相互干扰,推荐仅使用GlobeIndependentTranslucency来实现地表透明),
|
|
114
|
+
使用原生的地表透明方式还是该类的地表透明方式由 <a class="mapgis-link-name" title="GlobeIndependentTranslucency#imageryLayers" GlobeIndependentTranslucency.html#imageryLayers><code>GlobeIndependentTranslucency#imageryLayers</code></a> 数组是否为空来区分。</p>
|
|
115
|
+
<p>1. 当 <a class="mapgis-link-name" title="GlobeIndependentTranslucency#imageryLayers" GlobeIndependentTranslucency.html#imageryLayers><code>GlobeIndependentTranslucency#imageryLayers</code></a> 不为空数组时,使用该类的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
116
|
+
<ul>
|
|
117
|
+
<li><code>globeFaceAlpha</code>:地表的透明度,若设置该参数则<code>globeFaceAlphaByDistance</code>不生效;</li>
|
|
118
|
+
<li><code>globeFaceAlphaByDistance</code>:地表的透明度根据视点距离的变化范围,当<code>globeFaceAlpha</code>为<code>undefined</code>时生效;</li>
|
|
119
|
+
</ul>
|
|
120
|
+
<p>2. 当 <a class="mapgis-link-name" title="GlobeIndependentTranslucency#imageryLayers" GlobeIndependentTranslucency.html#imageryLayers><code>GlobeIndependentTranslucency#imageryLayers</code></a> 为空数组时,使用原生的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
121
|
+
<ul>
|
|
122
|
+
<li><code>frontFaceAlpha</code>:地表正面的透明度;</li>
|
|
123
|
+
<li><code>frontFaceAlphaByDistance </code>:地表正面的透明度根据视点距离的变化范围;</li>
|
|
124
|
+
<li><code>backFaceAlpha</code>:地表背面的透明度;</li>
|
|
125
|
+
<li><code>backFaceAlphaByDistance</code>:地表背面的透明度根据视点距离的变化范围;</li>
|
|
126
|
+
<li><code>rectangle</code>:将地表透明的区域限制在一个矩形范围内。</li>
|
|
127
|
+
</ul></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="HeightLimited" HeightLimited.html>HeightLimited</a><span style="display: none;"><p>限高分析</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="KeyboardCameraController" KeyboardCameraController.html>KeyboardCameraController</a><span style="display: none;"><p>场景相机漫游工具,可以实现沉浸式的鼠标键盘漫游功能,具体操作方法如下:</p>
|
|
128
|
+
<p>1. 相机平移操作,这类操作不会改变相机的朝向,只会改变相机的位置:</p>
|
|
129
|
+
<ul>
|
|
130
|
+
<li><code>W</code>:相机位置向前移动</li>
|
|
131
|
+
<li><code>S</code>:相机位置向后移动</li>
|
|
132
|
+
<li><code>A</code>:相机位置向左移动</li>
|
|
133
|
+
<li><code>D</code>:相机位置向右移动</li>
|
|
134
|
+
<li><code>Q</code>:相机位置升高</li>
|
|
135
|
+
<li><code>E</code>:相机位置降低</li>
|
|
136
|
+
</ul>
|
|
137
|
+
<p>2. 相对于相机视点操作,其中<code>U</code>,<code>O</code>,<code>J</code>,<code>L</code>操作会改变相机的位置,也会改变相机的朝向,而<code>I</code>,<code>K</code>操作只会改变相机相较视点的距离(在执行<code>U</code>,<code>O</code>,<code>J</code>,<code>L</code>操作时请勿同时执行其他按键操作):</p>
|
|
138
|
+
<ul>
|
|
139
|
+
<li><code>I</code>:相机视角靠近屏幕中心点</li>
|
|
140
|
+
<li><code>K</code>:相机视角远离屏幕中心点</li>
|
|
141
|
+
<li><code>J</code>:绕屏幕中心点向左旋转</li>
|
|
142
|
+
<li><code>L</code>:绕屏幕中心点向右旋转</li>
|
|
143
|
+
<li><code>U</code>:绕屏幕中心点向上旋转</li>
|
|
144
|
+
<li><code>O</code>:绕屏幕中心点向下旋转</li>
|
|
145
|
+
</ul>
|
|
146
|
+
<p>3. 相机自身操作,这类操作不会改变相机的位置,只会改变相机的朝向(在全屏状态下可使用鼠标调整相机视角):</p>
|
|
147
|
+
<ul>
|
|
148
|
+
<li><code>↑</code>:向上抬高视角</li>
|
|
149
|
+
<li><code>↓</code>:向下降低视角</li>
|
|
150
|
+
<li><code>←</code>:向左移动视角</li>
|
|
151
|
+
<li><code>→</code>:向右移动视角</li>
|
|
152
|
+
</ul>
|
|
153
|
+
<p>4. 鼠标操作:</p>
|
|
154
|
+
<ul>
|
|
155
|
+
<li>开启鼠标操作功能后,页面将进入全屏模式,此时相机视角可通过鼠标移动进行操作</li>
|
|
156
|
+
</ul>
|
|
157
|
+
<p>5. 辅助操作:</p>
|
|
158
|
+
<ul>
|
|
159
|
+
<li><code>Shift</code>:加速相机平移操作,调整移动步长为原来的两倍</li>
|
|
160
|
+
<li><code>R</code>:重置视角到初始视角,仅在参数<code>initView</code>定义时有效</li>
|
|
161
|
+
</ul></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISMapServerImageryProvider" MapGISMapServerImageryProvider.html>MapGISMapServerImageryProvider</a><span style="display: none;"><p>MapGIS地图服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTerrainProvider" MapGISTerrainProvider.html>MapGISTerrainProvider</a><span style="display: none;">undefined</span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISTileServerImageryProvider" MapGISTileServerImageryProvider.html>MapGISTileServerImageryProvider</a><span style="display: none;"><p>MapGIS瓦片服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="MapGISVectorTileImageryProvider" MapGISVectorTileImageryProvider.html>MapGISVectorTileImageryProvider</a><span style="display: none;"><p>MapGIS矢量瓦片服务</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ModelFilterTool" ModelFilterTool.html>ModelFilterTool</a><span style="display: none;"><p>模型空间过滤工具</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="PostProcessStageLibrary" PostProcessStageLibrary.html>PostProcessStageLibrary</a><span style="display: none;"><p>用于创建后处理特效的扩展库</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="S3MTileset" S3MTileset.html>S3MTileset</a><span style="display: none;"><p>S3MTileSet类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="UrlTemplateImageryProvider" UrlTemplateImageryProvider.html>UrlTemplateImageryProvider</a><span style="display: none;"><p>UrlTemplateImageryProvider对象,详细API参考Cesium的UrlTemplateImageryProvider的API文档</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WaterReflection" WaterReflection.html>WaterReflection</a><span style="display: none;"><p>创建反射水面的实例化对象</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapServiceImageryProvider" WebMapServiceImageryProvider.html>WebMapServiceImageryProvider</a><span style="display: none;"><p>WMS地图图层,具体API请参考Cesium的WebMapServiceImageryProvider</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WebMapTileServiceImageryProvider" WebMapTileServiceImageryProvider.html>WebMapTileServiceImageryProvider</a><span style="display: none;"><p>WMTS地图图层,具体API请参考Cesium的WebMapTileServiceImageryProvider</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GeoJSONLayerUtil" GeoJSONLayerUtil.html>GeoJSONLayerUtil</a><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="GraphicsLayerUtil" GraphicsLayerUtil.html>GraphicsLayerUtil</a><span style="display: none;"><p>几何图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="IGSFeatureLayerUtil" IGSFeatureLayerUtil.html>IGSFeatureLayerUtil</a><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="WFSLayerUtil" WFSLayerUtil.html>WFSLayerUtil</a><span style="display: none;"><p>WFS图层的工具类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="ISSceneLayerUtil" ISSceneLayerUtil.html>ISSceneLayerUtil</a><span style="display: none;"><p>IS场景图层的工具类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Popup" Popup.html>Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
|
|
162
|
+
参考示例:
|
|
163
|
+
<a href='#SceneView'>[初始化三维场景视图]</a>
|
|
164
|
+
<br>[ES5引入方式]:<br/>
|
|
165
|
+
zondy.cesium.SceneView() <br/>
|
|
166
|
+
[ES6引入方式]:<br/>
|
|
167
|
+
import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
|
|
168
|
+
自定义样式说明:<br/>
|
|
169
|
+
zondy-popup__content 弹窗容器样式<br/>
|
|
170
|
+
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
171
|
+
zondy-popup__header 弹窗头部样式<br/>
|
|
172
|
+
zondy-popup__content 弹窗主体样式<br/>
|
|
173
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SceneViewCesium" SceneViewCesium.html>SceneViewCesium</a><span style="display: none;"><p>视图类</p></span></li><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="Screenshot" Screenshot.html>Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a class="mapgis-link-name" title="SketchEditorCesium" SketchEditorCesium.html>SketchEditorCesium</a><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
|
|
174
|
+
<br>[ES5引入方式]:<br/>
|
|
175
|
+
const { SketchEditor } = zondy.tool.sketch <br/>
|
|
176
|
+
[ES6引入方式]:<br/>
|
|
177
|
+
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul></div>
|
|
178
|
+
|
|
179
|
+
</nav>
|
|
180
|
+
</div>
|
|
181
|
+
<div class="core" id="main-content-wrapper">
|
|
182
|
+
<div class="content">
|
|
183
|
+
<header id="page-title" class="page-title">
|
|
184
|
+
<span class="page-title-main">类名</span>
|
|
185
|
+
<span class="page-title-sub">Graphic</span>
|
|
186
|
+
</header>
|
|
187
|
+
|
|
8
188
|
|
|
9
189
|
|
|
10
190
|
|
|
@@ -25,7 +205,7 @@
|
|
|
25
205
|
<h4 class="name" id="Graphic">
|
|
26
206
|
<a class="href-link" href="#Graphic">#</a>
|
|
27
207
|
|
|
28
|
-
<span class="code-name"
|
|
208
|
+
<span class="code-name" style="font-size:30px">
|
|
29
209
|
|
|
30
210
|
new Graphic<span class="signature">(options)</span>
|
|
31
211
|
|
|
@@ -47,7 +227,7 @@
|
|
|
47
227
|
|
|
48
228
|
|
|
49
229
|
|
|
50
|
-
<h4
|
|
230
|
+
<h4>参数:</h4>
|
|
51
231
|
|
|
52
232
|
<div class="table-container">
|
|
53
233
|
<table class="params table">
|
|
@@ -79,12 +259,7 @@
|
|
|
79
259
|
<td class="type">
|
|
80
260
|
|
|
81
261
|
|
|
82
|
-
<span class="param-type">
|
|
83
|
-
|
|
84
|
-
Object
|
|
85
|
-
|
|
86
|
-
</span>
|
|
87
|
-
|
|
262
|
+
<span class="param-type">Object</span>
|
|
88
263
|
|
|
89
264
|
|
|
90
265
|
|
|
@@ -110,12 +285,7 @@
|
|
|
110
285
|
<td class="type">
|
|
111
286
|
|
|
112
287
|
|
|
113
|
-
<span class="param-type">
|
|
114
|
-
|
|
115
|
-
String
|
|
116
|
-
|
|
117
|
-
</span>
|
|
118
|
-
|
|
288
|
+
<span class="param-type">String</span>
|
|
119
289
|
|
|
120
290
|
|
|
121
291
|
|
|
@@ -142,19 +312,10 @@
|
|
|
142
312
|
<td class="type">
|
|
143
313
|
|
|
144
314
|
|
|
145
|
-
<span class="param-type">
|
|
146
|
-
|
|
147
|
-
Array.<Cesium.Cartesian3>
|
|
148
|
-
|
|
149
|
-
</span>
|
|
315
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
150
316
|
|
|
|
151
317
|
|
|
152
|
-
<span class="param-type">
|
|
153
|
-
|
|
154
|
-
Array.<Number>
|
|
155
|
-
|
|
156
|
-
</span>
|
|
157
|
-
|
|
318
|
+
<span class="param-type">Array.<Number></span>
|
|
158
319
|
|
|
159
320
|
|
|
160
321
|
|
|
@@ -180,12 +341,7 @@
|
|
|
180
341
|
<td class="type">
|
|
181
342
|
|
|
182
343
|
|
|
183
|
-
<span class="param-type">
|
|
184
|
-
|
|
185
|
-
Object
|
|
186
|
-
|
|
187
|
-
</span>
|
|
188
|
-
|
|
344
|
+
<span class="param-type">Object</span>
|
|
189
345
|
|
|
190
346
|
|
|
191
347
|
|
|
@@ -211,12 +367,7 @@
|
|
|
211
367
|
<td class="type">
|
|
212
368
|
|
|
213
369
|
|
|
214
|
-
<span class="param-type">
|
|
215
|
-
|
|
216
|
-
Object
|
|
217
|
-
|
|
218
|
-
</span>
|
|
219
|
-
|
|
370
|
+
<span class="param-type">Object</span>
|
|
220
371
|
|
|
221
372
|
|
|
222
373
|
|
|
@@ -242,12 +393,7 @@
|
|
|
242
393
|
<td class="type">
|
|
243
394
|
|
|
244
395
|
|
|
245
|
-
<span class="param-type">
|
|
246
|
-
|
|
247
|
-
Object
|
|
248
|
-
|
|
249
|
-
</span>
|
|
250
|
-
|
|
396
|
+
<span class="param-type">Object</span>
|
|
251
397
|
|
|
252
398
|
|
|
253
399
|
|
|
@@ -273,12 +419,7 @@
|
|
|
273
419
|
<td class="type">
|
|
274
420
|
|
|
275
421
|
|
|
276
|
-
<span class="param-type">
|
|
277
|
-
|
|
278
|
-
String
|
|
279
|
-
|
|
280
|
-
</span>
|
|
281
|
-
|
|
422
|
+
<span class="param-type">String</span>
|
|
282
423
|
|
|
283
424
|
|
|
284
425
|
|
|
@@ -304,12 +445,7 @@
|
|
|
304
445
|
<td class="type">
|
|
305
446
|
|
|
306
447
|
|
|
307
|
-
<span class="param-type">
|
|
308
|
-
|
|
309
|
-
Boolean
|
|
310
|
-
|
|
311
|
-
</span>
|
|
312
|
-
|
|
448
|
+
<span class="param-type">Boolean</span>
|
|
313
449
|
|
|
314
450
|
|
|
315
451
|
|
|
@@ -337,12 +473,7 @@
|
|
|
337
473
|
<td class="type">
|
|
338
474
|
|
|
339
475
|
|
|
340
|
-
<span class="param-type">
|
|
341
|
-
|
|
342
|
-
Boolean
|
|
343
|
-
|
|
344
|
-
</span>
|
|
345
|
-
|
|
476
|
+
<span class="param-type">Boolean</span>
|
|
346
477
|
|
|
347
478
|
|
|
348
479
|
|
|
@@ -370,12 +501,7 @@
|
|
|
370
501
|
<td class="type">
|
|
371
502
|
|
|
372
503
|
|
|
373
|
-
<span class="param-type">
|
|
374
|
-
|
|
375
|
-
Number
|
|
376
|
-
|
|
377
|
-
</span>
|
|
378
|
-
|
|
504
|
+
<span class="param-type">Number</span>
|
|
379
505
|
|
|
380
506
|
|
|
381
507
|
|
|
@@ -403,12 +529,7 @@
|
|
|
403
529
|
<td class="type">
|
|
404
530
|
|
|
405
531
|
|
|
406
|
-
<span class="param-type">
|
|
407
|
-
|
|
408
|
-
Number
|
|
409
|
-
|
|
410
|
-
</span>
|
|
411
|
-
|
|
532
|
+
<span class="param-type">Number</span>
|
|
412
533
|
|
|
413
534
|
|
|
414
535
|
|
|
@@ -436,12 +557,7 @@
|
|
|
436
557
|
<td class="type">
|
|
437
558
|
|
|
438
559
|
|
|
439
|
-
<span class="param-type">
|
|
440
|
-
|
|
441
|
-
Number
|
|
442
|
-
|
|
443
|
-
</span>
|
|
444
|
-
|
|
560
|
+
<span class="param-type">Number</span>
|
|
445
561
|
|
|
446
562
|
|
|
447
563
|
|
|
@@ -469,12 +585,7 @@
|
|
|
469
585
|
<td class="type">
|
|
470
586
|
|
|
471
587
|
|
|
472
|
-
<span class="param-type">
|
|
473
|
-
|
|
474
|
-
Number
|
|
475
|
-
|
|
476
|
-
</span>
|
|
477
|
-
|
|
588
|
+
<span class="param-type">Number</span>
|
|
478
589
|
|
|
479
590
|
|
|
480
591
|
|
|
@@ -502,12 +613,7 @@
|
|
|
502
613
|
<td class="type">
|
|
503
614
|
|
|
504
615
|
|
|
505
|
-
<span class="param-type">
|
|
506
|
-
|
|
507
|
-
Number
|
|
508
|
-
|
|
509
|
-
</span>
|
|
510
|
-
|
|
616
|
+
<span class="param-type">Number</span>
|
|
511
617
|
|
|
512
618
|
|
|
513
619
|
|
|
@@ -535,12 +641,7 @@
|
|
|
535
641
|
<td class="type">
|
|
536
642
|
|
|
537
643
|
|
|
538
|
-
<span class="param-type">
|
|
539
|
-
|
|
540
|
-
Number
|
|
541
|
-
|
|
542
|
-
</span>
|
|
543
|
-
|
|
644
|
+
<span class="param-type">Number</span>
|
|
544
645
|
|
|
545
646
|
|
|
546
647
|
|
|
@@ -568,12 +669,7 @@
|
|
|
568
669
|
<td class="type">
|
|
569
670
|
|
|
570
671
|
|
|
571
|
-
<span class="param-type">
|
|
572
|
-
|
|
573
|
-
Number
|
|
574
|
-
|
|
575
|
-
</span>
|
|
576
|
-
|
|
672
|
+
<span class="param-type">Number</span>
|
|
577
673
|
|
|
578
674
|
|
|
579
675
|
|
|
@@ -601,12 +697,7 @@
|
|
|
601
697
|
<td class="type">
|
|
602
698
|
|
|
603
699
|
|
|
604
|
-
<span class="param-type">
|
|
605
|
-
|
|
606
|
-
Number
|
|
607
|
-
|
|
608
|
-
</span>
|
|
609
|
-
|
|
700
|
+
<span class="param-type">Number</span>
|
|
610
701
|
|
|
611
702
|
|
|
612
703
|
|
|
@@ -826,464 +917,6 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
826
917
|
|
|
827
918
|
<div class='vertical-section'>
|
|
828
919
|
<h3 id='member'>成员变量</h3>
|
|
829
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
830
|
-
<div class="table-container">
|
|
831
|
-
<table class="params table">
|
|
832
|
-
<thead>
|
|
833
|
-
<tr>
|
|
834
|
-
<th>名称</th>
|
|
835
|
-
<th>类型</th>
|
|
836
|
-
<th>描述</th>
|
|
837
|
-
</tr>
|
|
838
|
-
</thead>
|
|
839
|
-
<tbody>
|
|
840
|
-
|
|
841
|
-
<tr class="deep-level-0">
|
|
842
|
-
<td class="name"><code><a href="#graphicType">graphicType</a></code></td>
|
|
843
|
-
<td class="name">
|
|
844
|
-
<code>
|
|
845
|
-
|
|
846
|
-
</code>
|
|
847
|
-
</td>
|
|
848
|
-
<td class="name"><code><p>图元类型</p></code></td>
|
|
849
|
-
</tr>
|
|
850
|
-
|
|
851
|
-
<tr class="deep-level-0">
|
|
852
|
-
<td class="name"><code><a href="#allowPicking">allowPicking</a></code></td>
|
|
853
|
-
<td class="name">
|
|
854
|
-
<code>
|
|
855
|
-
|
|
856
|
-
<span class="param-type">
|
|
857
|
-
|
|
858
|
-
Boolean
|
|
859
|
-
|
|
860
|
-
</span>
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
</code>
|
|
865
|
-
</td>
|
|
866
|
-
<td class="name"><code><p>图形对象是否可以选中</p></code></td>
|
|
867
|
-
</tr>
|
|
868
|
-
|
|
869
|
-
<tr class="deep-level-0">
|
|
870
|
-
<td class="name"><code><a href="#asynchronous">asynchronous</a></code></td>
|
|
871
|
-
<td class="name">
|
|
872
|
-
<code>
|
|
873
|
-
|
|
874
|
-
<span class="param-type">
|
|
875
|
-
|
|
876
|
-
Boolean
|
|
877
|
-
|
|
878
|
-
</span>
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
</code>
|
|
883
|
-
</td>
|
|
884
|
-
<td class="name"><code><p>图形对象是否阻塞更新,一般设置为false避免更新时闪烁</p></code></td>
|
|
885
|
-
</tr>
|
|
886
|
-
|
|
887
|
-
<tr class="deep-level-0">
|
|
888
|
-
<td class="name"><code><a href="#attributes">attributes</a></code></td>
|
|
889
|
-
<td class="name">
|
|
890
|
-
<code>
|
|
891
|
-
|
|
892
|
-
<span class="param-type">
|
|
893
|
-
|
|
894
|
-
Object
|
|
895
|
-
|
|
896
|
-
</span>
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
</code>
|
|
901
|
-
</td>
|
|
902
|
-
<td class="name"><code><p>图形对象属性键值对</p></code></td>
|
|
903
|
-
</tr>
|
|
904
|
-
|
|
905
|
-
<tr class="deep-level-0">
|
|
906
|
-
<td class="name"><code><a href="#boundingSphere">boundingSphere</a></code></td>
|
|
907
|
-
<td class="name">
|
|
908
|
-
<code>
|
|
909
|
-
|
|
910
|
-
<span class="param-type">
|
|
911
|
-
|
|
912
|
-
Cesium.BoundingSphere
|
|
913
|
-
|
|
914
|
-
</span>
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
</code>
|
|
919
|
-
</td>
|
|
920
|
-
<td class="name"><code><p>图元对象包围盒</p></code></td>
|
|
921
|
-
</tr>
|
|
922
|
-
|
|
923
|
-
<tr class="deep-level-0">
|
|
924
|
-
<td class="name"><code><a href="#coordinate">coordinate</a></code></td>
|
|
925
|
-
<td class="name">
|
|
926
|
-
<code>
|
|
927
|
-
|
|
928
|
-
<span class="param-type">
|
|
929
|
-
|
|
930
|
-
Array.<Cesium.Cartesian3>
|
|
931
|
-
|
|
932
|
-
</span>
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
</code>
|
|
937
|
-
</td>
|
|
938
|
-
<td class="name"><code><p>图形实体位置数组(经纬度+高程,度)</p></code></td>
|
|
939
|
-
</tr>
|
|
940
|
-
|
|
941
|
-
<tr class="deep-level-0">
|
|
942
|
-
<td class="name"><code><a href="#editing">editing</a></code></td>
|
|
943
|
-
<td class="name">
|
|
944
|
-
<code>
|
|
945
|
-
|
|
946
|
-
<span class="param-type">
|
|
947
|
-
|
|
948
|
-
Boolean
|
|
949
|
-
|
|
950
|
-
</span>
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
</code>
|
|
955
|
-
</td>
|
|
956
|
-
<td class="name"><code><p>图形对象是否在编辑状态</p></code></td>
|
|
957
|
-
</tr>
|
|
958
|
-
|
|
959
|
-
<tr class="deep-level-0">
|
|
960
|
-
<td class="name"><code><a href="#enableVFC">enableVFC</a></code></td>
|
|
961
|
-
<td class="name">
|
|
962
|
-
<code>
|
|
963
|
-
|
|
964
|
-
<span class="param-type">
|
|
965
|
-
|
|
966
|
-
Boolean
|
|
967
|
-
|
|
968
|
-
</span>
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
</code>
|
|
973
|
-
</td>
|
|
974
|
-
<td class="name"><code><p>是否开启视锥体检测,仅当类型为div时生效</p></code></td>
|
|
975
|
-
</tr>
|
|
976
|
-
|
|
977
|
-
<tr class="deep-level-0">
|
|
978
|
-
<td class="name"><code><a href="#heading">heading</a></code></td>
|
|
979
|
-
<td class="name">
|
|
980
|
-
<code>
|
|
981
|
-
|
|
982
|
-
<span class="param-type">
|
|
983
|
-
|
|
984
|
-
Number
|
|
985
|
-
|
|
986
|
-
</span>
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
</code>
|
|
991
|
-
</td>
|
|
992
|
-
<td class="name"><code><p>图形对象偏航角,弧度。</p></code></td>
|
|
993
|
-
</tr>
|
|
994
|
-
|
|
995
|
-
<tr class="deep-level-0">
|
|
996
|
-
<td class="name"><code><a href="#id">id</a></code></td>
|
|
997
|
-
<td class="name">
|
|
998
|
-
<code>
|
|
999
|
-
|
|
1000
|
-
<span class="param-type">
|
|
1001
|
-
|
|
1002
|
-
String
|
|
1003
|
-
|
|
1004
|
-
</span>
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
</code>
|
|
1009
|
-
</td>
|
|
1010
|
-
<td class="name"><code><p>图形ID</p></code></td>
|
|
1011
|
-
</tr>
|
|
1012
|
-
|
|
1013
|
-
<tr class="deep-level-0">
|
|
1014
|
-
<td class="name"><code><a href="#isPoint">isPoint</a></code></td>
|
|
1015
|
-
<td class="name">
|
|
1016
|
-
<code>
|
|
1017
|
-
|
|
1018
|
-
<span class="param-type">
|
|
1019
|
-
|
|
1020
|
-
Boolean
|
|
1021
|
-
|
|
1022
|
-
</span>
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
</code>
|
|
1027
|
-
</td>
|
|
1028
|
-
<td class="name"><code><p>图形是否为点,文本或者广告牌</p></code></td>
|
|
1029
|
-
</tr>
|
|
1030
|
-
|
|
1031
|
-
<tr class="deep-level-0">
|
|
1032
|
-
<td class="name"><code><a href="#modelMatrix">modelMatrix</a></code></td>
|
|
1033
|
-
<td class="name">
|
|
1034
|
-
<code>
|
|
1035
|
-
|
|
1036
|
-
<span class="param-type">
|
|
1037
|
-
|
|
1038
|
-
Cesium.Matrix4
|
|
1039
|
-
|
|
1040
|
-
</span>
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
</code>
|
|
1045
|
-
</td>
|
|
1046
|
-
<td class="name"><code><p>图元对象旋转平移矩阵</p></code></td>
|
|
1047
|
-
</tr>
|
|
1048
|
-
|
|
1049
|
-
<tr class="deep-level-0">
|
|
1050
|
-
<td class="name"><code><a href="#name">name</a></code></td>
|
|
1051
|
-
<td class="name">
|
|
1052
|
-
<code>
|
|
1053
|
-
|
|
1054
|
-
<span class="param-type">
|
|
1055
|
-
|
|
1056
|
-
Number
|
|
1057
|
-
|
|
1058
|
-
</span>
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
</code>
|
|
1063
|
-
</td>
|
|
1064
|
-
<td class="name"><code><p>图形对象名称</p></code></td>
|
|
1065
|
-
</tr>
|
|
1066
|
-
|
|
1067
|
-
<tr class="deep-level-0">
|
|
1068
|
-
<td class="name"><code><a href="#parentLayer">parentLayer</a></code></td>
|
|
1069
|
-
<td class="name">
|
|
1070
|
-
<code>
|
|
1071
|
-
|
|
1072
|
-
<span class="param-type">
|
|
1073
|
-
|
|
1074
|
-
<a link="GraphicsLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="GraphicsLayer" GraphicsLayer.html>GraphicsLayer</a>
|
|
1075
|
-
|
|
1076
|
-
</span>
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
</code>
|
|
1081
|
-
</td>
|
|
1082
|
-
<td class="name"><code><p>图元父图层</p></code></td>
|
|
1083
|
-
</tr>
|
|
1084
|
-
|
|
1085
|
-
<tr class="deep-level-0">
|
|
1086
|
-
<td class="name"><code><a href="#pitch">pitch</a></code></td>
|
|
1087
|
-
<td class="name">
|
|
1088
|
-
<code>
|
|
1089
|
-
|
|
1090
|
-
<span class="param-type">
|
|
1091
|
-
|
|
1092
|
-
Number
|
|
1093
|
-
|
|
1094
|
-
</span>
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
</code>
|
|
1099
|
-
</td>
|
|
1100
|
-
<td class="name"><code><p>图形对象俯仰角,弧度。</p></code></td>
|
|
1101
|
-
</tr>
|
|
1102
|
-
|
|
1103
|
-
<tr class="deep-level-0">
|
|
1104
|
-
<td class="name"><code><a href="#positions">positions</a></code></td>
|
|
1105
|
-
<td class="name">
|
|
1106
|
-
<code>
|
|
1107
|
-
|
|
1108
|
-
<span class="param-type">
|
|
1109
|
-
|
|
1110
|
-
Array.<Cesium.Cartesian3>
|
|
1111
|
-
|
|
1112
|
-
</span>
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
</code>
|
|
1117
|
-
</td>
|
|
1118
|
-
<td class="name"><code><p>图形实体位置数组</p></code></td>
|
|
1119
|
-
</tr>
|
|
1120
|
-
|
|
1121
|
-
<tr class="deep-level-0">
|
|
1122
|
-
<td class="name"><code><a href="#primitive">primitive</a></code></td>
|
|
1123
|
-
<td class="name">
|
|
1124
|
-
<code>
|
|
1125
|
-
|
|
1126
|
-
<span class="param-type">
|
|
1127
|
-
|
|
1128
|
-
Cesium.Primitive
|
|
1129
|
-
|
|
1130
|
-
</span>
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
</code>
|
|
1135
|
-
</td>
|
|
1136
|
-
<td class="name"><code><p>图形对象primitive</p></code></td>
|
|
1137
|
-
</tr>
|
|
1138
|
-
|
|
1139
|
-
<tr class="deep-level-0">
|
|
1140
|
-
<td class="name"><code><a href="#roll">roll</a></code></td>
|
|
1141
|
-
<td class="name">
|
|
1142
|
-
<code>
|
|
1143
|
-
|
|
1144
|
-
<span class="param-type">
|
|
1145
|
-
|
|
1146
|
-
Number
|
|
1147
|
-
|
|
1148
|
-
</span>
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
</code>
|
|
1153
|
-
</td>
|
|
1154
|
-
<td class="name"><code><p>图形对象翻滚角,弧度。</p></code></td>
|
|
1155
|
-
</tr>
|
|
1156
|
-
|
|
1157
|
-
<tr class="deep-level-0">
|
|
1158
|
-
<td class="name"><code><a href="#show">show</a></code></td>
|
|
1159
|
-
<td class="name">
|
|
1160
|
-
<code>
|
|
1161
|
-
|
|
1162
|
-
<span class="param-type">
|
|
1163
|
-
|
|
1164
|
-
Boolean
|
|
1165
|
-
|
|
1166
|
-
</span>
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
</code>
|
|
1171
|
-
</td>
|
|
1172
|
-
<td class="name"><code><p>图形是否显示</p></code></td>
|
|
1173
|
-
</tr>
|
|
1174
|
-
|
|
1175
|
-
<tr class="deep-level-0">
|
|
1176
|
-
<td class="name"><code><a href="#style">style</a></code></td>
|
|
1177
|
-
<td class="name">
|
|
1178
|
-
<code>
|
|
1179
|
-
|
|
1180
|
-
<span class="param-type">
|
|
1181
|
-
|
|
1182
|
-
<a link="Style.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Style" Style.html>Style</a>
|
|
1183
|
-
|
|
1184
|
-
</span>
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
</code>
|
|
1189
|
-
</td>
|
|
1190
|
-
<td class="name"><code><p>图元对象样式信息</p></code></td>
|
|
1191
|
-
</tr>
|
|
1192
|
-
|
|
1193
|
-
<tr class="deep-level-0">
|
|
1194
|
-
<td class="name"><code><a href="#transformX">transformX</a></code></td>
|
|
1195
|
-
<td class="name">
|
|
1196
|
-
<code>
|
|
1197
|
-
|
|
1198
|
-
<span class="param-type">
|
|
1199
|
-
|
|
1200
|
-
Number
|
|
1201
|
-
|
|
1202
|
-
</span>
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
</code>
|
|
1207
|
-
</td>
|
|
1208
|
-
<td class="name"><code><p>图形对象局部坐标系X方向平移量,单位米,X方向为纬线方向</p></code></td>
|
|
1209
|
-
</tr>
|
|
1210
|
-
|
|
1211
|
-
<tr class="deep-level-0">
|
|
1212
|
-
<td class="name"><code><a href="#transformY">transformY</a></code></td>
|
|
1213
|
-
<td class="name">
|
|
1214
|
-
<code>
|
|
1215
|
-
|
|
1216
|
-
<span class="param-type">
|
|
1217
|
-
|
|
1218
|
-
Number
|
|
1219
|
-
|
|
1220
|
-
</span>
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
</code>
|
|
1225
|
-
</td>
|
|
1226
|
-
<td class="name"><code><p>图形对象局部坐标系y方向平移量,单位米,y方向为经线方向</p></code></td>
|
|
1227
|
-
</tr>
|
|
1228
|
-
|
|
1229
|
-
<tr class="deep-level-0">
|
|
1230
|
-
<td class="name"><code><a href="#transformZ">transformZ</a></code></td>
|
|
1231
|
-
<td class="name">
|
|
1232
|
-
<code>
|
|
1233
|
-
|
|
1234
|
-
<span class="param-type">
|
|
1235
|
-
|
|
1236
|
-
Number
|
|
1237
|
-
|
|
1238
|
-
</span>
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
</code>
|
|
1243
|
-
</td>
|
|
1244
|
-
<td class="name"><code><p>图形对象局部坐标系z方向平移量,单位米,z方向为垂直地表方向</p></code></td>
|
|
1245
|
-
</tr>
|
|
1246
|
-
|
|
1247
|
-
<tr class="deep-level-0">
|
|
1248
|
-
<td class="name"><code><a href="#type">type</a></code></td>
|
|
1249
|
-
<td class="name">
|
|
1250
|
-
<code>
|
|
1251
|
-
|
|
1252
|
-
<span class="param-type">
|
|
1253
|
-
|
|
1254
|
-
String
|
|
1255
|
-
|
|
1256
|
-
</span>
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
</code>
|
|
1261
|
-
</td>
|
|
1262
|
-
<td class="name"><code><p>图元类型 参照<a class="mapgis-link-name" title="Graphic.graphicType" Graphic.html#.graphicType><code>Graphic.graphicType</code></a></p></code></td>
|
|
1263
|
-
</tr>
|
|
1264
|
-
|
|
1265
|
-
<tr class="deep-level-0">
|
|
1266
|
-
<td class="name"><code><a href="#updated">updated</a></code></td>
|
|
1267
|
-
<td class="name">
|
|
1268
|
-
<code>
|
|
1269
|
-
|
|
1270
|
-
<span class="param-type">
|
|
1271
|
-
|
|
1272
|
-
function
|
|
1273
|
-
|
|
1274
|
-
</span>
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
</code>
|
|
1279
|
-
</td>
|
|
1280
|
-
<td class="name"><code><p>图形更新后的回调,请在这个回调里面获取图形参数,不要在vue上绑定图形对象</p></code></td>
|
|
1281
|
-
</tr>
|
|
1282
|
-
|
|
1283
|
-
</tbody>
|
|
1284
|
-
</table>
|
|
1285
|
-
</div>
|
|
1286
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
1287
920
|
<div class="members">
|
|
1288
921
|
|
|
1289
922
|
<div class="member">
|
|
@@ -1348,12 +981,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1348
981
|
<td class="type">
|
|
1349
982
|
|
|
1350
983
|
|
|
1351
|
-
<span class="param-type">
|
|
1352
|
-
|
|
1353
|
-
String
|
|
1354
|
-
|
|
1355
|
-
</span>
|
|
1356
|
-
|
|
984
|
+
<span class="param-type">String</span>
|
|
1357
985
|
|
|
1358
986
|
|
|
1359
987
|
|
|
@@ -1390,12 +1018,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1390
1018
|
<td class="type">
|
|
1391
1019
|
|
|
1392
1020
|
|
|
1393
|
-
<span class="param-type">
|
|
1394
|
-
|
|
1395
|
-
String
|
|
1396
|
-
|
|
1397
|
-
</span>
|
|
1398
|
-
|
|
1021
|
+
<span class="param-type">String</span>
|
|
1399
1022
|
|
|
1400
1023
|
|
|
1401
1024
|
|
|
@@ -1432,12 +1055,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1432
1055
|
<td class="type">
|
|
1433
1056
|
|
|
1434
1057
|
|
|
1435
|
-
<span class="param-type">
|
|
1436
|
-
|
|
1437
|
-
String
|
|
1438
|
-
|
|
1439
|
-
</span>
|
|
1440
|
-
|
|
1058
|
+
<span class="param-type">String</span>
|
|
1441
1059
|
|
|
1442
1060
|
|
|
1443
1061
|
|
|
@@ -1474,12 +1092,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1474
1092
|
<td class="type">
|
|
1475
1093
|
|
|
1476
1094
|
|
|
1477
|
-
<span class="param-type">
|
|
1478
|
-
|
|
1479
|
-
String
|
|
1480
|
-
|
|
1481
|
-
</span>
|
|
1482
|
-
|
|
1095
|
+
<span class="param-type">String</span>
|
|
1483
1096
|
|
|
1484
1097
|
|
|
1485
1098
|
|
|
@@ -1516,12 +1129,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1516
1129
|
<td class="type">
|
|
1517
1130
|
|
|
1518
1131
|
|
|
1519
|
-
<span class="param-type">
|
|
1520
|
-
|
|
1521
|
-
String
|
|
1522
|
-
|
|
1523
|
-
</span>
|
|
1524
|
-
|
|
1132
|
+
<span class="param-type">String</span>
|
|
1525
1133
|
|
|
1526
1134
|
|
|
1527
1135
|
|
|
@@ -1558,12 +1166,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1558
1166
|
<td class="type">
|
|
1559
1167
|
|
|
1560
1168
|
|
|
1561
|
-
<span class="param-type">
|
|
1562
|
-
|
|
1563
|
-
String
|
|
1564
|
-
|
|
1565
|
-
</span>
|
|
1566
|
-
|
|
1169
|
+
<span class="param-type">String</span>
|
|
1567
1170
|
|
|
1568
1171
|
|
|
1569
1172
|
|
|
@@ -1600,12 +1203,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1600
1203
|
<td class="type">
|
|
1601
1204
|
|
|
1602
1205
|
|
|
1603
|
-
<span class="param-type">
|
|
1604
|
-
|
|
1605
|
-
String
|
|
1606
|
-
|
|
1607
|
-
</span>
|
|
1608
|
-
|
|
1206
|
+
<span class="param-type">String</span>
|
|
1609
1207
|
|
|
1610
1208
|
|
|
1611
1209
|
|
|
@@ -1642,12 +1240,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1642
1240
|
<td class="type">
|
|
1643
1241
|
|
|
1644
1242
|
|
|
1645
|
-
<span class="param-type">
|
|
1646
|
-
|
|
1647
|
-
String
|
|
1648
|
-
|
|
1649
|
-
</span>
|
|
1650
|
-
|
|
1243
|
+
<span class="param-type">String</span>
|
|
1651
1244
|
|
|
1652
1245
|
|
|
1653
1246
|
|
|
@@ -1684,12 +1277,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1684
1277
|
<td class="type">
|
|
1685
1278
|
|
|
1686
1279
|
|
|
1687
|
-
<span class="param-type">
|
|
1688
|
-
|
|
1689
|
-
String
|
|
1690
|
-
|
|
1691
|
-
</span>
|
|
1692
|
-
|
|
1280
|
+
<span class="param-type">String</span>
|
|
1693
1281
|
|
|
1694
1282
|
|
|
1695
1283
|
|
|
@@ -1726,12 +1314,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1726
1314
|
<td class="type">
|
|
1727
1315
|
|
|
1728
1316
|
|
|
1729
|
-
<span class="param-type">
|
|
1730
|
-
|
|
1731
|
-
String
|
|
1732
|
-
|
|
1733
|
-
</span>
|
|
1734
|
-
|
|
1317
|
+
<span class="param-type">String</span>
|
|
1735
1318
|
|
|
1736
1319
|
|
|
1737
1320
|
|
|
@@ -1768,12 +1351,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1768
1351
|
<td class="type">
|
|
1769
1352
|
|
|
1770
1353
|
|
|
1771
|
-
<span class="param-type">
|
|
1772
|
-
|
|
1773
|
-
String
|
|
1774
|
-
|
|
1775
|
-
</span>
|
|
1776
|
-
|
|
1354
|
+
<span class="param-type">String</span>
|
|
1777
1355
|
|
|
1778
1356
|
|
|
1779
1357
|
|
|
@@ -1810,12 +1388,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1810
1388
|
<td class="type">
|
|
1811
1389
|
|
|
1812
1390
|
|
|
1813
|
-
<span class="param-type">
|
|
1814
|
-
|
|
1815
|
-
String
|
|
1816
|
-
|
|
1817
|
-
</span>
|
|
1818
|
-
|
|
1391
|
+
<span class="param-type">String</span>
|
|
1819
1392
|
|
|
1820
1393
|
|
|
1821
1394
|
|
|
@@ -1852,12 +1425,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1852
1425
|
<td class="type">
|
|
1853
1426
|
|
|
1854
1427
|
|
|
1855
|
-
<span class="param-type">
|
|
1856
|
-
|
|
1857
|
-
String
|
|
1858
|
-
|
|
1859
|
-
</span>
|
|
1860
|
-
|
|
1428
|
+
<span class="param-type">String</span>
|
|
1861
1429
|
|
|
1862
1430
|
|
|
1863
1431
|
|
|
@@ -1894,12 +1462,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1894
1462
|
<td class="type">
|
|
1895
1463
|
|
|
1896
1464
|
|
|
1897
|
-
<span class="param-type">
|
|
1898
|
-
|
|
1899
|
-
String
|
|
1900
|
-
|
|
1901
|
-
</span>
|
|
1902
|
-
|
|
1465
|
+
<span class="param-type">String</span>
|
|
1903
1466
|
|
|
1904
1467
|
|
|
1905
1468
|
|
|
@@ -1936,12 +1499,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1936
1499
|
<td class="type">
|
|
1937
1500
|
|
|
1938
1501
|
|
|
1939
|
-
<span class="param-type">
|
|
1940
|
-
|
|
1941
|
-
String
|
|
1942
|
-
|
|
1943
|
-
</span>
|
|
1944
|
-
|
|
1502
|
+
<span class="param-type">String</span>
|
|
1945
1503
|
|
|
1946
1504
|
|
|
1947
1505
|
|
|
@@ -1978,12 +1536,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
1978
1536
|
<td class="type">
|
|
1979
1537
|
|
|
1980
1538
|
|
|
1981
|
-
<span class="param-type">
|
|
1982
|
-
|
|
1983
|
-
String
|
|
1984
|
-
|
|
1985
|
-
</span>
|
|
1986
|
-
|
|
1539
|
+
<span class="param-type">String</span>
|
|
1987
1540
|
|
|
1988
1541
|
|
|
1989
1542
|
|
|
@@ -2020,12 +1573,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2020
1573
|
<td class="type">
|
|
2021
1574
|
|
|
2022
1575
|
|
|
2023
|
-
<span class="param-type">
|
|
2024
|
-
|
|
2025
|
-
String
|
|
2026
|
-
|
|
2027
|
-
</span>
|
|
2028
|
-
|
|
1576
|
+
<span class="param-type">String</span>
|
|
2029
1577
|
|
|
2030
1578
|
|
|
2031
1579
|
|
|
@@ -2062,12 +1610,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2062
1610
|
<td class="type">
|
|
2063
1611
|
|
|
2064
1612
|
|
|
2065
|
-
<span class="param-type">
|
|
2066
|
-
|
|
2067
|
-
String
|
|
2068
|
-
|
|
2069
|
-
</span>
|
|
2070
|
-
|
|
1613
|
+
<span class="param-type">String</span>
|
|
2071
1614
|
|
|
2072
1615
|
|
|
2073
1616
|
|
|
@@ -2146,12 +1689,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2146
1689
|
<span class="method-parameter is-pulled-right">
|
|
2147
1690
|
<label>类型:</label>
|
|
2148
1691
|
|
|
2149
|
-
<span class="param-type">
|
|
2150
|
-
|
|
2151
|
-
Boolean
|
|
2152
|
-
|
|
2153
|
-
</span>
|
|
2154
|
-
|
|
1692
|
+
<span class="param-type">Boolean</span>
|
|
2155
1693
|
|
|
2156
1694
|
|
|
2157
1695
|
</span>
|
|
@@ -2221,12 +1759,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2221
1759
|
<span class="method-parameter is-pulled-right">
|
|
2222
1760
|
<label>类型:</label>
|
|
2223
1761
|
|
|
2224
|
-
<span class="param-type">
|
|
2225
|
-
|
|
2226
|
-
Boolean
|
|
2227
|
-
|
|
2228
|
-
</span>
|
|
2229
|
-
|
|
1762
|
+
<span class="param-type">Boolean</span>
|
|
2230
1763
|
|
|
2231
1764
|
|
|
2232
1765
|
</span>
|
|
@@ -2296,12 +1829,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2296
1829
|
<span class="method-parameter is-pulled-right">
|
|
2297
1830
|
<label>类型:</label>
|
|
2298
1831
|
|
|
2299
|
-
<span class="param-type">
|
|
2300
|
-
|
|
2301
|
-
Object
|
|
2302
|
-
|
|
2303
|
-
</span>
|
|
2304
|
-
|
|
1832
|
+
<span class="param-type">Object</span>
|
|
2305
1833
|
|
|
2306
1834
|
|
|
2307
1835
|
</span>
|
|
@@ -2375,12 +1903,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2375
1903
|
<span class="method-parameter is-pulled-right">
|
|
2376
1904
|
<label>类型:</label>
|
|
2377
1905
|
|
|
2378
|
-
<span class="param-type">
|
|
2379
|
-
|
|
2380
|
-
Cesium.BoundingSphere
|
|
2381
|
-
|
|
2382
|
-
</span>
|
|
2383
|
-
|
|
1906
|
+
<span class="param-type">Cesium.BoundingSphere</span>
|
|
2384
1907
|
|
|
2385
1908
|
|
|
2386
1909
|
</span>
|
|
@@ -2454,12 +1977,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2454
1977
|
<span class="method-parameter is-pulled-right">
|
|
2455
1978
|
<label>类型:</label>
|
|
2456
1979
|
|
|
2457
|
-
<span class="param-type">
|
|
2458
|
-
|
|
2459
|
-
Array.<Cesium.Cartesian3>
|
|
2460
|
-
|
|
2461
|
-
</span>
|
|
2462
|
-
|
|
1980
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
2463
1981
|
|
|
2464
1982
|
|
|
2465
1983
|
</span>
|
|
@@ -2529,12 +2047,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2529
2047
|
<span class="method-parameter is-pulled-right">
|
|
2530
2048
|
<label>类型:</label>
|
|
2531
2049
|
|
|
2532
|
-
<span class="param-type">
|
|
2533
|
-
|
|
2534
|
-
Boolean
|
|
2535
|
-
|
|
2536
|
-
</span>
|
|
2537
|
-
|
|
2050
|
+
<span class="param-type">Boolean</span>
|
|
2538
2051
|
|
|
2539
2052
|
|
|
2540
2053
|
</span>
|
|
@@ -2604,12 +2117,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2604
2117
|
<span class="method-parameter is-pulled-right">
|
|
2605
2118
|
<label>类型:</label>
|
|
2606
2119
|
|
|
2607
|
-
<span class="param-type">
|
|
2608
|
-
|
|
2609
|
-
Boolean
|
|
2610
|
-
|
|
2611
|
-
</span>
|
|
2612
|
-
|
|
2120
|
+
<span class="param-type">Boolean</span>
|
|
2613
2121
|
|
|
2614
2122
|
|
|
2615
2123
|
</span>
|
|
@@ -2679,12 +2187,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2679
2187
|
<span class="method-parameter is-pulled-right">
|
|
2680
2188
|
<label>类型:</label>
|
|
2681
2189
|
|
|
2682
|
-
<span class="param-type">
|
|
2683
|
-
|
|
2684
|
-
Number
|
|
2685
|
-
|
|
2686
|
-
</span>
|
|
2687
|
-
|
|
2190
|
+
<span class="param-type">Number</span>
|
|
2688
2191
|
|
|
2689
2192
|
|
|
2690
2193
|
</span>
|
|
@@ -2754,12 +2257,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2754
2257
|
<span class="method-parameter is-pulled-right">
|
|
2755
2258
|
<label>类型:</label>
|
|
2756
2259
|
|
|
2757
|
-
<span class="param-type">
|
|
2758
|
-
|
|
2759
|
-
String
|
|
2760
|
-
|
|
2761
|
-
</span>
|
|
2762
|
-
|
|
2260
|
+
<span class="param-type">String</span>
|
|
2763
2261
|
|
|
2764
2262
|
|
|
2765
2263
|
</span>
|
|
@@ -2833,12 +2331,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2833
2331
|
<span class="method-parameter is-pulled-right">
|
|
2834
2332
|
<label>类型:</label>
|
|
2835
2333
|
|
|
2836
|
-
<span class="param-type">
|
|
2837
|
-
|
|
2838
|
-
Boolean
|
|
2839
|
-
|
|
2840
|
-
</span>
|
|
2841
|
-
|
|
2334
|
+
<span class="param-type">Boolean</span>
|
|
2842
2335
|
|
|
2843
2336
|
|
|
2844
2337
|
</span>
|
|
@@ -2908,12 +2401,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2908
2401
|
<span class="method-parameter is-pulled-right">
|
|
2909
2402
|
<label>类型:</label>
|
|
2910
2403
|
|
|
2911
|
-
<span class="param-type">
|
|
2912
|
-
|
|
2913
|
-
Cesium.Matrix4
|
|
2914
|
-
|
|
2915
|
-
</span>
|
|
2916
|
-
|
|
2404
|
+
<span class="param-type">Cesium.Matrix4</span>
|
|
2917
2405
|
|
|
2918
2406
|
|
|
2919
2407
|
</span>
|
|
@@ -2987,12 +2475,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
2987
2475
|
<span class="method-parameter is-pulled-right">
|
|
2988
2476
|
<label>类型:</label>
|
|
2989
2477
|
|
|
2990
|
-
<span class="param-type">
|
|
2991
|
-
|
|
2992
|
-
Number
|
|
2993
|
-
|
|
2994
|
-
</span>
|
|
2995
|
-
|
|
2478
|
+
<span class="param-type">Number</span>
|
|
2996
2479
|
|
|
2997
2480
|
|
|
2998
2481
|
</span>
|
|
@@ -3062,12 +2545,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3062
2545
|
<span class="method-parameter is-pulled-right">
|
|
3063
2546
|
<label>类型:</label>
|
|
3064
2547
|
|
|
3065
|
-
<span class="param-type">
|
|
3066
|
-
|
|
3067
|
-
<a link="GraphicsLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="GraphicsLayer" GraphicsLayer.html>GraphicsLayer</a>
|
|
3068
|
-
|
|
3069
|
-
</span>
|
|
3070
|
-
|
|
2548
|
+
<span class="param-type"><a class="mapgis-link-name" title="GraphicsLayer" GraphicsLayer.html>GraphicsLayer</a></span>
|
|
3071
2549
|
|
|
3072
2550
|
|
|
3073
2551
|
</span>
|
|
@@ -3141,12 +2619,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3141
2619
|
<span class="method-parameter is-pulled-right">
|
|
3142
2620
|
<label>类型:</label>
|
|
3143
2621
|
|
|
3144
|
-
<span class="param-type">
|
|
3145
|
-
|
|
3146
|
-
Number
|
|
3147
|
-
|
|
3148
|
-
</span>
|
|
3149
|
-
|
|
2622
|
+
<span class="param-type">Number</span>
|
|
3150
2623
|
|
|
3151
2624
|
|
|
3152
2625
|
</span>
|
|
@@ -3216,12 +2689,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3216
2689
|
<span class="method-parameter is-pulled-right">
|
|
3217
2690
|
<label>类型:</label>
|
|
3218
2691
|
|
|
3219
|
-
<span class="param-type">
|
|
3220
|
-
|
|
3221
|
-
Array.<Cesium.Cartesian3>
|
|
3222
|
-
|
|
3223
|
-
</span>
|
|
3224
|
-
|
|
2692
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
3225
2693
|
|
|
3226
2694
|
|
|
3227
2695
|
</span>
|
|
@@ -3291,12 +2759,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3291
2759
|
<span class="method-parameter is-pulled-right">
|
|
3292
2760
|
<label>类型:</label>
|
|
3293
2761
|
|
|
3294
|
-
<span class="param-type">
|
|
3295
|
-
|
|
3296
|
-
Cesium.Primitive
|
|
3297
|
-
|
|
3298
|
-
</span>
|
|
3299
|
-
|
|
2762
|
+
<span class="param-type">Cesium.Primitive</span>
|
|
3300
2763
|
|
|
3301
2764
|
|
|
3302
2765
|
</span>
|
|
@@ -3370,12 +2833,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3370
2833
|
<span class="method-parameter is-pulled-right">
|
|
3371
2834
|
<label>类型:</label>
|
|
3372
2835
|
|
|
3373
|
-
<span class="param-type">
|
|
3374
|
-
|
|
3375
|
-
Number
|
|
3376
|
-
|
|
3377
|
-
</span>
|
|
3378
|
-
|
|
2836
|
+
<span class="param-type">Number</span>
|
|
3379
2837
|
|
|
3380
2838
|
|
|
3381
2839
|
</span>
|
|
@@ -3445,12 +2903,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3445
2903
|
<span class="method-parameter is-pulled-right">
|
|
3446
2904
|
<label>类型:</label>
|
|
3447
2905
|
|
|
3448
|
-
<span class="param-type">
|
|
3449
|
-
|
|
3450
|
-
Boolean
|
|
3451
|
-
|
|
3452
|
-
</span>
|
|
3453
|
-
|
|
2906
|
+
<span class="param-type">Boolean</span>
|
|
3454
2907
|
|
|
3455
2908
|
|
|
3456
2909
|
</span>
|
|
@@ -3520,12 +2973,7 @@ graphic.style.offsetHeight = 2000;</code></pre>
|
|
|
3520
2973
|
<span class="method-parameter is-pulled-right">
|
|
3521
2974
|
<label>类型:</label>
|
|
3522
2975
|
|
|
3523
|
-
<span class="param-type">
|
|
3524
|
-
|
|
3525
|
-
<a link="Style.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Style" Style.html>Style</a>
|
|
3526
|
-
|
|
3527
|
-
</span>
|
|
3528
|
-
|
|
2976
|
+
<span class="param-type"><a class="mapgis-link-name" title="Style" Style.html>Style</a></span>
|
|
3529
2977
|
|
|
3530
2978
|
|
|
3531
2979
|
</span>
|
|
@@ -3607,12 +3055,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
3607
3055
|
<span class="method-parameter is-pulled-right">
|
|
3608
3056
|
<label>类型:</label>
|
|
3609
3057
|
|
|
3610
|
-
<span class="param-type">
|
|
3611
|
-
|
|
3612
|
-
Number
|
|
3613
|
-
|
|
3614
|
-
</span>
|
|
3615
|
-
|
|
3058
|
+
<span class="param-type">Number</span>
|
|
3616
3059
|
|
|
3617
3060
|
|
|
3618
3061
|
</span>
|
|
@@ -3682,12 +3125,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
3682
3125
|
<span class="method-parameter is-pulled-right">
|
|
3683
3126
|
<label>类型:</label>
|
|
3684
3127
|
|
|
3685
|
-
<span class="param-type">
|
|
3686
|
-
|
|
3687
|
-
Number
|
|
3688
|
-
|
|
3689
|
-
</span>
|
|
3690
|
-
|
|
3128
|
+
<span class="param-type">Number</span>
|
|
3691
3129
|
|
|
3692
3130
|
|
|
3693
3131
|
</span>
|
|
@@ -3757,12 +3195,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
3757
3195
|
<span class="method-parameter is-pulled-right">
|
|
3758
3196
|
<label>类型:</label>
|
|
3759
3197
|
|
|
3760
|
-
<span class="param-type">
|
|
3761
|
-
|
|
3762
|
-
Number
|
|
3763
|
-
|
|
3764
|
-
</span>
|
|
3765
|
-
|
|
3198
|
+
<span class="param-type">Number</span>
|
|
3766
3199
|
|
|
3767
3200
|
|
|
3768
3201
|
</span>
|
|
@@ -3832,12 +3265,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
3832
3265
|
<span class="method-parameter is-pulled-right">
|
|
3833
3266
|
<label>类型:</label>
|
|
3834
3267
|
|
|
3835
|
-
<span class="param-type">
|
|
3836
|
-
|
|
3837
|
-
String
|
|
3838
|
-
|
|
3839
|
-
</span>
|
|
3840
|
-
|
|
3268
|
+
<span class="param-type">String</span>
|
|
3841
3269
|
|
|
3842
3270
|
|
|
3843
3271
|
</span>
|
|
@@ -3911,12 +3339,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
3911
3339
|
<span class="method-parameter is-pulled-right">
|
|
3912
3340
|
<label>类型:</label>
|
|
3913
3341
|
|
|
3914
|
-
<span class="param-type">
|
|
3915
|
-
|
|
3916
|
-
function
|
|
3917
|
-
|
|
3918
|
-
</span>
|
|
3919
|
-
|
|
3342
|
+
<span class="param-type">function</span>
|
|
3920
3343
|
|
|
3921
3344
|
|
|
3922
3345
|
</span>
|
|
@@ -3988,83 +3411,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
3988
3411
|
|
|
3989
3412
|
<div class='vertical-section'>
|
|
3990
3413
|
<h3 id='function'>方法</h3>
|
|
3991
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
3992
3414
|
<div class="members">
|
|
3993
|
-
<div class="table-container">
|
|
3994
|
-
<table class="params table">
|
|
3995
|
-
<thead>
|
|
3996
|
-
<tr>
|
|
3997
|
-
<th>名称</th>
|
|
3998
|
-
<th>返回值类型</th>
|
|
3999
|
-
<th>描述</th>
|
|
4000
|
-
</tr>
|
|
4001
|
-
</thead>
|
|
4002
|
-
<tbody>
|
|
4003
|
-
|
|
4004
|
-
<tr class="deep-level-0">
|
|
4005
|
-
<td class="name"><code><a href="#addAttributes">addAttributes</a></code></td>
|
|
4006
|
-
<td class="name">
|
|
4007
|
-
<code>
|
|
4008
|
-
|
|
4009
|
-
</code>
|
|
4010
|
-
</td>
|
|
4011
|
-
<td class="name"><code><p>给图元添加属性字段</p></code></td>
|
|
4012
|
-
</tr>
|
|
4013
|
-
|
|
4014
|
-
<tr class="deep-level-0">
|
|
4015
|
-
<td class="name"><code><a href="#addTo">addTo</a></code></td>
|
|
4016
|
-
<td class="name">
|
|
4017
|
-
<code>
|
|
4018
|
-
|
|
4019
|
-
</code>
|
|
4020
|
-
</td>
|
|
4021
|
-
<td class="name"><code><p>添加到图层上,同 layer.addGraphic</p></code></td>
|
|
4022
|
-
</tr>
|
|
4023
|
-
|
|
4024
|
-
<tr class="deep-level-0">
|
|
4025
|
-
<td class="name"><code><a href="#getDistances">getDistances</a></code></td>
|
|
4026
|
-
<td class="name">
|
|
4027
|
-
<code>
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
<span class="param-type">
|
|
4031
|
-
|
|
4032
|
-
Array.<Number>
|
|
4033
|
-
|
|
4034
|
-
</span>
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
</code>
|
|
4040
|
-
</td>
|
|
4041
|
-
<td class="name"><code><p>计算顶点坐标之间的距离</p></code></td>
|
|
4042
|
-
</tr>
|
|
4043
|
-
|
|
4044
|
-
<tr class="deep-level-0">
|
|
4045
|
-
<td class="name"><code><a href="#remove">remove</a></code></td>
|
|
4046
|
-
<td class="name">
|
|
4047
|
-
<code>
|
|
4048
|
-
|
|
4049
|
-
</code>
|
|
4050
|
-
</td>
|
|
4051
|
-
<td class="name"><code><p>从图层中移除图元</p></code></td>
|
|
4052
|
-
</tr>
|
|
4053
|
-
|
|
4054
|
-
<tr class="deep-level-0">
|
|
4055
|
-
<td class="name"><code><a href="#updateGraphic">updateGraphic</a></code></td>
|
|
4056
|
-
<td class="name">
|
|
4057
|
-
<code>
|
|
4058
|
-
|
|
4059
|
-
</code>
|
|
4060
|
-
</td>
|
|
4061
|
-
<td class="name"><code><p>更新整个标绘对象,包括位置、矩阵、样式等</p></code></td>
|
|
4062
|
-
</tr>
|
|
4063
|
-
|
|
4064
|
-
</tbody>
|
|
4065
|
-
</table>
|
|
4066
|
-
</div>
|
|
4067
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
4068
3415
|
|
|
4069
3416
|
<div class="member">
|
|
4070
3417
|
|
|
@@ -4073,7 +3420,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4073
3420
|
<h4 class="name" id="addAttributes">
|
|
4074
3421
|
<a class="href-link" href="#addAttributes">#</a>
|
|
4075
3422
|
|
|
4076
|
-
<span class="code-name"
|
|
3423
|
+
<span class="code-name" style="font-size:30px">
|
|
4077
3424
|
|
|
4078
3425
|
addAttributes<span class="signature">(key, value)</span>
|
|
4079
3426
|
|
|
@@ -4095,7 +3442,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4095
3442
|
|
|
4096
3443
|
|
|
4097
3444
|
|
|
4098
|
-
<h4
|
|
3445
|
+
<h4>参数:</h4>
|
|
4099
3446
|
|
|
4100
3447
|
<div class="table-container">
|
|
4101
3448
|
<table class="params table">
|
|
@@ -4125,12 +3472,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4125
3472
|
<td class="type">
|
|
4126
3473
|
|
|
4127
3474
|
|
|
4128
|
-
<span class="param-type">
|
|
4129
|
-
|
|
4130
|
-
String
|
|
4131
|
-
|
|
4132
|
-
</span>
|
|
4133
|
-
|
|
3475
|
+
<span class="param-type">String</span>
|
|
4134
3476
|
|
|
4135
3477
|
|
|
4136
3478
|
|
|
@@ -4154,19 +3496,10 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4154
3496
|
<td class="type">
|
|
4155
3497
|
|
|
4156
3498
|
|
|
4157
|
-
<span class="param-type">
|
|
4158
|
-
|
|
4159
|
-
String
|
|
4160
|
-
|
|
4161
|
-
</span>
|
|
3499
|
+
<span class="param-type">String</span>
|
|
4162
3500
|
|
|
|
4163
3501
|
|
|
4164
|
-
<span class="param-type">
|
|
4165
|
-
|
|
4166
|
-
Object
|
|
4167
|
-
|
|
4168
|
-
</span>
|
|
4169
|
-
|
|
3502
|
+
<span class="param-type">Object</span>
|
|
4170
3503
|
|
|
4171
3504
|
|
|
4172
3505
|
|
|
@@ -4254,7 +3587,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4254
3587
|
<h4 class="name" id="addTo">
|
|
4255
3588
|
<a class="href-link" href="#addTo">#</a>
|
|
4256
3589
|
|
|
4257
|
-
<span class="code-name"
|
|
3590
|
+
<span class="code-name" style="font-size:30px">
|
|
4258
3591
|
|
|
4259
3592
|
addTo<span class="signature">(layer)</span>
|
|
4260
3593
|
|
|
@@ -4276,7 +3609,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4276
3609
|
|
|
4277
3610
|
|
|
4278
3611
|
|
|
4279
|
-
<h4
|
|
3612
|
+
<h4>参数:</h4>
|
|
4280
3613
|
|
|
4281
3614
|
<div class="table-container">
|
|
4282
3615
|
<table class="params table">
|
|
@@ -4306,12 +3639,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4306
3639
|
<td class="type">
|
|
4307
3640
|
|
|
4308
3641
|
|
|
4309
|
-
<span class="param-type">
|
|
4310
|
-
|
|
4311
|
-
<a link="GraphicsLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="GraphicsLayer" GraphicsLayer.html>GraphicsLayer</a>
|
|
4312
|
-
|
|
4313
|
-
</span>
|
|
4314
|
-
|
|
3642
|
+
<span class="param-type"><a class="mapgis-link-name" title="GraphicsLayer" GraphicsLayer.html>GraphicsLayer</a></span>
|
|
4315
3643
|
|
|
4316
3644
|
|
|
4317
3645
|
|
|
@@ -4399,7 +3727,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4399
3727
|
<h4 class="name" id="getDistances">
|
|
4400
3728
|
<a class="href-link" href="#getDistances">#</a>
|
|
4401
3729
|
|
|
4402
|
-
<span class="code-name"
|
|
3730
|
+
<span class="code-name" style="font-size:30px">
|
|
4403
3731
|
|
|
4404
3732
|
getDistances<span class="signature">()</span>
|
|
4405
3733
|
|
|
@@ -4477,7 +3805,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4477
3805
|
|
|
4478
3806
|
|
|
4479
3807
|
<div class='columns method-parameter'>
|
|
4480
|
-
<div class="column is-2"><label
|
|
3808
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
4481
3809
|
<div class="column is-10">
|
|
4482
3810
|
|
|
4483
3811
|
|
|
@@ -4490,12 +3818,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4490
3818
|
<div class='column is-5 has-text-left'>
|
|
4491
3819
|
<label>类型: </label>
|
|
4492
3820
|
|
|
4493
|
-
<span class="param-type">
|
|
4494
|
-
|
|
4495
|
-
Array.<Number>
|
|
4496
|
-
|
|
4497
|
-
</span>
|
|
4498
|
-
|
|
3821
|
+
<span class="param-type">Array.<Number></span>
|
|
4499
3822
|
|
|
4500
3823
|
|
|
4501
3824
|
</div>
|
|
@@ -4520,7 +3843,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4520
3843
|
<h4 class="name" id="remove">
|
|
4521
3844
|
<a class="href-link" href="#remove">#</a>
|
|
4522
3845
|
|
|
4523
|
-
<span class="code-name"
|
|
3846
|
+
<span class="code-name" style="font-size:30px">
|
|
4524
3847
|
|
|
4525
3848
|
remove<span class="signature">()</span>
|
|
4526
3849
|
|
|
@@ -4611,7 +3934,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4611
3934
|
<h4 class="name" id="updateGraphic">
|
|
4612
3935
|
<a class="href-link" href="#updateGraphic">#</a>
|
|
4613
3936
|
|
|
4614
|
-
<span class="code-name"
|
|
3937
|
+
<span class="code-name" style="font-size:30px">
|
|
4615
3938
|
|
|
4616
3939
|
updateGraphic<span class="signature">(style, name, value)</span>
|
|
4617
3940
|
|
|
@@ -4633,7 +3956,7 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4633
3956
|
|
|
4634
3957
|
|
|
4635
3958
|
|
|
4636
|
-
<h4
|
|
3959
|
+
<h4>参数:</h4>
|
|
4637
3960
|
|
|
4638
3961
|
<div class="table-container">
|
|
4639
3962
|
<table class="params table">
|
|
@@ -4786,4 +4109,42 @@ graphic.style.text = 'mapgispro';</code></pre>
|
|
|
4786
4109
|
|
|
4787
4110
|
</article>
|
|
4788
4111
|
|
|
4789
|
-
</section>
|
|
4112
|
+
</section>
|
|
4113
|
+
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
|
|
4117
|
+
</div>
|
|
4118
|
+
|
|
4119
|
+
<footer class="footer">
|
|
4120
|
+
<div class="content has-text-centered">
|
|
4121
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
4122
|
+
<p class="sidebar-created-by">
|
|
4123
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
4124
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
4125
|
+
</p>
|
|
4126
|
+
</div>
|
|
4127
|
+
</footer>
|
|
4128
|
+
|
|
4129
|
+
</div>
|
|
4130
|
+
<div id="side-nav" class="side-nav">
|
|
4131
|
+
<div style="margin-bottom: 10px;">
|
|
4132
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
4133
|
+
</div>
|
|
4134
|
+
<div style="margin-bottom: 10px;">
|
|
4135
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
4136
|
+
</div>
|
|
4137
|
+
<div style="margin-bottom: 10px;">
|
|
4138
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
4139
|
+
</div>
|
|
4140
|
+
<div>
|
|
4141
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
4142
|
+
</div>
|
|
4143
|
+
</div>
|
|
4144
|
+
</div>
|
|
4145
|
+
<script src="scripts/linenumber.js"> </script>
|
|
4146
|
+
|
|
4147
|
+
<script src="scripts/search.js"> </script>
|
|
4148
|
+
|
|
4149
|
+
</body>
|
|
4150
|
+
</html>
|