@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
|
@@ -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> RiverGeometry</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">RiverGeometry</span>
|
|
186
|
+
</header>
|
|
187
|
+
|
|
8
188
|
|
|
9
189
|
|
|
10
190
|
|
|
@@ -25,7 +205,7 @@
|
|
|
25
205
|
<h4 class="name" id="RiverGeometry">
|
|
26
206
|
<a class="href-link" href="#RiverGeometry">#</a>
|
|
27
207
|
|
|
28
|
-
<span class="code-name"
|
|
208
|
+
<span class="code-name" style="font-size:30px">
|
|
29
209
|
|
|
30
210
|
new RiverGeometry<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
|
-
PolygonHierarchy
|
|
116
|
-
|
|
117
|
-
</span>
|
|
118
|
-
|
|
288
|
+
<span class="param-type">PolygonHierarchy</span>
|
|
119
289
|
|
|
120
290
|
|
|
121
291
|
|
|
@@ -141,12 +311,7 @@
|
|
|
141
311
|
<td class="type">
|
|
142
312
|
|
|
143
313
|
|
|
144
|
-
<span class="param-type">
|
|
145
|
-
|
|
146
|
-
Number
|
|
147
|
-
|
|
148
|
-
</span>
|
|
149
|
-
|
|
314
|
+
<span class="param-type">Number</span>
|
|
150
315
|
|
|
151
316
|
|
|
152
317
|
|
|
@@ -174,12 +339,7 @@
|
|
|
174
339
|
<td class="type">
|
|
175
340
|
|
|
176
341
|
|
|
177
|
-
<span class="param-type">
|
|
178
|
-
|
|
179
|
-
Number
|
|
180
|
-
|
|
181
|
-
</span>
|
|
182
|
-
|
|
342
|
+
<span class="param-type">Number</span>
|
|
183
343
|
|
|
184
344
|
|
|
185
345
|
|
|
@@ -205,12 +365,7 @@
|
|
|
205
365
|
<td class="type">
|
|
206
366
|
|
|
207
367
|
|
|
208
|
-
<span class="param-type">
|
|
209
|
-
|
|
210
|
-
Cesium.VertexFormat
|
|
211
|
-
|
|
212
|
-
</span>
|
|
213
|
-
|
|
368
|
+
<span class="param-type">Cesium.VertexFormat</span>
|
|
214
369
|
|
|
215
370
|
|
|
216
371
|
|
|
@@ -238,12 +393,7 @@
|
|
|
238
393
|
<td class="type">
|
|
239
394
|
|
|
240
395
|
|
|
241
|
-
<span class="param-type">
|
|
242
|
-
|
|
243
|
-
Array.<Number>
|
|
244
|
-
|
|
245
|
-
</span>
|
|
246
|
-
|
|
396
|
+
<span class="param-type">Array.<Number></span>
|
|
247
397
|
|
|
248
398
|
|
|
249
399
|
|
|
@@ -269,12 +419,7 @@
|
|
|
269
419
|
<td class="type">
|
|
270
420
|
|
|
271
421
|
|
|
272
|
-
<span class="param-type">
|
|
273
|
-
|
|
274
|
-
Float32Array
|
|
275
|
-
|
|
276
|
-
</span>
|
|
277
|
-
|
|
422
|
+
<span class="param-type">Float32Array</span>
|
|
278
423
|
|
|
279
424
|
|
|
280
425
|
|
|
@@ -300,12 +445,7 @@
|
|
|
300
445
|
<td class="type">
|
|
301
446
|
|
|
302
447
|
|
|
303
|
-
<span class="param-type">
|
|
304
|
-
|
|
305
|
-
Number
|
|
306
|
-
|
|
307
|
-
</span>
|
|
308
|
-
|
|
448
|
+
<span class="param-type">Number</span>
|
|
309
449
|
|
|
310
450
|
|
|
311
451
|
|
|
@@ -333,12 +473,7 @@
|
|
|
333
473
|
<td class="type">
|
|
334
474
|
|
|
335
475
|
|
|
336
|
-
<span class="param-type">
|
|
337
|
-
|
|
338
|
-
Cesium.Ellipsoid
|
|
339
|
-
|
|
340
|
-
</span>
|
|
341
|
-
|
|
476
|
+
<span class="param-type">Cesium.Ellipsoid</span>
|
|
342
477
|
|
|
343
478
|
|
|
344
479
|
|
|
@@ -366,12 +501,7 @@
|
|
|
366
501
|
<td class="type">
|
|
367
502
|
|
|
368
503
|
|
|
369
|
-
<span class="param-type">
|
|
370
|
-
|
|
371
|
-
Number
|
|
372
|
-
|
|
373
|
-
</span>
|
|
374
|
-
|
|
504
|
+
<span class="param-type">Number</span>
|
|
375
505
|
|
|
376
506
|
|
|
377
507
|
|
|
@@ -399,12 +529,7 @@
|
|
|
399
529
|
<td class="type">
|
|
400
530
|
|
|
401
531
|
|
|
402
|
-
<span class="param-type">
|
|
403
|
-
|
|
404
|
-
Boolean
|
|
405
|
-
|
|
406
|
-
</span>
|
|
407
|
-
|
|
532
|
+
<span class="param-type">Boolean</span>
|
|
408
533
|
|
|
409
534
|
|
|
410
535
|
|
|
@@ -432,12 +557,7 @@
|
|
|
432
557
|
<td class="type">
|
|
433
558
|
|
|
434
559
|
|
|
435
|
-
<span class="param-type">
|
|
436
|
-
|
|
437
|
-
Boolean
|
|
438
|
-
|
|
439
|
-
</span>
|
|
440
|
-
|
|
560
|
+
<span class="param-type">Boolean</span>
|
|
441
561
|
|
|
442
562
|
|
|
443
563
|
|
|
@@ -465,12 +585,7 @@
|
|
|
465
585
|
<td class="type">
|
|
466
586
|
|
|
467
587
|
|
|
468
|
-
<span class="param-type">
|
|
469
|
-
|
|
470
|
-
Boolean
|
|
471
|
-
|
|
472
|
-
</span>
|
|
473
|
-
|
|
588
|
+
<span class="param-type">Boolean</span>
|
|
474
589
|
|
|
475
590
|
|
|
476
591
|
|
|
@@ -498,12 +613,7 @@
|
|
|
498
613
|
<td class="type">
|
|
499
614
|
|
|
500
615
|
|
|
501
|
-
<span class="param-type">
|
|
502
|
-
|
|
503
|
-
Cesium.ArcType
|
|
504
|
-
|
|
505
|
-
</span>
|
|
506
|
-
|
|
616
|
+
<span class="param-type">Cesium.ArcType</span>
|
|
507
617
|
|
|
508
618
|
|
|
509
619
|
|
|
@@ -694,52 +804,6 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
694
804
|
|
|
695
805
|
<div class='vertical-section'>
|
|
696
806
|
<h3 id='member'>成员变量</h3>
|
|
697
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
698
|
-
<div class="table-container">
|
|
699
|
-
<table class="params table">
|
|
700
|
-
<thead>
|
|
701
|
-
<tr>
|
|
702
|
-
<th>名称</th>
|
|
703
|
-
<th>类型</th>
|
|
704
|
-
<th>描述</th>
|
|
705
|
-
</tr>
|
|
706
|
-
</thead>
|
|
707
|
-
<tbody>
|
|
708
|
-
|
|
709
|
-
<tr class="deep-level-0">
|
|
710
|
-
<td class="name"><code><a href="#_indices">_indices</a></code></td>
|
|
711
|
-
<td class="name">
|
|
712
|
-
<code>
|
|
713
|
-
|
|
714
|
-
</code>
|
|
715
|
-
</td>
|
|
716
|
-
<td class="name"><code><p>feat:2106 河流覆盖物类型
|
|
717
|
-
传入自定义顶点indices
|
|
718
|
-
传入自定义UV坐标</p></code></td>
|
|
719
|
-
</tr>
|
|
720
|
-
|
|
721
|
-
<tr class="deep-level-0">
|
|
722
|
-
<td class="name"><code><a href="#packedLength">packedLength</a></code></td>
|
|
723
|
-
<td class="name">
|
|
724
|
-
<code>
|
|
725
|
-
|
|
726
|
-
<span class="param-type">
|
|
727
|
-
|
|
728
|
-
Number
|
|
729
|
-
|
|
730
|
-
</span>
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
</code>
|
|
735
|
-
</td>
|
|
736
|
-
<td class="name"><code><p>The number of elements used to pack the object into an array.</p></code></td>
|
|
737
|
-
</tr>
|
|
738
|
-
|
|
739
|
-
</tbody>
|
|
740
|
-
</table>
|
|
741
|
-
</div>
|
|
742
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
743
807
|
<div class="members">
|
|
744
808
|
|
|
745
809
|
<div class="member">
|
|
@@ -811,12 +875,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
811
875
|
<span class="method-parameter is-pulled-right">
|
|
812
876
|
<label>类型:</label>
|
|
813
877
|
|
|
814
|
-
<span class="param-type">
|
|
815
|
-
|
|
816
|
-
Number
|
|
817
|
-
|
|
818
|
-
</span>
|
|
819
|
-
|
|
878
|
+
<span class="param-type">Number</span>
|
|
820
879
|
|
|
821
880
|
|
|
822
881
|
</span>
|
|
@@ -888,120 +947,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
888
947
|
|
|
889
948
|
<div class='vertical-section'>
|
|
890
949
|
<h3 id='function'>方法</h3>
|
|
891
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
892
950
|
<div class="members">
|
|
893
|
-
<div class="table-container">
|
|
894
|
-
<table class="params table">
|
|
895
|
-
<thead>
|
|
896
|
-
<tr>
|
|
897
|
-
<th>名称</th>
|
|
898
|
-
<th>返回值类型</th>
|
|
899
|
-
<th>描述</th>
|
|
900
|
-
</tr>
|
|
901
|
-
</thead>
|
|
902
|
-
<tbody>
|
|
903
|
-
|
|
904
|
-
<tr class="deep-level-0">
|
|
905
|
-
<td class="name"><code><a href="#computeRectangle">computeRectangle</a></code></td>
|
|
906
|
-
<td class="name">
|
|
907
|
-
<code>
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
<span class="param-type">
|
|
911
|
-
|
|
912
|
-
Cesium.Rectangle
|
|
913
|
-
|
|
914
|
-
</span>
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
</code>
|
|
920
|
-
</td>
|
|
921
|
-
<td class="name"><code><p>Returns the bounding rectangle given the provided options</p></code></td>
|
|
922
|
-
</tr>
|
|
923
|
-
|
|
924
|
-
<tr class="deep-level-0">
|
|
925
|
-
<td class="name"><code><a href="#createGeometry">createGeometry</a></code></td>
|
|
926
|
-
<td class="name">
|
|
927
|
-
<code>
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
<span class="param-type">
|
|
931
|
-
|
|
932
|
-
Cesium.Geometry
|
|
933
|
-
|
|
934
|
-
</span>
|
|
935
|
-
|
|
|
936
|
-
|
|
937
|
-
<span class="param-type">
|
|
938
|
-
|
|
939
|
-
undefined
|
|
940
|
-
|
|
941
|
-
</span>
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
</code>
|
|
947
|
-
</td>
|
|
948
|
-
<td class="name"><code><p>Computes the geometric representation of a polygon, including its vertices, indices, and a bounding sphere.</p></code></td>
|
|
949
|
-
</tr>
|
|
950
|
-
|
|
951
|
-
<tr class="deep-level-0">
|
|
952
|
-
<td class="name"><code><a href="#fromPositions">fromPositions</a></code></td>
|
|
953
|
-
<td class="name">
|
|
954
|
-
<code>
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
<span class="param-type">
|
|
958
|
-
|
|
959
|
-
<a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
|
|
960
|
-
|
|
961
|
-
</span>
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
</code>
|
|
967
|
-
</td>
|
|
968
|
-
<td class="name"><code><p>A description of a polygon from an array of positions. Polygon geometry can be rendered with both <code>Primitive</code> and <code>GroundPrimitive</code>.</p></code></td>
|
|
969
|
-
</tr>
|
|
970
|
-
|
|
971
|
-
<tr class="deep-level-0">
|
|
972
|
-
<td class="name"><code><a href="#pack">pack</a></code></td>
|
|
973
|
-
<td class="name">
|
|
974
|
-
<code>
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
<span class="param-type">
|
|
978
|
-
|
|
979
|
-
Array.<Number>
|
|
980
|
-
|
|
981
|
-
</span>
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
</code>
|
|
987
|
-
</td>
|
|
988
|
-
<td class="name"><code><p>Stores the provided instance into the provided array.</p></code></td>
|
|
989
|
-
</tr>
|
|
990
|
-
|
|
991
|
-
<tr class="deep-level-0">
|
|
992
|
-
<td class="name"><code><a href="#unpack">unpack</a></code></td>
|
|
993
|
-
<td class="name">
|
|
994
|
-
<code>
|
|
995
|
-
|
|
996
|
-
</code>
|
|
997
|
-
</td>
|
|
998
|
-
<td class="name"><code><p>Retrieves an instance from a packed array.</p></code></td>
|
|
999
|
-
</tr>
|
|
1000
|
-
|
|
1001
|
-
</tbody>
|
|
1002
|
-
</table>
|
|
1003
|
-
</div>
|
|
1004
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
1005
951
|
|
|
1006
952
|
<div class="member">
|
|
1007
953
|
|
|
@@ -1014,7 +960,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1014
960
|
<span class='tag'>static</span>
|
|
1015
961
|
|
|
1016
962
|
|
|
1017
|
-
<span class="code-name"
|
|
963
|
+
<span class="code-name" style="font-size:30px">
|
|
1018
964
|
|
|
1019
965
|
computeRectangle<span class="signature">(options, result<span class="signature-attributes">opt</span>)</span>
|
|
1020
966
|
|
|
@@ -1036,7 +982,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1036
982
|
|
|
1037
983
|
|
|
1038
984
|
|
|
1039
|
-
<h4
|
|
985
|
+
<h4>参数:</h4>
|
|
1040
986
|
|
|
1041
987
|
<div class="table-container">
|
|
1042
988
|
<table class="params table">
|
|
@@ -1068,12 +1014,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1068
1014
|
<td class="type">
|
|
1069
1015
|
|
|
1070
1016
|
|
|
1071
|
-
<span class="param-type">
|
|
1072
|
-
|
|
1073
|
-
Object
|
|
1074
|
-
|
|
1075
|
-
</span>
|
|
1076
|
-
|
|
1017
|
+
<span class="param-type">Object</span>
|
|
1077
1018
|
|
|
1078
1019
|
|
|
1079
1020
|
|
|
@@ -1099,12 +1040,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1099
1040
|
<td class="type">
|
|
1100
1041
|
|
|
1101
1042
|
|
|
1102
|
-
<span class="param-type">
|
|
1103
|
-
|
|
1104
|
-
PolygonHierarchy
|
|
1105
|
-
|
|
1106
|
-
</span>
|
|
1107
|
-
|
|
1043
|
+
<span class="param-type">PolygonHierarchy</span>
|
|
1108
1044
|
|
|
1109
1045
|
|
|
1110
1046
|
|
|
@@ -1130,12 +1066,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1130
1066
|
<td class="type">
|
|
1131
1067
|
|
|
1132
1068
|
|
|
1133
|
-
<span class="param-type">
|
|
1134
|
-
|
|
1135
|
-
Number
|
|
1136
|
-
|
|
1137
|
-
</span>
|
|
1138
|
-
|
|
1069
|
+
<span class="param-type">Number</span>
|
|
1139
1070
|
|
|
1140
1071
|
|
|
1141
1072
|
|
|
@@ -1163,12 +1094,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1163
1094
|
<td class="type">
|
|
1164
1095
|
|
|
1165
1096
|
|
|
1166
|
-
<span class="param-type">
|
|
1167
|
-
|
|
1168
|
-
Cesium.ArcType
|
|
1169
|
-
|
|
1170
|
-
</span>
|
|
1171
|
-
|
|
1097
|
+
<span class="param-type">Cesium.ArcType</span>
|
|
1172
1098
|
|
|
1173
1099
|
|
|
1174
1100
|
|
|
@@ -1196,12 +1122,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1196
1122
|
<td class="type">
|
|
1197
1123
|
|
|
1198
1124
|
|
|
1199
|
-
<span class="param-type">
|
|
1200
|
-
|
|
1201
|
-
Cesium.Ellipsoid
|
|
1202
|
-
|
|
1203
|
-
</span>
|
|
1204
|
-
|
|
1125
|
+
<span class="param-type">Cesium.Ellipsoid</span>
|
|
1205
1126
|
|
|
1206
1127
|
|
|
1207
1128
|
|
|
@@ -1234,12 +1155,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1234
1155
|
<td class="type">
|
|
1235
1156
|
|
|
1236
1157
|
|
|
1237
|
-
<span class="param-type">
|
|
1238
|
-
|
|
1239
|
-
Cesium.Rectangle
|
|
1240
|
-
|
|
1241
|
-
</span>
|
|
1242
|
-
|
|
1158
|
+
<span class="param-type">Cesium.Rectangle</span>
|
|
1243
1159
|
|
|
1244
1160
|
|
|
1245
1161
|
|
|
@@ -1318,7 +1234,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1318
1234
|
|
|
1319
1235
|
|
|
1320
1236
|
<div class='columns method-parameter'>
|
|
1321
|
-
<div class="column is-2"><label
|
|
1237
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1322
1238
|
<div class="column is-10">
|
|
1323
1239
|
|
|
1324
1240
|
|
|
@@ -1331,12 +1247,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1331
1247
|
<div class='column is-5 has-text-left'>
|
|
1332
1248
|
<label>类型: </label>
|
|
1333
1249
|
|
|
1334
|
-
<span class="param-type">
|
|
1335
|
-
|
|
1336
|
-
Cesium.Rectangle
|
|
1337
|
-
|
|
1338
|
-
</span>
|
|
1339
|
-
|
|
1250
|
+
<span class="param-type">Cesium.Rectangle</span>
|
|
1340
1251
|
|
|
1341
1252
|
|
|
1342
1253
|
</div>
|
|
@@ -1365,7 +1276,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1365
1276
|
<span class='tag'>static</span>
|
|
1366
1277
|
|
|
1367
1278
|
|
|
1368
|
-
<span class="code-name"
|
|
1279
|
+
<span class="code-name" style="font-size:30px">
|
|
1369
1280
|
|
|
1370
1281
|
createGeometry<span class="signature">(polygonGeometry)</span>
|
|
1371
1282
|
|
|
@@ -1387,7 +1298,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1387
1298
|
|
|
1388
1299
|
|
|
1389
1300
|
|
|
1390
|
-
<h4
|
|
1301
|
+
<h4>参数:</h4>
|
|
1391
1302
|
|
|
1392
1303
|
<div class="table-container">
|
|
1393
1304
|
<table class="params table">
|
|
@@ -1417,12 +1328,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1417
1328
|
<td class="type">
|
|
1418
1329
|
|
|
1419
1330
|
|
|
1420
|
-
<span class="param-type">
|
|
1421
|
-
|
|
1422
|
-
<a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
|
|
1423
|
-
|
|
1424
|
-
</span>
|
|
1425
|
-
|
|
1331
|
+
<span class="param-type"><a class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a></span>
|
|
1426
1332
|
|
|
1427
1333
|
|
|
1428
1334
|
|
|
@@ -1497,7 +1403,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1497
1403
|
|
|
1498
1404
|
|
|
1499
1405
|
<div class='columns method-parameter'>
|
|
1500
|
-
<div class="column is-2"><label
|
|
1406
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1501
1407
|
<div class="column is-10">
|
|
1502
1408
|
|
|
1503
1409
|
|
|
@@ -1510,19 +1416,10 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1510
1416
|
<div class='column is-5 has-text-left'>
|
|
1511
1417
|
<label>类型: </label>
|
|
1512
1418
|
|
|
1513
|
-
<span class="param-type">
|
|
1514
|
-
|
|
1515
|
-
Cesium.Geometry
|
|
1516
|
-
|
|
1517
|
-
</span>
|
|
1419
|
+
<span class="param-type">Cesium.Geometry</span>
|
|
1518
1420
|
|
|
|
1519
1421
|
|
|
1520
|
-
<span class="param-type">
|
|
1521
|
-
|
|
1522
|
-
undefined
|
|
1523
|
-
|
|
1524
|
-
</span>
|
|
1525
|
-
|
|
1422
|
+
<span class="param-type">undefined</span>
|
|
1526
1423
|
|
|
1527
1424
|
|
|
1528
1425
|
</div>
|
|
@@ -1551,7 +1448,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1551
1448
|
<span class='tag'>static</span>
|
|
1552
1449
|
|
|
1553
1450
|
|
|
1554
|
-
<span class="code-name"
|
|
1451
|
+
<span class="code-name" style="font-size:30px">
|
|
1555
1452
|
|
|
1556
1453
|
fromPositions<span class="signature">(options)</span>
|
|
1557
1454
|
|
|
@@ -1573,7 +1470,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1573
1470
|
|
|
1574
1471
|
|
|
1575
1472
|
|
|
1576
|
-
<h4
|
|
1473
|
+
<h4>参数:</h4>
|
|
1577
1474
|
|
|
1578
1475
|
<div class="table-container">
|
|
1579
1476
|
<table class="params table">
|
|
@@ -1605,12 +1502,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1605
1502
|
<td class="type">
|
|
1606
1503
|
|
|
1607
1504
|
|
|
1608
|
-
<span class="param-type">
|
|
1609
|
-
|
|
1610
|
-
Object
|
|
1611
|
-
|
|
1612
|
-
</span>
|
|
1613
|
-
|
|
1505
|
+
<span class="param-type">Object</span>
|
|
1614
1506
|
|
|
1615
1507
|
|
|
1616
1508
|
|
|
@@ -1636,12 +1528,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1636
1528
|
<td class="type">
|
|
1637
1529
|
|
|
1638
1530
|
|
|
1639
|
-
<span class="param-type">
|
|
1640
|
-
|
|
1641
|
-
Array.<Cesium.Cartesian3>
|
|
1642
|
-
|
|
1643
|
-
</span>
|
|
1644
|
-
|
|
1531
|
+
<span class="param-type">Array.<Cesium.Cartesian3></span>
|
|
1645
1532
|
|
|
1646
1533
|
|
|
1647
1534
|
|
|
@@ -1667,12 +1554,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1667
1554
|
<td class="type">
|
|
1668
1555
|
|
|
1669
1556
|
|
|
1670
|
-
<span class="param-type">
|
|
1671
|
-
|
|
1672
|
-
Number
|
|
1673
|
-
|
|
1674
|
-
</span>
|
|
1675
|
-
|
|
1557
|
+
<span class="param-type">Number</span>
|
|
1676
1558
|
|
|
1677
1559
|
|
|
1678
1560
|
|
|
@@ -1700,12 +1582,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1700
1582
|
<td class="type">
|
|
1701
1583
|
|
|
1702
1584
|
|
|
1703
|
-
<span class="param-type">
|
|
1704
|
-
|
|
1705
|
-
Number
|
|
1706
|
-
|
|
1707
|
-
</span>
|
|
1708
|
-
|
|
1585
|
+
<span class="param-type">Number</span>
|
|
1709
1586
|
|
|
1710
1587
|
|
|
1711
1588
|
|
|
@@ -1731,12 +1608,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1731
1608
|
<td class="type">
|
|
1732
1609
|
|
|
1733
1610
|
|
|
1734
|
-
<span class="param-type">
|
|
1735
|
-
|
|
1736
|
-
Cesium.VertexFormat
|
|
1737
|
-
|
|
1738
|
-
</span>
|
|
1739
|
-
|
|
1611
|
+
<span class="param-type">Cesium.VertexFormat</span>
|
|
1740
1612
|
|
|
1741
1613
|
|
|
1742
1614
|
|
|
@@ -1764,12 +1636,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1764
1636
|
<td class="type">
|
|
1765
1637
|
|
|
1766
1638
|
|
|
1767
|
-
<span class="param-type">
|
|
1768
|
-
|
|
1769
|
-
Array.<Number>
|
|
1770
|
-
|
|
1771
|
-
</span>
|
|
1772
|
-
|
|
1639
|
+
<span class="param-type">Array.<Number></span>
|
|
1773
1640
|
|
|
1774
1641
|
|
|
1775
1642
|
|
|
@@ -1795,12 +1662,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1795
1662
|
<td class="type">
|
|
1796
1663
|
|
|
1797
1664
|
|
|
1798
|
-
<span class="param-type">
|
|
1799
|
-
|
|
1800
|
-
Float32Array
|
|
1801
|
-
|
|
1802
|
-
</span>
|
|
1803
|
-
|
|
1665
|
+
<span class="param-type">Float32Array</span>
|
|
1804
1666
|
|
|
1805
1667
|
|
|
1806
1668
|
|
|
@@ -1826,12 +1688,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1826
1688
|
<td class="type">
|
|
1827
1689
|
|
|
1828
1690
|
|
|
1829
|
-
<span class="param-type">
|
|
1830
|
-
|
|
1831
|
-
Number
|
|
1832
|
-
|
|
1833
|
-
</span>
|
|
1834
|
-
|
|
1691
|
+
<span class="param-type">Number</span>
|
|
1835
1692
|
|
|
1836
1693
|
|
|
1837
1694
|
|
|
@@ -1859,12 +1716,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1859
1716
|
<td class="type">
|
|
1860
1717
|
|
|
1861
1718
|
|
|
1862
|
-
<span class="param-type">
|
|
1863
|
-
|
|
1864
|
-
Cesium.Ellipsoid
|
|
1865
|
-
|
|
1866
|
-
</span>
|
|
1867
|
-
|
|
1719
|
+
<span class="param-type">Cesium.Ellipsoid</span>
|
|
1868
1720
|
|
|
1869
1721
|
|
|
1870
1722
|
|
|
@@ -1892,12 +1744,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1892
1744
|
<td class="type">
|
|
1893
1745
|
|
|
1894
1746
|
|
|
1895
|
-
<span class="param-type">
|
|
1896
|
-
|
|
1897
|
-
Number
|
|
1898
|
-
|
|
1899
|
-
</span>
|
|
1900
|
-
|
|
1747
|
+
<span class="param-type">Number</span>
|
|
1901
1748
|
|
|
1902
1749
|
|
|
1903
1750
|
|
|
@@ -1925,12 +1772,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1925
1772
|
<td class="type">
|
|
1926
1773
|
|
|
1927
1774
|
|
|
1928
|
-
<span class="param-type">
|
|
1929
|
-
|
|
1930
|
-
Boolean
|
|
1931
|
-
|
|
1932
|
-
</span>
|
|
1933
|
-
|
|
1775
|
+
<span class="param-type">Boolean</span>
|
|
1934
1776
|
|
|
1935
1777
|
|
|
1936
1778
|
|
|
@@ -1958,12 +1800,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1958
1800
|
<td class="type">
|
|
1959
1801
|
|
|
1960
1802
|
|
|
1961
|
-
<span class="param-type">
|
|
1962
|
-
|
|
1963
|
-
Boolean
|
|
1964
|
-
|
|
1965
|
-
</span>
|
|
1966
|
-
|
|
1803
|
+
<span class="param-type">Boolean</span>
|
|
1967
1804
|
|
|
1968
1805
|
|
|
1969
1806
|
|
|
@@ -1991,12 +1828,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
1991
1828
|
<td class="type">
|
|
1992
1829
|
|
|
1993
1830
|
|
|
1994
|
-
<span class="param-type">
|
|
1995
|
-
|
|
1996
|
-
Boolean
|
|
1997
|
-
|
|
1998
|
-
</span>
|
|
1999
|
-
|
|
1831
|
+
<span class="param-type">Boolean</span>
|
|
2000
1832
|
|
|
2001
1833
|
|
|
2002
1834
|
|
|
@@ -2024,12 +1856,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
2024
1856
|
<td class="type">
|
|
2025
1857
|
|
|
2026
1858
|
|
|
2027
|
-
<span class="param-type">
|
|
2028
|
-
|
|
2029
|
-
Cesium.ArcType
|
|
2030
|
-
|
|
2031
|
-
</span>
|
|
2032
|
-
|
|
1859
|
+
<span class="param-type">Cesium.ArcType</span>
|
|
2033
1860
|
|
|
2034
1861
|
|
|
2035
1862
|
|
|
@@ -2120,7 +1947,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
2120
1947
|
|
|
2121
1948
|
|
|
2122
1949
|
<div class='columns method-parameter'>
|
|
2123
|
-
<div class="column is-2"><label
|
|
1950
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2124
1951
|
<div class="column is-10">
|
|
2125
1952
|
|
|
2126
1953
|
|
|
@@ -2131,12 +1958,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(extrudedPolygon);</code></pre
|
|
|
2131
1958
|
<div class='column is-5 has-text-left'>
|
|
2132
1959
|
<label>类型: </label>
|
|
2133
1960
|
|
|
2134
|
-
<span class="param-type">
|
|
2135
|
-
|
|
2136
|
-
<a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
|
|
2137
|
-
|
|
2138
|
-
</span>
|
|
2139
|
-
|
|
1961
|
+
<span class="param-type"><a class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a></span>
|
|
2140
1962
|
|
|
2141
1963
|
|
|
2142
1964
|
</div>
|
|
@@ -2182,7 +2004,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2182
2004
|
<span class='tag'>static</span>
|
|
2183
2005
|
|
|
2184
2006
|
|
|
2185
|
-
<span class="code-name"
|
|
2007
|
+
<span class="code-name" style="font-size:30px">
|
|
2186
2008
|
|
|
2187
2009
|
pack<span class="signature">(value, array, startingIndex<span class="signature-attributes">opt</span>)</span>
|
|
2188
2010
|
|
|
@@ -2204,7 +2026,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2204
2026
|
|
|
2205
2027
|
|
|
2206
2028
|
|
|
2207
|
-
<h4
|
|
2029
|
+
<h4>参数:</h4>
|
|
2208
2030
|
|
|
2209
2031
|
<div class="table-container">
|
|
2210
2032
|
<table class="params table">
|
|
@@ -2236,12 +2058,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2236
2058
|
<td class="type">
|
|
2237
2059
|
|
|
2238
2060
|
|
|
2239
|
-
<span class="param-type">
|
|
2240
|
-
|
|
2241
|
-
<a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
|
|
2242
|
-
|
|
2243
|
-
</span>
|
|
2244
|
-
|
|
2061
|
+
<span class="param-type"><a class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a></span>
|
|
2245
2062
|
|
|
2246
2063
|
|
|
2247
2064
|
|
|
@@ -2269,12 +2086,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2269
2086
|
<td class="type">
|
|
2270
2087
|
|
|
2271
2088
|
|
|
2272
|
-
<span class="param-type">
|
|
2273
|
-
|
|
2274
|
-
Array.<Number>
|
|
2275
|
-
|
|
2276
|
-
</span>
|
|
2277
|
-
|
|
2089
|
+
<span class="param-type">Array.<Number></span>
|
|
2278
2090
|
|
|
2279
2091
|
|
|
2280
2092
|
|
|
@@ -2302,12 +2114,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2302
2114
|
<td class="type">
|
|
2303
2115
|
|
|
2304
2116
|
|
|
2305
|
-
<span class="param-type">
|
|
2306
|
-
|
|
2307
|
-
Number
|
|
2308
|
-
|
|
2309
|
-
</span>
|
|
2310
|
-
|
|
2117
|
+
<span class="param-type">Number</span>
|
|
2311
2118
|
|
|
2312
2119
|
|
|
2313
2120
|
|
|
@@ -2388,7 +2195,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2388
2195
|
|
|
2389
2196
|
|
|
2390
2197
|
<div class='columns method-parameter'>
|
|
2391
|
-
<div class="column is-2"><label
|
|
2198
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2392
2199
|
<div class="column is-10">
|
|
2393
2200
|
|
|
2394
2201
|
|
|
@@ -2401,12 +2208,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2401
2208
|
<div class='column is-5 has-text-left'>
|
|
2402
2209
|
<label>类型: </label>
|
|
2403
2210
|
|
|
2404
|
-
<span class="param-type">
|
|
2405
|
-
|
|
2406
|
-
Array.<Number>
|
|
2407
|
-
|
|
2408
|
-
</span>
|
|
2409
|
-
|
|
2211
|
+
<span class="param-type">Array.<Number></span>
|
|
2410
2212
|
|
|
2411
2213
|
|
|
2412
2214
|
</div>
|
|
@@ -2435,7 +2237,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2435
2237
|
<span class='tag'>static</span>
|
|
2436
2238
|
|
|
2437
2239
|
|
|
2438
|
-
<span class="code-name"
|
|
2240
|
+
<span class="code-name" style="font-size:30px">
|
|
2439
2241
|
|
|
2440
2242
|
unpack<span class="signature">(array, startingIndex<span class="signature-attributes">opt</span>, result<span class="signature-attributes">opt</span>)</span>
|
|
2441
2243
|
|
|
@@ -2457,7 +2259,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2457
2259
|
|
|
2458
2260
|
|
|
2459
2261
|
|
|
2460
|
-
<h4
|
|
2262
|
+
<h4>参数:</h4>
|
|
2461
2263
|
|
|
2462
2264
|
<div class="table-container">
|
|
2463
2265
|
<table class="params table">
|
|
@@ -2489,12 +2291,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2489
2291
|
<td class="type">
|
|
2490
2292
|
|
|
2491
2293
|
|
|
2492
|
-
<span class="param-type">
|
|
2493
|
-
|
|
2494
|
-
Array.<Number>
|
|
2495
|
-
|
|
2496
|
-
</span>
|
|
2497
|
-
|
|
2294
|
+
<span class="param-type">Array.<Number></span>
|
|
2498
2295
|
|
|
2499
2296
|
|
|
2500
2297
|
|
|
@@ -2522,12 +2319,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2522
2319
|
<td class="type">
|
|
2523
2320
|
|
|
2524
2321
|
|
|
2525
|
-
<span class="param-type">
|
|
2526
|
-
|
|
2527
|
-
Number
|
|
2528
|
-
|
|
2529
|
-
</span>
|
|
2530
|
-
|
|
2322
|
+
<span class="param-type">Number</span>
|
|
2531
2323
|
|
|
2532
2324
|
|
|
2533
2325
|
|
|
@@ -2557,12 +2349,7 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2557
2349
|
<td class="type">
|
|
2558
2350
|
|
|
2559
2351
|
|
|
2560
|
-
<span class="param-type">
|
|
2561
|
-
|
|
2562
|
-
<a link="RiverGeometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a>
|
|
2563
|
-
|
|
2564
|
-
</span>
|
|
2565
|
-
|
|
2352
|
+
<span class="param-type"><a class="mapgis-link-name" title="RiverGeometry" RiverGeometry.html>RiverGeometry</a></span>
|
|
2566
2353
|
|
|
2567
2354
|
|
|
2568
2355
|
|
|
@@ -2656,4 +2443,42 @@ var geometry = Cesium.RiverGeometry.createGeometry(polygon);</code></pre>
|
|
|
2656
2443
|
|
|
2657
2444
|
</article>
|
|
2658
2445
|
|
|
2659
|
-
</section>
|
|
2446
|
+
</section>
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
</div>
|
|
2452
|
+
|
|
2453
|
+
<footer class="footer">
|
|
2454
|
+
<div class="content has-text-centered">
|
|
2455
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
2456
|
+
<p class="sidebar-created-by">
|
|
2457
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
2458
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
2459
|
+
</p>
|
|
2460
|
+
</div>
|
|
2461
|
+
</footer>
|
|
2462
|
+
|
|
2463
|
+
</div>
|
|
2464
|
+
<div id="side-nav" class="side-nav">
|
|
2465
|
+
<div style="margin-bottom: 10px;">
|
|
2466
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
2467
|
+
</div>
|
|
2468
|
+
<div style="margin-bottom: 10px;">
|
|
2469
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
2470
|
+
</div>
|
|
2471
|
+
<div style="margin-bottom: 10px;">
|
|
2472
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
2473
|
+
</div>
|
|
2474
|
+
<div>
|
|
2475
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
2476
|
+
</div>
|
|
2477
|
+
</div>
|
|
2478
|
+
</div>
|
|
2479
|
+
<script src="scripts/linenumber.js"> </script>
|
|
2480
|
+
|
|
2481
|
+
<script src="scripts/search.js"> </script>
|
|
2482
|
+
|
|
2483
|
+
</body>
|
|
2484
|
+
</html>
|