@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> TerrainAnalyse</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">TerrainAnalyse</span>
|
|
186
|
+
</header>
|
|
187
|
+
|
|
8
188
|
|
|
9
189
|
|
|
10
190
|
|
|
@@ -25,7 +205,7 @@
|
|
|
25
205
|
<h4 class="name" id="TerrainAnalyse">
|
|
26
206
|
<a class="href-link" href="#TerrainAnalyse">#</a>
|
|
27
207
|
|
|
28
|
-
<span class="code-name"
|
|
208
|
+
<span class="code-name" style="font-size:30px">
|
|
29
209
|
|
|
30
210
|
new TerrainAnalyse<span class="signature">(viewer, options<span class="signature-attributes">opt</span>)</span>
|
|
31
211
|
|
|
@@ -43,7 +223,7 @@
|
|
|
43
223
|
|
|
44
224
|
|
|
45
225
|
|
|
46
|
-
<h4
|
|
226
|
+
<h4>参数:</h4>
|
|
47
227
|
|
|
48
228
|
<div class="table-container">
|
|
49
229
|
<table class="params table">
|
|
@@ -75,12 +255,7 @@
|
|
|
75
255
|
<td class="type">
|
|
76
256
|
|
|
77
257
|
|
|
78
|
-
<span class="param-type">
|
|
79
|
-
|
|
80
|
-
Viewer
|
|
81
|
-
|
|
82
|
-
</span>
|
|
83
|
-
|
|
258
|
+
<span class="param-type">Viewer</span>
|
|
84
259
|
|
|
85
260
|
|
|
86
261
|
|
|
@@ -108,12 +283,7 @@
|
|
|
108
283
|
<td class="type">
|
|
109
284
|
|
|
110
285
|
|
|
111
|
-
<span class="param-type">
|
|
112
|
-
|
|
113
|
-
Object
|
|
114
|
-
|
|
115
|
-
</span>
|
|
116
|
-
|
|
286
|
+
<span class="param-type">Object</span>
|
|
117
287
|
|
|
118
288
|
|
|
119
289
|
|
|
@@ -139,12 +309,7 @@
|
|
|
139
309
|
<td class="type">
|
|
140
310
|
|
|
141
311
|
|
|
142
|
-
<span class="param-type">
|
|
143
|
-
|
|
144
|
-
Cesium.Color
|
|
145
|
-
|
|
146
|
-
</span>
|
|
147
|
-
|
|
312
|
+
<span class="param-type">Cesium.Color</span>
|
|
148
313
|
|
|
149
314
|
|
|
150
315
|
|
|
@@ -172,12 +337,7 @@
|
|
|
172
337
|
<td class="type">
|
|
173
338
|
|
|
174
339
|
|
|
175
|
-
<span class="param-type">
|
|
176
|
-
|
|
177
|
-
Number
|
|
178
|
-
|
|
179
|
-
</span>
|
|
180
|
-
|
|
340
|
+
<span class="param-type">Number</span>
|
|
181
341
|
|
|
182
342
|
|
|
183
343
|
|
|
@@ -205,12 +365,7 @@
|
|
|
205
365
|
<td class="type">
|
|
206
366
|
|
|
207
367
|
|
|
208
|
-
<span class="param-type">
|
|
209
|
-
|
|
210
|
-
Number
|
|
211
|
-
|
|
212
|
-
</span>
|
|
213
|
-
|
|
368
|
+
<span class="param-type">Number</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
|
-
Boolean
|
|
244
|
-
|
|
245
|
-
</span>
|
|
246
|
-
|
|
396
|
+
<span class="param-type">Boolean</span>
|
|
247
397
|
|
|
248
398
|
|
|
249
399
|
|
|
@@ -271,12 +421,7 @@
|
|
|
271
421
|
<td class="type">
|
|
272
422
|
|
|
273
423
|
|
|
274
|
-
<span class="param-type">
|
|
275
|
-
|
|
276
|
-
Number
|
|
277
|
-
|
|
278
|
-
</span>
|
|
279
|
-
|
|
424
|
+
<span class="param-type">Number</span>
|
|
280
425
|
|
|
281
426
|
|
|
282
427
|
|
|
@@ -304,12 +449,7 @@
|
|
|
304
449
|
<td class="type">
|
|
305
450
|
|
|
306
451
|
|
|
307
|
-
<span class="param-type">
|
|
308
|
-
|
|
309
|
-
Number
|
|
310
|
-
|
|
311
|
-
</span>
|
|
312
|
-
|
|
452
|
+
<span class="param-type">Number</span>
|
|
313
453
|
|
|
314
454
|
|
|
315
455
|
|
|
@@ -337,12 +477,7 @@
|
|
|
337
477
|
<td class="type">
|
|
338
478
|
|
|
339
479
|
|
|
340
|
-
<span class="param-type">
|
|
341
|
-
|
|
342
|
-
array
|
|
343
|
-
|
|
344
|
-
</span>
|
|
345
|
-
|
|
480
|
+
<span class="param-type">array</span>
|
|
346
481
|
|
|
347
482
|
|
|
348
483
|
|
|
@@ -370,12 +505,7 @@
|
|
|
370
505
|
<td class="type">
|
|
371
506
|
|
|
372
507
|
|
|
373
|
-
<span class="param-type">
|
|
374
|
-
|
|
375
|
-
array
|
|
376
|
-
|
|
377
|
-
</span>
|
|
378
|
-
|
|
508
|
+
<span class="param-type">array</span>
|
|
379
509
|
|
|
380
510
|
|
|
381
511
|
|
|
@@ -401,12 +531,7 @@
|
|
|
401
531
|
<td class="type">
|
|
402
532
|
|
|
403
533
|
|
|
404
|
-
<span class="param-type">
|
|
405
|
-
|
|
406
|
-
array
|
|
407
|
-
|
|
408
|
-
</span>
|
|
409
|
-
|
|
534
|
+
<span class="param-type">array</span>
|
|
410
535
|
|
|
411
536
|
|
|
412
537
|
|
|
@@ -432,12 +557,7 @@
|
|
|
432
557
|
<td class="type">
|
|
433
558
|
|
|
434
559
|
|
|
435
|
-
<span class="param-type">
|
|
436
|
-
|
|
437
|
-
array
|
|
438
|
-
|
|
439
|
-
</span>
|
|
440
|
-
|
|
560
|
+
<span class="param-type">array</span>
|
|
441
561
|
|
|
442
562
|
|
|
443
563
|
|
|
@@ -463,12 +583,7 @@
|
|
|
463
583
|
<td class="type">
|
|
464
584
|
|
|
465
585
|
|
|
466
|
-
<span class="param-type">
|
|
467
|
-
|
|
468
|
-
array
|
|
469
|
-
|
|
470
|
-
</span>
|
|
471
|
-
|
|
586
|
+
<span class="param-type">array</span>
|
|
472
587
|
|
|
473
588
|
|
|
474
589
|
|
|
@@ -494,12 +609,7 @@
|
|
|
494
609
|
<td class="type">
|
|
495
610
|
|
|
496
611
|
|
|
497
|
-
<span class="param-type">
|
|
498
|
-
|
|
499
|
-
String
|
|
500
|
-
|
|
501
|
-
</span>
|
|
502
|
-
|
|
612
|
+
<span class="param-type">String</span>
|
|
503
613
|
|
|
504
614
|
|
|
505
615
|
|
|
@@ -641,173 +751,7 @@ terrainAnalyse.destroy();</code></pre>
|
|
|
641
751
|
|
|
642
752
|
<div class='vertical-section'>
|
|
643
753
|
<h3 id='function'>方法</h3>
|
|
644
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
645
754
|
<div class="members">
|
|
646
|
-
<div class="table-container">
|
|
647
|
-
<table class="params table">
|
|
648
|
-
<thead>
|
|
649
|
-
<tr>
|
|
650
|
-
<th>名称</th>
|
|
651
|
-
<th>返回值类型</th>
|
|
652
|
-
<th>描述</th>
|
|
653
|
-
</tr>
|
|
654
|
-
</thead>
|
|
655
|
-
<tbody>
|
|
656
|
-
|
|
657
|
-
<tr class="deep-level-0">
|
|
658
|
-
<td class="name"><code><a href="#calculateSlopeAndAspect">calculateSlopeAndAspect</a></code></td>
|
|
659
|
-
<td class="name">
|
|
660
|
-
<code>
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
<span class="param-type">
|
|
664
|
-
|
|
665
|
-
Object
|
|
666
|
-
|
|
667
|
-
</span>
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
</code>
|
|
673
|
-
</td>
|
|
674
|
-
<td class="name"><code><p>根据输入屏幕坐标查询坡度坡向值</p></code></td>
|
|
675
|
-
</tr>
|
|
676
|
-
|
|
677
|
-
<tr class="deep-level-0">
|
|
678
|
-
<td class="name"><code><a href="#changeAnalyseArea">changeAnalyseArea</a></code></td>
|
|
679
|
-
<td class="name">
|
|
680
|
-
<code>
|
|
681
|
-
|
|
682
|
-
</code>
|
|
683
|
-
</td>
|
|
684
|
-
<td class="name"><code><p>更新分析区域</p></code></td>
|
|
685
|
-
</tr>
|
|
686
|
-
|
|
687
|
-
<tr class="deep-level-0">
|
|
688
|
-
<td class="name"><code><a href="#changeArrowAspectRepeat">changeArrowAspectRepeat</a></code></td>
|
|
689
|
-
<td class="name">
|
|
690
|
-
<code>
|
|
691
|
-
|
|
692
|
-
</code>
|
|
693
|
-
</td>
|
|
694
|
-
<td class="name"><code><p>修改坡向箭头密度</p></code></td>
|
|
695
|
-
</tr>
|
|
696
|
-
|
|
697
|
-
<tr class="deep-level-0">
|
|
698
|
-
<td class="name"><code><a href="#changeColorTable">changeColorTable</a></code></td>
|
|
699
|
-
<td class="name">
|
|
700
|
-
<code>
|
|
701
|
-
|
|
702
|
-
</code>
|
|
703
|
-
</td>
|
|
704
|
-
<td class="name"><code><p>更新色表</p></code></td>
|
|
705
|
-
</tr>
|
|
706
|
-
|
|
707
|
-
<tr class="deep-level-0">
|
|
708
|
-
<td class="name"><code><a href="#changeColorTableDis">changeColorTableDis</a></code></td>
|
|
709
|
-
<td class="name">
|
|
710
|
-
<code>
|
|
711
|
-
|
|
712
|
-
</code>
|
|
713
|
-
</td>
|
|
714
|
-
<td class="name"><code><p>更新色表间距值</p></code></td>
|
|
715
|
-
</tr>
|
|
716
|
-
|
|
717
|
-
<tr class="deep-level-0">
|
|
718
|
-
<td class="name"><code><a href="#changeContours">changeContours</a></code></td>
|
|
719
|
-
<td class="name">
|
|
720
|
-
<code>
|
|
721
|
-
|
|
722
|
-
</code>
|
|
723
|
-
</td>
|
|
724
|
-
<td class="name"><code><p>修改等高线宽度,间距和颜色</p></code></td>
|
|
725
|
-
</tr>
|
|
726
|
-
|
|
727
|
-
<tr class="deep-level-0">
|
|
728
|
-
<td class="name"><code><a href="#destroy">destroy</a></code></td>
|
|
729
|
-
<td class="name">
|
|
730
|
-
<code>
|
|
731
|
-
|
|
732
|
-
</code>
|
|
733
|
-
</td>
|
|
734
|
-
<td class="name"><code><p>移除坡度坡向,等值面,等高线等分析结果</p></code></td>
|
|
735
|
-
</tr>
|
|
736
|
-
|
|
737
|
-
<tr class="deep-level-0">
|
|
738
|
-
<td class="name"><code><a href="#queryInfo">queryInfo</a></code></td>
|
|
739
|
-
<td class="name">
|
|
740
|
-
<code>
|
|
741
|
-
|
|
742
|
-
</code>
|
|
743
|
-
</td>
|
|
744
|
-
<td class="name"><code><p>右键点击查询坡度坡向值</p></code></td>
|
|
745
|
-
</tr>
|
|
746
|
-
|
|
747
|
-
<tr class="deep-level-0">
|
|
748
|
-
<td class="name"><code><a href="#removeQueryInfo">removeQueryInfo</a></code></td>
|
|
749
|
-
<td class="name">
|
|
750
|
-
<code>
|
|
751
|
-
|
|
752
|
-
</code>
|
|
753
|
-
</td>
|
|
754
|
-
<td class="name"><code><p>移除点击查询坡度坡向值事件</p></code></td>
|
|
755
|
-
</tr>
|
|
756
|
-
|
|
757
|
-
<tr class="deep-level-0">
|
|
758
|
-
<td class="name"><code><a href="#removeTerrainFlatten">removeTerrainFlatten</a></code></td>
|
|
759
|
-
<td class="name">
|
|
760
|
-
<code>
|
|
761
|
-
|
|
762
|
-
</code>
|
|
763
|
-
</td>
|
|
764
|
-
<td class="name"><code><p>移除地形压平</p></code></td>
|
|
765
|
-
</tr>
|
|
766
|
-
|
|
767
|
-
<tr class="deep-level-0">
|
|
768
|
-
<td class="name"><code><a href="#terrainFlatten">terrainFlatten</a></code></td>
|
|
769
|
-
<td class="name">
|
|
770
|
-
<code>
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
<span class="param-type">
|
|
774
|
-
|
|
775
|
-
Boolean
|
|
776
|
-
|
|
777
|
-
</span>
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
</code>
|
|
783
|
-
</td>
|
|
784
|
-
<td class="name"><code><p>地形压平</p></code></td>
|
|
785
|
-
</tr>
|
|
786
|
-
|
|
787
|
-
<tr class="deep-level-0">
|
|
788
|
-
<td class="name"><code><a href="#updateElevationBandMaterial">updateElevationBandMaterial</a></code></td>
|
|
789
|
-
<td class="name">
|
|
790
|
-
<code>
|
|
791
|
-
|
|
792
|
-
</code>
|
|
793
|
-
</td>
|
|
794
|
-
<td class="name"><code><p>开启地形等值面分析</p></code></td>
|
|
795
|
-
</tr>
|
|
796
|
-
|
|
797
|
-
<tr class="deep-level-0">
|
|
798
|
-
<td class="name"><code><a href="#updateMaterial">updateMaterial</a></code></td>
|
|
799
|
-
<td class="name">
|
|
800
|
-
<code>
|
|
801
|
-
|
|
802
|
-
</code>
|
|
803
|
-
</td>
|
|
804
|
-
<td class="name"><code><p>开启地形分析,坡度,坡向和等值线</p></code></td>
|
|
805
|
-
</tr>
|
|
806
|
-
|
|
807
|
-
</tbody>
|
|
808
|
-
</table>
|
|
809
|
-
</div>
|
|
810
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
811
755
|
|
|
812
756
|
<div class="member">
|
|
813
757
|
|
|
@@ -816,7 +760,7 @@ terrainAnalyse.destroy();</code></pre>
|
|
|
816
760
|
<h4 class="name" id="calculateSlopeAndAspect">
|
|
817
761
|
<a class="href-link" href="#calculateSlopeAndAspect">#</a>
|
|
818
762
|
|
|
819
|
-
<span class="code-name"
|
|
763
|
+
<span class="code-name" style="font-size:30px">
|
|
820
764
|
|
|
821
765
|
calculateSlopeAndAspect<span class="signature">(screenPoint)</span>
|
|
822
766
|
|
|
@@ -838,7 +782,7 @@ terrainAnalyse.destroy();</code></pre>
|
|
|
838
782
|
|
|
839
783
|
|
|
840
784
|
|
|
841
|
-
<h4
|
|
785
|
+
<h4>参数:</h4>
|
|
842
786
|
|
|
843
787
|
<div class="table-container">
|
|
844
788
|
<table class="params table">
|
|
@@ -868,12 +812,7 @@ terrainAnalyse.destroy();</code></pre>
|
|
|
868
812
|
<td class="type">
|
|
869
813
|
|
|
870
814
|
|
|
871
|
-
<span class="param-type">
|
|
872
|
-
|
|
873
|
-
Cesium.Cartesian2
|
|
874
|
-
|
|
875
|
-
</span>
|
|
876
|
-
|
|
815
|
+
<span class="param-type">Cesium.Cartesian2</span>
|
|
877
816
|
|
|
878
817
|
|
|
879
818
|
|
|
@@ -948,7 +887,7 @@ terrainAnalyse.destroy();</code></pre>
|
|
|
948
887
|
|
|
949
888
|
|
|
950
889
|
<div class='columns method-parameter'>
|
|
951
|
-
<div class="column is-2"><label
|
|
890
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
952
891
|
<div class="column is-10">
|
|
953
892
|
|
|
954
893
|
|
|
@@ -961,12 +900,7 @@ terrainAnalyse.destroy();</code></pre>
|
|
|
961
900
|
<div class='column is-5 has-text-left'>
|
|
962
901
|
<label>类型: </label>
|
|
963
902
|
|
|
964
|
-
<span class="param-type">
|
|
965
|
-
|
|
966
|
-
Object
|
|
967
|
-
|
|
968
|
-
</span>
|
|
969
|
-
|
|
903
|
+
<span class="param-type">Object</span>
|
|
970
904
|
|
|
971
905
|
|
|
972
906
|
</div>
|
|
@@ -1005,7 +939,7 @@ aspectDescription = result.aspectDescription</code></pre>
|
|
|
1005
939
|
<h4 class="name" id="changeAnalyseArea">
|
|
1006
940
|
<a class="href-link" href="#changeAnalyseArea">#</a>
|
|
1007
941
|
|
|
1008
|
-
<span class="code-name"
|
|
942
|
+
<span class="code-name" style="font-size:30px">
|
|
1009
943
|
|
|
1010
944
|
changeAnalyseArea<span class="signature">(positions)</span>
|
|
1011
945
|
|
|
@@ -1027,7 +961,7 @@ aspectDescription = result.aspectDescription</code></pre>
|
|
|
1027
961
|
|
|
1028
962
|
|
|
1029
963
|
|
|
1030
|
-
<h4
|
|
964
|
+
<h4>参数:</h4>
|
|
1031
965
|
|
|
1032
966
|
<div class="table-container">
|
|
1033
967
|
<table class="params table">
|
|
@@ -1057,12 +991,7 @@ aspectDescription = result.aspectDescription</code></pre>
|
|
|
1057
991
|
<td class="type">
|
|
1058
992
|
|
|
1059
993
|
|
|
1060
|
-
<span class="param-type">
|
|
1061
|
-
|
|
1062
|
-
Array
|
|
1063
|
-
|
|
1064
|
-
</span>
|
|
1065
|
-
|
|
994
|
+
<span class="param-type">Array</span>
|
|
1066
995
|
|
|
1067
996
|
|
|
1068
997
|
|
|
@@ -1157,7 +1086,7 @@ aspectDescription = result.aspectDescription</code></pre>
|
|
|
1157
1086
|
<h4 class="name" id="changeArrowAspectRepeat">
|
|
1158
1087
|
<a class="href-link" href="#changeArrowAspectRepeat">#</a>
|
|
1159
1088
|
|
|
1160
|
-
<span class="code-name"
|
|
1089
|
+
<span class="code-name" style="font-size:30px">
|
|
1161
1090
|
|
|
1162
1091
|
changeArrowAspectRepeat<span class="signature">(cartesian2)</span>
|
|
1163
1092
|
|
|
@@ -1179,7 +1108,7 @@ aspectDescription = result.aspectDescription</code></pre>
|
|
|
1179
1108
|
|
|
1180
1109
|
|
|
1181
1110
|
|
|
1182
|
-
<h4
|
|
1111
|
+
<h4>参数:</h4>
|
|
1183
1112
|
|
|
1184
1113
|
<div class="table-container">
|
|
1185
1114
|
<table class="params table">
|
|
@@ -1209,12 +1138,7 @@ aspectDescription = result.aspectDescription</code></pre>
|
|
|
1209
1138
|
<td class="type">
|
|
1210
1139
|
|
|
1211
1140
|
|
|
1212
|
-
<span class="param-type">
|
|
1213
|
-
|
|
1214
|
-
Cesium.Cartesian2
|
|
1215
|
-
|
|
1216
|
-
</span>
|
|
1217
|
-
|
|
1141
|
+
<span class="param-type">Cesium.Cartesian2</span>
|
|
1218
1142
|
|
|
1219
1143
|
|
|
1220
1144
|
|
|
@@ -1310,7 +1234,7 @@ changeArrowAspectRepeat(cartesian2);</code></pre>
|
|
|
1310
1234
|
<h4 class="name" id="changeColorTable">
|
|
1311
1235
|
<a class="href-link" href="#changeColorTable">#</a>
|
|
1312
1236
|
|
|
1313
|
-
<span class="code-name"
|
|
1237
|
+
<span class="code-name" style="font-size:30px">
|
|
1314
1238
|
|
|
1315
1239
|
changeColorTable<span class="signature">(colorTable, ShadingType)</span>
|
|
1316
1240
|
|
|
@@ -1332,7 +1256,7 @@ changeArrowAspectRepeat(cartesian2);</code></pre>
|
|
|
1332
1256
|
|
|
1333
1257
|
|
|
1334
1258
|
|
|
1335
|
-
<h4
|
|
1259
|
+
<h4>参数:</h4>
|
|
1336
1260
|
|
|
1337
1261
|
<div class="table-container">
|
|
1338
1262
|
<table class="params table">
|
|
@@ -1362,12 +1286,7 @@ changeArrowAspectRepeat(cartesian2);</code></pre>
|
|
|
1362
1286
|
<td class="type">
|
|
1363
1287
|
|
|
1364
1288
|
|
|
1365
|
-
<span class="param-type">
|
|
1366
|
-
|
|
1367
|
-
Array
|
|
1368
|
-
|
|
1369
|
-
</span>
|
|
1370
|
-
|
|
1289
|
+
<span class="param-type">Array</span>
|
|
1371
1290
|
|
|
1372
1291
|
|
|
1373
1292
|
|
|
@@ -1391,12 +1310,7 @@ changeArrowAspectRepeat(cartesian2);</code></pre>
|
|
|
1391
1310
|
<td class="type">
|
|
1392
1311
|
|
|
1393
1312
|
|
|
1394
|
-
<span class="param-type">
|
|
1395
|
-
|
|
1396
|
-
String
|
|
1397
|
-
|
|
1398
|
-
</span>
|
|
1399
|
-
|
|
1313
|
+
<span class="param-type">String</span>
|
|
1400
1314
|
|
|
1401
1315
|
|
|
1402
1316
|
|
|
@@ -1492,7 +1406,7 @@ terrainAnalyse.changeColorTable(defaultColor,'elevation');</code></pre>
|
|
|
1492
1406
|
<h4 class="name" id="changeColorTableDis">
|
|
1493
1407
|
<a class="href-link" href="#changeColorTableDis">#</a>
|
|
1494
1408
|
|
|
1495
|
-
<span class="code-name"
|
|
1409
|
+
<span class="code-name" style="font-size:30px">
|
|
1496
1410
|
|
|
1497
1411
|
changeColorTableDis<span class="signature">(colorTableDis, ShadingType)</span>
|
|
1498
1412
|
|
|
@@ -1514,7 +1428,7 @@ terrainAnalyse.changeColorTable(defaultColor,'elevation');</code></pre>
|
|
|
1514
1428
|
|
|
1515
1429
|
|
|
1516
1430
|
|
|
1517
|
-
<h4
|
|
1431
|
+
<h4>参数:</h4>
|
|
1518
1432
|
|
|
1519
1433
|
<div class="table-container">
|
|
1520
1434
|
<table class="params table">
|
|
@@ -1544,12 +1458,7 @@ terrainAnalyse.changeColorTable(defaultColor,'elevation');</code></pre>
|
|
|
1544
1458
|
<td class="type">
|
|
1545
1459
|
|
|
1546
1460
|
|
|
1547
|
-
<span class="param-type">
|
|
1548
|
-
|
|
1549
|
-
Array
|
|
1550
|
-
|
|
1551
|
-
</span>
|
|
1552
|
-
|
|
1461
|
+
<span class="param-type">Array</span>
|
|
1553
1462
|
|
|
1554
1463
|
|
|
1555
1464
|
|
|
@@ -1573,12 +1482,7 @@ terrainAnalyse.changeColorTable(defaultColor,'elevation');</code></pre>
|
|
|
1573
1482
|
<td class="type">
|
|
1574
1483
|
|
|
1575
1484
|
|
|
1576
|
-
<span class="param-type">
|
|
1577
|
-
|
|
1578
|
-
String
|
|
1579
|
-
|
|
1580
|
-
</span>
|
|
1581
|
-
|
|
1485
|
+
<span class="param-type">String</span>
|
|
1582
1486
|
|
|
1583
1487
|
|
|
1584
1488
|
|
|
@@ -1674,7 +1578,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1674
1578
|
<h4 class="name" id="changeContours">
|
|
1675
1579
|
<a class="href-link" href="#changeContours">#</a>
|
|
1676
1580
|
|
|
1677
|
-
<span class="code-name"
|
|
1581
|
+
<span class="code-name" style="font-size:30px">
|
|
1678
1582
|
|
|
1679
1583
|
changeContours<span class="signature">(ContourSpacing, ContourWidth, ContourColor)</span>
|
|
1680
1584
|
|
|
@@ -1696,7 +1600,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1696
1600
|
|
|
1697
1601
|
|
|
1698
1602
|
|
|
1699
|
-
<h4
|
|
1603
|
+
<h4>参数:</h4>
|
|
1700
1604
|
|
|
1701
1605
|
<div class="table-container">
|
|
1702
1606
|
<table class="params table">
|
|
@@ -1726,12 +1630,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1726
1630
|
<td class="type">
|
|
1727
1631
|
|
|
1728
1632
|
|
|
1729
|
-
<span class="param-type">
|
|
1730
|
-
|
|
1731
|
-
Number
|
|
1732
|
-
|
|
1733
|
-
</span>
|
|
1734
|
-
|
|
1633
|
+
<span class="param-type">Number</span>
|
|
1735
1634
|
|
|
1736
1635
|
|
|
1737
1636
|
|
|
@@ -1755,12 +1654,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1755
1654
|
<td class="type">
|
|
1756
1655
|
|
|
1757
1656
|
|
|
1758
|
-
<span class="param-type">
|
|
1759
|
-
|
|
1760
|
-
Number
|
|
1761
|
-
|
|
1762
|
-
</span>
|
|
1763
|
-
|
|
1657
|
+
<span class="param-type">Number</span>
|
|
1764
1658
|
|
|
1765
1659
|
|
|
1766
1660
|
|
|
@@ -1784,12 +1678,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1784
1678
|
<td class="type">
|
|
1785
1679
|
|
|
1786
1680
|
|
|
1787
|
-
<span class="param-type">
|
|
1788
|
-
|
|
1789
|
-
Cesium.Color
|
|
1790
|
-
|
|
1791
|
-
</span>
|
|
1792
|
-
|
|
1681
|
+
<span class="param-type">Cesium.Color</span>
|
|
1793
1682
|
|
|
1794
1683
|
|
|
1795
1684
|
|
|
@@ -1877,7 +1766,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1877
1766
|
<h4 class="name" id="destroy">
|
|
1878
1767
|
<a class="href-link" href="#destroy">#</a>
|
|
1879
1768
|
|
|
1880
|
-
<span class="code-name"
|
|
1769
|
+
<span class="code-name" style="font-size:30px">
|
|
1881
1770
|
|
|
1882
1771
|
destroy<span class="signature">()</span>
|
|
1883
1772
|
|
|
@@ -1968,7 +1857,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1968
1857
|
<h4 class="name" id="queryInfo">
|
|
1969
1858
|
<a class="href-link" href="#queryInfo">#</a>
|
|
1970
1859
|
|
|
1971
|
-
<span class="code-name"
|
|
1860
|
+
<span class="code-name" style="font-size:30px">
|
|
1972
1861
|
|
|
1973
1862
|
queryInfo<span class="signature">(getResult)</span>
|
|
1974
1863
|
|
|
@@ -1990,7 +1879,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
1990
1879
|
|
|
1991
1880
|
|
|
1992
1881
|
|
|
1993
|
-
<h4
|
|
1882
|
+
<h4>参数:</h4>
|
|
1994
1883
|
|
|
1995
1884
|
<div class="table-container">
|
|
1996
1885
|
<table class="params table">
|
|
@@ -2020,12 +1909,7 @@ terrainAnalyse.changeColorTableDis(defaultColor,'elevation');</code></pre>
|
|
|
2020
1909
|
<td class="type">
|
|
2021
1910
|
|
|
2022
1911
|
|
|
2023
|
-
<span class="param-type">
|
|
2024
|
-
|
|
2025
|
-
function
|
|
2026
|
-
|
|
2027
|
-
</span>
|
|
2028
|
-
|
|
1912
|
+
<span class="param-type">function</span>
|
|
2029
1913
|
|
|
2030
1914
|
|
|
2031
1915
|
|
|
@@ -2122,7 +2006,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2122
2006
|
<h4 class="name" id="removeQueryInfo">
|
|
2123
2007
|
<a class="href-link" href="#removeQueryInfo">#</a>
|
|
2124
2008
|
|
|
2125
|
-
<span class="code-name"
|
|
2009
|
+
<span class="code-name" style="font-size:30px">
|
|
2126
2010
|
|
|
2127
2011
|
removeQueryInfo<span class="signature">()</span>
|
|
2128
2012
|
|
|
@@ -2213,7 +2097,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2213
2097
|
<h4 class="name" id="removeTerrainFlatten">
|
|
2214
2098
|
<a class="href-link" href="#removeTerrainFlatten">#</a>
|
|
2215
2099
|
|
|
2216
|
-
<span class="code-name"
|
|
2100
|
+
<span class="code-name" style="font-size:30px">
|
|
2217
2101
|
|
|
2218
2102
|
removeTerrainFlatten<span class="signature">()</span>
|
|
2219
2103
|
|
|
@@ -2304,7 +2188,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2304
2188
|
<h4 class="name" id="terrainFlatten">
|
|
2305
2189
|
<a class="href-link" href="#terrainFlatten">#</a>
|
|
2306
2190
|
|
|
2307
|
-
<span class="code-name"
|
|
2191
|
+
<span class="code-name" style="font-size:30px">
|
|
2308
2192
|
|
|
2309
2193
|
terrainFlatten<span class="signature">(positions, flattenHeight)</span>
|
|
2310
2194
|
|
|
@@ -2326,7 +2210,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2326
2210
|
|
|
2327
2211
|
|
|
2328
2212
|
|
|
2329
|
-
<h4
|
|
2213
|
+
<h4>参数:</h4>
|
|
2330
2214
|
|
|
2331
2215
|
<div class="table-container">
|
|
2332
2216
|
<table class="params table">
|
|
@@ -2356,12 +2240,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2356
2240
|
<td class="type">
|
|
2357
2241
|
|
|
2358
2242
|
|
|
2359
|
-
<span class="param-type">
|
|
2360
|
-
|
|
2361
|
-
Array
|
|
2362
|
-
|
|
2363
|
-
</span>
|
|
2364
|
-
|
|
2243
|
+
<span class="param-type">Array</span>
|
|
2365
2244
|
|
|
2366
2245
|
|
|
2367
2246
|
|
|
@@ -2385,12 +2264,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2385
2264
|
<td class="type">
|
|
2386
2265
|
|
|
2387
2266
|
|
|
2388
|
-
<span class="param-type">
|
|
2389
|
-
|
|
2390
|
-
Number
|
|
2391
|
-
|
|
2392
|
-
</span>
|
|
2393
|
-
|
|
2267
|
+
<span class="param-type">Number</span>
|
|
2394
2268
|
|
|
2395
2269
|
|
|
2396
2270
|
|
|
@@ -2465,7 +2339,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2465
2339
|
|
|
2466
2340
|
|
|
2467
2341
|
<div class='columns method-parameter'>
|
|
2468
|
-
<div class="column is-2"><label
|
|
2342
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2469
2343
|
<div class="column is-10">
|
|
2470
2344
|
|
|
2471
2345
|
|
|
@@ -2478,12 +2352,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2478
2352
|
<div class='column is-5 has-text-left'>
|
|
2479
2353
|
<label>类型: </label>
|
|
2480
2354
|
|
|
2481
|
-
<span class="param-type">
|
|
2482
|
-
|
|
2483
|
-
Boolean
|
|
2484
|
-
|
|
2485
|
-
</span>
|
|
2486
|
-
|
|
2355
|
+
<span class="param-type">Boolean</span>
|
|
2487
2356
|
|
|
2488
2357
|
|
|
2489
2358
|
</div>
|
|
@@ -2508,7 +2377,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2508
2377
|
<h4 class="name" id="updateElevationBandMaterial">
|
|
2509
2378
|
<a class="href-link" href="#updateElevationBandMaterial">#</a>
|
|
2510
2379
|
|
|
2511
|
-
<span class="code-name"
|
|
2380
|
+
<span class="code-name" style="font-size:30px">
|
|
2512
2381
|
|
|
2513
2382
|
updateElevationBandMaterial<span class="signature">(bandPositions, gradient, bandThickness, bandTransparency, backgroundTransparency, colorsArray)</span>
|
|
2514
2383
|
|
|
@@ -2530,7 +2399,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2530
2399
|
|
|
2531
2400
|
|
|
2532
2401
|
|
|
2533
|
-
<h4
|
|
2402
|
+
<h4>参数:</h4>
|
|
2534
2403
|
|
|
2535
2404
|
<div class="table-container">
|
|
2536
2405
|
<table class="params table">
|
|
@@ -2560,12 +2429,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2560
2429
|
<td class="type">
|
|
2561
2430
|
|
|
2562
2431
|
|
|
2563
|
-
<span class="param-type">
|
|
2564
|
-
|
|
2565
|
-
Array
|
|
2566
|
-
|
|
2567
|
-
</span>
|
|
2568
|
-
|
|
2432
|
+
<span class="param-type">Array</span>
|
|
2569
2433
|
|
|
2570
2434
|
|
|
2571
2435
|
|
|
@@ -2589,12 +2453,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2589
2453
|
<td class="type">
|
|
2590
2454
|
|
|
2591
2455
|
|
|
2592
|
-
<span class="param-type">
|
|
2593
|
-
|
|
2594
|
-
Boolean
|
|
2595
|
-
|
|
2596
|
-
</span>
|
|
2597
|
-
|
|
2456
|
+
<span class="param-type">Boolean</span>
|
|
2598
2457
|
|
|
2599
2458
|
|
|
2600
2459
|
|
|
@@ -2618,12 +2477,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2618
2477
|
<td class="type">
|
|
2619
2478
|
|
|
2620
2479
|
|
|
2621
|
-
<span class="param-type">
|
|
2622
|
-
|
|
2623
|
-
Number
|
|
2624
|
-
|
|
2625
|
-
</span>
|
|
2626
|
-
|
|
2480
|
+
<span class="param-type">Number</span>
|
|
2627
2481
|
|
|
2628
2482
|
|
|
2629
2483
|
|
|
@@ -2647,12 +2501,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2647
2501
|
<td class="type">
|
|
2648
2502
|
|
|
2649
2503
|
|
|
2650
|
-
<span class="param-type">
|
|
2651
|
-
|
|
2652
|
-
Number
|
|
2653
|
-
|
|
2654
|
-
</span>
|
|
2655
|
-
|
|
2504
|
+
<span class="param-type">Number</span>
|
|
2656
2505
|
|
|
2657
2506
|
|
|
2658
2507
|
|
|
@@ -2676,12 +2525,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2676
2525
|
<td class="type">
|
|
2677
2526
|
|
|
2678
2527
|
|
|
2679
|
-
<span class="param-type">
|
|
2680
|
-
|
|
2681
|
-
Number
|
|
2682
|
-
|
|
2683
|
-
</span>
|
|
2684
|
-
|
|
2528
|
+
<span class="param-type">Number</span>
|
|
2685
2529
|
|
|
2686
2530
|
|
|
2687
2531
|
|
|
@@ -2705,12 +2549,7 @@ terrainAnalyse.queryInfo(getResult);</code></pre>
|
|
|
2705
2549
|
<td class="type">
|
|
2706
2550
|
|
|
2707
2551
|
|
|
2708
|
-
<span class="param-type">
|
|
2709
|
-
|
|
2710
|
-
Array
|
|
2711
|
-
|
|
2712
|
-
</span>
|
|
2713
|
-
|
|
2552
|
+
<span class="param-type">Array</span>
|
|
2714
2553
|
|
|
2715
2554
|
|
|
2716
2555
|
|
|
@@ -2809,7 +2648,7 @@ terrainAnalyse.updateElevationBandMaterial(bandPositions,false,100,1.0,0.0,color
|
|
|
2809
2648
|
<h4 class="name" id="updateMaterial">
|
|
2810
2649
|
<a class="href-link" href="#updateMaterial">#</a>
|
|
2811
2650
|
|
|
2812
|
-
<span class="code-name"
|
|
2651
|
+
<span class="code-name" style="font-size:30px">
|
|
2813
2652
|
|
|
2814
2653
|
updateMaterial<span class="signature">(selectedShading)</span>
|
|
2815
2654
|
|
|
@@ -2831,7 +2670,7 @@ terrainAnalyse.updateElevationBandMaterial(bandPositions,false,100,1.0,0.0,color
|
|
|
2831
2670
|
|
|
2832
2671
|
|
|
2833
2672
|
|
|
2834
|
-
<h4
|
|
2673
|
+
<h4>参数:</h4>
|
|
2835
2674
|
|
|
2836
2675
|
<div class="table-container">
|
|
2837
2676
|
<table class="params table">
|
|
@@ -2861,12 +2700,7 @@ terrainAnalyse.updateElevationBandMaterial(bandPositions,false,100,1.0,0.0,color
|
|
|
2861
2700
|
<td class="type">
|
|
2862
2701
|
|
|
2863
2702
|
|
|
2864
|
-
<span class="param-type">
|
|
2865
|
-
|
|
2866
|
-
String
|
|
2867
|
-
|
|
2868
|
-
</span>
|
|
2869
|
-
|
|
2703
|
+
<span class="param-type">String</span>
|
|
2870
2704
|
|
|
2871
2705
|
|
|
2872
2706
|
|
|
@@ -2963,4 +2797,42 @@ terrainAnalyse.updateElevationBandMaterial(bandPositions,false,100,1.0,0.0,color
|
|
|
2963
2797
|
|
|
2964
2798
|
</article>
|
|
2965
2799
|
|
|
2966
|
-
</section>
|
|
2800
|
+
</section>
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
</div>
|
|
2806
|
+
|
|
2807
|
+
<footer class="footer">
|
|
2808
|
+
<div class="content has-text-centered">
|
|
2809
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
2810
|
+
<p class="sidebar-created-by">
|
|
2811
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
2812
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
2813
|
+
</p>
|
|
2814
|
+
</div>
|
|
2815
|
+
</footer>
|
|
2816
|
+
|
|
2817
|
+
</div>
|
|
2818
|
+
<div id="side-nav" class="side-nav">
|
|
2819
|
+
<div style="margin-bottom: 10px;">
|
|
2820
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
2821
|
+
</div>
|
|
2822
|
+
<div style="margin-bottom: 10px;">
|
|
2823
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
2824
|
+
</div>
|
|
2825
|
+
<div style="margin-bottom: 10px;">
|
|
2826
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
2827
|
+
</div>
|
|
2828
|
+
<div>
|
|
2829
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
2830
|
+
</div>
|
|
2831
|
+
</div>
|
|
2832
|
+
</div>
|
|
2833
|
+
<script src="scripts/linenumber.js"> </script>
|
|
2834
|
+
|
|
2835
|
+
<script src="scripts/search.js"> </script>
|
|
2836
|
+
|
|
2837
|
+
</body>
|
|
2838
|
+
</html>
|