@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> AnimationTool</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">AnimationTool</span>
|
|
186
|
+
</header>
|
|
187
|
+
|
|
8
188
|
|
|
9
189
|
|
|
10
190
|
|
|
@@ -25,7 +205,7 @@
|
|
|
25
205
|
<h4 class="name" id="AnimationTool">
|
|
26
206
|
<a class="href-link" href="#AnimationTool">#</a>
|
|
27
207
|
|
|
28
|
-
<span class="code-name"
|
|
208
|
+
<span class="code-name" style="font-size:30px">
|
|
29
209
|
|
|
30
210
|
new AnimationTool<span class="signature">(viewer<span class="signature-attributes">opt</span>, options<span class="signature-attributes">opt</span>)</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
|
-
<a link="Cesium.Viewer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Cesium.Viewer" Cesium.Viewer.html>Cesium.Viewer</a>
|
|
85
|
-
|
|
86
|
-
</span>
|
|
87
|
-
|
|
262
|
+
<span class="param-type"><a class="mapgis-link-name" title="Cesium.Viewer" Cesium.Viewer.html>Cesium.Viewer</a></span>
|
|
88
263
|
|
|
89
264
|
|
|
90
265
|
|
|
@@ -114,12 +289,7 @@
|
|
|
114
289
|
<td class="type">
|
|
115
290
|
|
|
116
291
|
|
|
117
|
-
<span class="param-type">
|
|
118
|
-
|
|
119
|
-
Object
|
|
120
|
-
|
|
121
|
-
</span>
|
|
122
|
-
|
|
292
|
+
<span class="param-type">Object</span>
|
|
123
293
|
|
|
124
294
|
|
|
125
295
|
|
|
@@ -147,12 +317,7 @@
|
|
|
147
317
|
<td class="type">
|
|
148
318
|
|
|
149
319
|
|
|
150
|
-
<span class="param-type">
|
|
151
|
-
|
|
152
|
-
String
|
|
153
|
-
|
|
154
|
-
</span>
|
|
155
|
-
|
|
320
|
+
<span class="param-type">String</span>
|
|
156
321
|
|
|
157
322
|
|
|
158
323
|
|
|
@@ -180,12 +345,7 @@
|
|
|
180
345
|
<td class="type">
|
|
181
346
|
|
|
182
347
|
|
|
183
|
-
<span class="param-type">
|
|
184
|
-
|
|
185
|
-
Number
|
|
186
|
-
|
|
187
|
-
</span>
|
|
188
|
-
|
|
348
|
+
<span class="param-type">Number</span>
|
|
189
349
|
|
|
190
350
|
|
|
191
351
|
|
|
@@ -213,12 +373,7 @@
|
|
|
213
373
|
<td class="type">
|
|
214
374
|
|
|
215
375
|
|
|
216
|
-
<span class="param-type">
|
|
217
|
-
|
|
218
|
-
Number
|
|
219
|
-
|
|
220
|
-
</span>
|
|
221
|
-
|
|
376
|
+
<span class="param-type">Number</span>
|
|
222
377
|
|
|
223
378
|
|
|
224
379
|
|
|
@@ -246,12 +401,7 @@
|
|
|
246
401
|
<td class="type">
|
|
247
402
|
|
|
248
403
|
|
|
249
|
-
<span class="param-type">
|
|
250
|
-
|
|
251
|
-
Number
|
|
252
|
-
|
|
253
|
-
</span>
|
|
254
|
-
|
|
404
|
+
<span class="param-type">Number</span>
|
|
255
405
|
|
|
256
406
|
|
|
257
407
|
|
|
@@ -279,12 +429,7 @@
|
|
|
279
429
|
<td class="type">
|
|
280
430
|
|
|
281
431
|
|
|
282
|
-
<span class="param-type">
|
|
283
|
-
|
|
284
|
-
Number
|
|
285
|
-
|
|
286
|
-
</span>
|
|
287
|
-
|
|
432
|
+
<span class="param-type">Number</span>
|
|
288
433
|
|
|
289
434
|
|
|
290
435
|
|
|
@@ -312,12 +457,7 @@
|
|
|
312
457
|
<td class="type">
|
|
313
458
|
|
|
314
459
|
|
|
315
|
-
<span class="param-type">
|
|
316
|
-
|
|
317
|
-
Number
|
|
318
|
-
|
|
319
|
-
</span>
|
|
320
|
-
|
|
460
|
+
<span class="param-type">Number</span>
|
|
321
461
|
|
|
322
462
|
|
|
323
463
|
|
|
@@ -345,12 +485,7 @@
|
|
|
345
485
|
<td class="type">
|
|
346
486
|
|
|
347
487
|
|
|
348
|
-
<span class="param-type">
|
|
349
|
-
|
|
350
|
-
Number
|
|
351
|
-
|
|
352
|
-
</span>
|
|
353
|
-
|
|
488
|
+
<span class="param-type">Number</span>
|
|
354
489
|
|
|
355
490
|
|
|
356
491
|
|
|
@@ -378,12 +513,7 @@
|
|
|
378
513
|
<td class="type">
|
|
379
514
|
|
|
380
515
|
|
|
381
|
-
<span class="param-type">
|
|
382
|
-
|
|
383
|
-
Number
|
|
384
|
-
|
|
385
|
-
</span>
|
|
386
|
-
|
|
516
|
+
<span class="param-type">Number</span>
|
|
387
517
|
|
|
388
518
|
|
|
389
519
|
|
|
@@ -411,12 +541,7 @@
|
|
|
411
541
|
<td class="type">
|
|
412
542
|
|
|
413
543
|
|
|
414
|
-
<span class="param-type">
|
|
415
|
-
|
|
416
|
-
Boolean
|
|
417
|
-
|
|
418
|
-
</span>
|
|
419
|
-
|
|
544
|
+
<span class="param-type">Boolean</span>
|
|
420
545
|
|
|
421
546
|
|
|
422
547
|
|
|
@@ -444,12 +569,7 @@
|
|
|
444
569
|
<td class="type">
|
|
445
570
|
|
|
446
571
|
|
|
447
|
-
<span class="param-type">
|
|
448
|
-
|
|
449
|
-
Boolean
|
|
450
|
-
|
|
451
|
-
</span>
|
|
452
|
-
|
|
572
|
+
<span class="param-type">Boolean</span>
|
|
453
573
|
|
|
454
574
|
|
|
455
575
|
|
|
@@ -477,12 +597,7 @@
|
|
|
477
597
|
<td class="type">
|
|
478
598
|
|
|
479
599
|
|
|
480
|
-
<span class="param-type">
|
|
481
|
-
|
|
482
|
-
Array
|
|
483
|
-
|
|
484
|
-
</span>
|
|
485
|
-
|
|
600
|
+
<span class="param-type">Array</span>
|
|
486
601
|
|
|
487
602
|
|
|
488
603
|
|
|
@@ -508,12 +623,7 @@
|
|
|
508
623
|
<td class="type">
|
|
509
624
|
|
|
510
625
|
|
|
511
|
-
<span class="param-type">
|
|
512
|
-
|
|
513
|
-
Number
|
|
514
|
-
|
|
515
|
-
</span>
|
|
516
|
-
|
|
626
|
+
<span class="param-type">Number</span>
|
|
517
627
|
|
|
518
628
|
|
|
519
629
|
|
|
@@ -542,12 +652,7 @@
|
|
|
542
652
|
<td class="type">
|
|
543
653
|
|
|
544
654
|
|
|
545
|
-
<span class="param-type">
|
|
546
|
-
|
|
547
|
-
Number
|
|
548
|
-
|
|
549
|
-
</span>
|
|
550
|
-
|
|
655
|
+
<span class="param-type">Number</span>
|
|
551
656
|
|
|
552
657
|
|
|
553
658
|
|
|
@@ -575,12 +680,7 @@
|
|
|
575
680
|
<td class="type">
|
|
576
681
|
|
|
577
682
|
|
|
578
|
-
<span class="param-type">
|
|
579
|
-
|
|
580
|
-
Number
|
|
581
|
-
|
|
582
|
-
</span>
|
|
583
|
-
|
|
683
|
+
<span class="param-type">Number</span>
|
|
584
684
|
|
|
585
685
|
|
|
586
686
|
|
|
@@ -608,12 +708,7 @@
|
|
|
608
708
|
<td class="type">
|
|
609
709
|
|
|
610
710
|
|
|
611
|
-
<span class="param-type">
|
|
612
|
-
|
|
613
|
-
Boolean
|
|
614
|
-
|
|
615
|
-
</span>
|
|
616
|
-
|
|
711
|
+
<span class="param-type">Boolean</span>
|
|
617
712
|
|
|
618
713
|
|
|
619
714
|
|
|
@@ -641,12 +736,7 @@
|
|
|
641
736
|
<td class="type">
|
|
642
737
|
|
|
643
738
|
|
|
644
|
-
<span class="param-type">
|
|
645
|
-
|
|
646
|
-
Object
|
|
647
|
-
|
|
648
|
-
</span>
|
|
649
|
-
|
|
739
|
+
<span class="param-type">Object</span>
|
|
650
740
|
|
|
651
741
|
|
|
652
742
|
|
|
@@ -672,12 +762,7 @@
|
|
|
672
762
|
<td class="type">
|
|
673
763
|
|
|
674
764
|
|
|
675
|
-
<span class="param-type">
|
|
676
|
-
|
|
677
|
-
Object
|
|
678
|
-
|
|
679
|
-
</span>
|
|
680
|
-
|
|
765
|
+
<span class="param-type">Object</span>
|
|
681
766
|
|
|
682
767
|
|
|
683
768
|
|
|
@@ -703,12 +788,7 @@
|
|
|
703
788
|
<td class="type">
|
|
704
789
|
|
|
705
790
|
|
|
706
|
-
<span class="param-type">
|
|
707
|
-
|
|
708
|
-
function
|
|
709
|
-
|
|
710
|
-
</span>
|
|
711
|
-
|
|
791
|
+
<span class="param-type">function</span>
|
|
712
792
|
|
|
713
793
|
|
|
714
794
|
|
|
@@ -734,12 +814,7 @@
|
|
|
734
814
|
<td class="type">
|
|
735
815
|
|
|
736
816
|
|
|
737
|
-
<span class="param-type">
|
|
738
|
-
|
|
739
|
-
Object
|
|
740
|
-
|
|
741
|
-
</span>
|
|
742
|
-
|
|
817
|
+
<span class="param-type">Object</span>
|
|
743
818
|
|
|
744
819
|
|
|
745
820
|
|
|
@@ -767,12 +842,7 @@
|
|
|
767
842
|
<td class="type">
|
|
768
843
|
|
|
769
844
|
|
|
770
|
-
<span class="param-type">
|
|
771
|
-
|
|
772
|
-
Boolean
|
|
773
|
-
|
|
774
|
-
</span>
|
|
775
|
-
|
|
845
|
+
<span class="param-type">Boolean</span>
|
|
776
846
|
|
|
777
847
|
|
|
778
848
|
|
|
@@ -800,12 +870,7 @@
|
|
|
800
870
|
<td class="type">
|
|
801
871
|
|
|
802
872
|
|
|
803
|
-
<span class="param-type">
|
|
804
|
-
|
|
805
|
-
Number
|
|
806
|
-
|
|
807
|
-
</span>
|
|
808
|
-
|
|
873
|
+
<span class="param-type">Number</span>
|
|
809
874
|
|
|
810
875
|
|
|
811
876
|
|
|
@@ -833,12 +898,7 @@
|
|
|
833
898
|
<td class="type">
|
|
834
899
|
|
|
835
900
|
|
|
836
|
-
<span class="param-type">
|
|
837
|
-
|
|
838
|
-
Number
|
|
839
|
-
|
|
840
|
-
</span>
|
|
841
|
-
|
|
901
|
+
<span class="param-type">Number</span>
|
|
842
902
|
|
|
843
903
|
|
|
844
904
|
|
|
@@ -866,12 +926,7 @@
|
|
|
866
926
|
<td class="type">
|
|
867
927
|
|
|
868
928
|
|
|
869
|
-
<span class="param-type">
|
|
870
|
-
|
|
871
|
-
Number
|
|
872
|
-
|
|
873
|
-
</span>
|
|
874
|
-
|
|
929
|
+
<span class="param-type">Number</span>
|
|
875
930
|
|
|
876
931
|
|
|
877
932
|
|
|
@@ -899,12 +954,7 @@
|
|
|
899
954
|
<td class="type">
|
|
900
955
|
|
|
901
956
|
|
|
902
|
-
<span class="param-type">
|
|
903
|
-
|
|
904
|
-
Number
|
|
905
|
-
|
|
906
|
-
</span>
|
|
907
|
-
|
|
957
|
+
<span class="param-type">Number</span>
|
|
908
958
|
|
|
909
959
|
|
|
910
960
|
|
|
@@ -932,12 +982,7 @@
|
|
|
932
982
|
<td class="type">
|
|
933
983
|
|
|
934
984
|
|
|
935
|
-
<span class="param-type">
|
|
936
|
-
|
|
937
|
-
Number
|
|
938
|
-
|
|
939
|
-
</span>
|
|
940
|
-
|
|
985
|
+
<span class="param-type">Number</span>
|
|
941
986
|
|
|
942
987
|
|
|
943
988
|
|
|
@@ -965,12 +1010,7 @@
|
|
|
965
1010
|
<td class="type">
|
|
966
1011
|
|
|
967
1012
|
|
|
968
|
-
<span class="param-type">
|
|
969
|
-
|
|
970
|
-
Number
|
|
971
|
-
|
|
972
|
-
</span>
|
|
973
|
-
|
|
1013
|
+
<span class="param-type">Number</span>
|
|
974
1014
|
|
|
975
1015
|
|
|
976
1016
|
|
|
@@ -998,12 +1038,7 @@
|
|
|
998
1038
|
<td class="type">
|
|
999
1039
|
|
|
1000
1040
|
|
|
1001
|
-
<span class="param-type">
|
|
1002
|
-
|
|
1003
|
-
Boolean
|
|
1004
|
-
|
|
1005
|
-
</span>
|
|
1006
|
-
|
|
1041
|
+
<span class="param-type">Boolean</span>
|
|
1007
1042
|
|
|
1008
1043
|
|
|
1009
1044
|
|
|
@@ -1031,12 +1066,7 @@
|
|
|
1031
1066
|
<td class="type">
|
|
1032
1067
|
|
|
1033
1068
|
|
|
1034
|
-
<span class="param-type">
|
|
1035
|
-
|
|
1036
|
-
Object
|
|
1037
|
-
|
|
1038
|
-
</span>
|
|
1039
|
-
|
|
1069
|
+
<span class="param-type">Object</span>
|
|
1040
1070
|
|
|
1041
1071
|
|
|
1042
1072
|
|
|
@@ -1062,12 +1092,7 @@
|
|
|
1062
1092
|
<td class="type">
|
|
1063
1093
|
|
|
1064
1094
|
|
|
1065
|
-
<span class="param-type">
|
|
1066
|
-
|
|
1067
|
-
Boolean
|
|
1068
|
-
|
|
1069
|
-
</span>
|
|
1070
|
-
|
|
1095
|
+
<span class="param-type">Boolean</span>
|
|
1071
1096
|
|
|
1072
1097
|
|
|
1073
1098
|
|
|
@@ -1095,12 +1120,7 @@
|
|
|
1095
1120
|
<td class="type">
|
|
1096
1121
|
|
|
1097
1122
|
|
|
1098
|
-
<span class="param-type">
|
|
1099
|
-
|
|
1100
|
-
Array
|
|
1101
|
-
|
|
1102
|
-
</span>
|
|
1103
|
-
|
|
1123
|
+
<span class="param-type">Array</span>
|
|
1104
1124
|
|
|
1105
1125
|
|
|
1106
1126
|
|
|
@@ -1128,12 +1148,7 @@
|
|
|
1128
1148
|
<td class="type">
|
|
1129
1149
|
|
|
1130
1150
|
|
|
1131
|
-
<span class="param-type">
|
|
1132
|
-
|
|
1133
|
-
Array
|
|
1134
|
-
|
|
1135
|
-
</span>
|
|
1136
|
-
|
|
1151
|
+
<span class="param-type">Array</span>
|
|
1137
1152
|
|
|
1138
1153
|
|
|
1139
1154
|
|
|
@@ -1161,12 +1176,7 @@
|
|
|
1161
1176
|
<td class="type">
|
|
1162
1177
|
|
|
1163
1178
|
|
|
1164
|
-
<span class="param-type">
|
|
1165
|
-
|
|
1166
|
-
Array
|
|
1167
|
-
|
|
1168
|
-
</span>
|
|
1169
|
-
|
|
1179
|
+
<span class="param-type">Array</span>
|
|
1170
1180
|
|
|
1171
1181
|
|
|
1172
1182
|
|
|
@@ -1194,12 +1204,7 @@
|
|
|
1194
1204
|
<td class="type">
|
|
1195
1205
|
|
|
1196
1206
|
|
|
1197
|
-
<span class="param-type">
|
|
1198
|
-
|
|
1199
|
-
function
|
|
1200
|
-
|
|
1201
|
-
</span>
|
|
1202
|
-
|
|
1207
|
+
<span class="param-type">function</span>
|
|
1203
1208
|
|
|
1204
1209
|
|
|
1205
1210
|
|
|
@@ -1225,12 +1230,7 @@
|
|
|
1225
1230
|
<td class="type">
|
|
1226
1231
|
|
|
1227
1232
|
|
|
1228
|
-
<span class="param-type">
|
|
1229
|
-
|
|
1230
|
-
Object
|
|
1231
|
-
|
|
1232
|
-
</span>
|
|
1233
|
-
|
|
1233
|
+
<span class="param-type">Object</span>
|
|
1234
1234
|
|
|
1235
1235
|
|
|
1236
1236
|
|
|
@@ -1256,12 +1256,7 @@
|
|
|
1256
1256
|
<td class="type">
|
|
1257
1257
|
|
|
1258
1258
|
|
|
1259
|
-
<span class="param-type">
|
|
1260
|
-
|
|
1261
|
-
Number
|
|
1262
|
-
|
|
1263
|
-
</span>
|
|
1264
|
-
|
|
1259
|
+
<span class="param-type">Number</span>
|
|
1265
1260
|
|
|
1266
1261
|
|
|
1267
1262
|
|
|
@@ -1287,12 +1282,7 @@
|
|
|
1287
1282
|
<td class="type">
|
|
1288
1283
|
|
|
1289
1284
|
|
|
1290
|
-
<span class="param-type">
|
|
1291
|
-
|
|
1292
|
-
Number
|
|
1293
|
-
|
|
1294
|
-
</span>
|
|
1295
|
-
|
|
1285
|
+
<span class="param-type">Number</span>
|
|
1296
1286
|
|
|
1297
1287
|
|
|
1298
1288
|
|
|
@@ -1318,12 +1308,7 @@
|
|
|
1318
1308
|
<td class="type">
|
|
1319
1309
|
|
|
1320
1310
|
|
|
1321
|
-
<span class="param-type">
|
|
1322
|
-
|
|
1323
|
-
Cesium.Cartesian3
|
|
1324
|
-
|
|
1325
|
-
</span>
|
|
1326
|
-
|
|
1311
|
+
<span class="param-type">Cesium.Cartesian3</span>
|
|
1327
1312
|
|
|
1328
1313
|
|
|
1329
1314
|
|
|
@@ -1349,12 +1334,7 @@
|
|
|
1349
1334
|
<td class="type">
|
|
1350
1335
|
|
|
1351
1336
|
|
|
1352
|
-
<span class="param-type">
|
|
1353
|
-
|
|
1354
|
-
Cesium.JulianDate
|
|
1355
|
-
|
|
1356
|
-
</span>
|
|
1357
|
-
|
|
1337
|
+
<span class="param-type">Cesium.JulianDate</span>
|
|
1358
1338
|
|
|
1359
1339
|
|
|
1360
1340
|
|
|
@@ -1380,12 +1360,7 @@
|
|
|
1380
1360
|
<td class="type">
|
|
1381
1361
|
|
|
1382
1362
|
|
|
1383
|
-
<span class="param-type">
|
|
1384
|
-
|
|
1385
|
-
Cesium.JulianDate
|
|
1386
|
-
|
|
1387
|
-
</span>
|
|
1388
|
-
|
|
1363
|
+
<span class="param-type">Cesium.JulianDate</span>
|
|
1389
1364
|
|
|
1390
1365
|
|
|
1391
1366
|
|
|
@@ -1411,12 +1386,7 @@
|
|
|
1411
1386
|
<td class="type">
|
|
1412
1387
|
|
|
1413
1388
|
|
|
1414
|
-
<span class="param-type">
|
|
1415
|
-
|
|
1416
|
-
Cesium.JulianDate
|
|
1417
|
-
|
|
1418
|
-
</span>
|
|
1419
|
-
|
|
1389
|
+
<span class="param-type">Cesium.JulianDate</span>
|
|
1420
1390
|
|
|
1421
1391
|
|
|
1422
1392
|
|
|
@@ -1442,12 +1412,7 @@
|
|
|
1442
1412
|
<td class="type">
|
|
1443
1413
|
|
|
1444
1414
|
|
|
1445
|
-
<span class="param-type">
|
|
1446
|
-
|
|
1447
|
-
Number
|
|
1448
|
-
|
|
1449
|
-
</span>
|
|
1450
|
-
|
|
1415
|
+
<span class="param-type">Number</span>
|
|
1451
1416
|
|
|
1452
1417
|
|
|
1453
1418
|
|
|
@@ -1473,12 +1438,7 @@
|
|
|
1473
1438
|
<td class="type">
|
|
1474
1439
|
|
|
1475
1440
|
|
|
1476
|
-
<span class="param-type">
|
|
1477
|
-
|
|
1478
|
-
Number
|
|
1479
|
-
|
|
1480
|
-
</span>
|
|
1481
|
-
|
|
1441
|
+
<span class="param-type">Number</span>
|
|
1482
1442
|
|
|
1483
1443
|
|
|
1484
1444
|
|
|
@@ -1504,12 +1464,7 @@
|
|
|
1504
1464
|
<td class="type">
|
|
1505
1465
|
|
|
1506
1466
|
|
|
1507
|
-
<span class="param-type">
|
|
1508
|
-
|
|
1509
|
-
Number
|
|
1510
|
-
|
|
1511
|
-
</span>
|
|
1512
|
-
|
|
1467
|
+
<span class="param-type">Number</span>
|
|
1513
1468
|
|
|
1514
1469
|
|
|
1515
1470
|
|
|
@@ -1535,12 +1490,7 @@
|
|
|
1535
1490
|
<td class="type">
|
|
1536
1491
|
|
|
1537
1492
|
|
|
1538
|
-
<span class="param-type">
|
|
1539
|
-
|
|
1540
|
-
Boolean
|
|
1541
|
-
|
|
1542
|
-
</span>
|
|
1543
|
-
|
|
1493
|
+
<span class="param-type">Boolean</span>
|
|
1544
1494
|
|
|
1545
1495
|
|
|
1546
1496
|
|
|
@@ -1568,12 +1518,7 @@
|
|
|
1568
1518
|
<td class="type">
|
|
1569
1519
|
|
|
1570
1520
|
|
|
1571
|
-
<span class="param-type">
|
|
1572
|
-
|
|
1573
|
-
Object
|
|
1574
|
-
|
|
1575
|
-
</span>
|
|
1576
|
-
|
|
1521
|
+
<span class="param-type">Object</span>
|
|
1577
1522
|
|
|
1578
1523
|
|
|
1579
1524
|
|
|
@@ -1599,12 +1544,7 @@
|
|
|
1599
1544
|
<td class="type">
|
|
1600
1545
|
|
|
1601
1546
|
|
|
1602
|
-
<span class="param-type">
|
|
1603
|
-
|
|
1604
|
-
Number
|
|
1605
|
-
|
|
1606
|
-
</span>
|
|
1607
|
-
|
|
1547
|
+
<span class="param-type">Number</span>
|
|
1608
1548
|
|
|
1609
1549
|
|
|
1610
1550
|
|
|
@@ -1632,12 +1572,7 @@
|
|
|
1632
1572
|
<td class="type">
|
|
1633
1573
|
|
|
1634
1574
|
|
|
1635
|
-
<span class="param-type">
|
|
1636
|
-
|
|
1637
|
-
Number
|
|
1638
|
-
|
|
1639
|
-
</span>
|
|
1640
|
-
|
|
1575
|
+
<span class="param-type">Number</span>
|
|
1641
1576
|
|
|
1642
1577
|
|
|
1643
1578
|
|
|
@@ -1665,12 +1600,7 @@
|
|
|
1665
1600
|
<td class="type">
|
|
1666
1601
|
|
|
1667
1602
|
|
|
1668
|
-
<span class="param-type">
|
|
1669
|
-
|
|
1670
|
-
Number
|
|
1671
|
-
|
|
1672
|
-
</span>
|
|
1673
|
-
|
|
1603
|
+
<span class="param-type">Number</span>
|
|
1674
1604
|
|
|
1675
1605
|
|
|
1676
1606
|
|
|
@@ -1698,12 +1628,7 @@
|
|
|
1698
1628
|
<td class="type">
|
|
1699
1629
|
|
|
1700
1630
|
|
|
1701
|
-
<span class="param-type">
|
|
1702
|
-
|
|
1703
|
-
Number
|
|
1704
|
-
|
|
1705
|
-
</span>
|
|
1706
|
-
|
|
1631
|
+
<span class="param-type">Number</span>
|
|
1707
1632
|
|
|
1708
1633
|
|
|
1709
1634
|
|
|
@@ -1731,12 +1656,7 @@
|
|
|
1731
1656
|
<td class="type">
|
|
1732
1657
|
|
|
1733
1658
|
|
|
1734
|
-
<span class="param-type">
|
|
1735
|
-
|
|
1736
|
-
Number
|
|
1737
|
-
|
|
1738
|
-
</span>
|
|
1739
|
-
|
|
1659
|
+
<span class="param-type">Number</span>
|
|
1740
1660
|
|
|
1741
1661
|
|
|
1742
1662
|
|
|
@@ -1764,12 +1684,7 @@
|
|
|
1764
1684
|
<td class="type">
|
|
1765
1685
|
|
|
1766
1686
|
|
|
1767
|
-
<span class="param-type">
|
|
1768
|
-
|
|
1769
|
-
Object
|
|
1770
|
-
|
|
1771
|
-
</span>
|
|
1772
|
-
|
|
1687
|
+
<span class="param-type">Object</span>
|
|
1773
1688
|
|
|
1774
1689
|
|
|
1775
1690
|
|
|
@@ -1797,12 +1712,7 @@
|
|
|
1797
1712
|
<td class="type">
|
|
1798
1713
|
|
|
1799
1714
|
|
|
1800
|
-
<span class="param-type">
|
|
1801
|
-
|
|
1802
|
-
Object
|
|
1803
|
-
|
|
1804
|
-
</span>
|
|
1805
|
-
|
|
1715
|
+
<span class="param-type">Object</span>
|
|
1806
1716
|
|
|
1807
1717
|
|
|
1808
1718
|
|
|
@@ -2024,823 +1934,123 @@ animationTool = new AnimationTool(viewer, {
|
|
|
2024
1934
|
...
|
|
2025
1935
|
})
|
|
2026
1936
|
|
|
2027
|
-
// 3 开始漫游
|
|
2028
|
-
animationTool.start()
|
|
2029
|
-
|
|
2030
|
-
// 4 暂停漫游
|
|
2031
|
-
animationTool.pause
|
|
2032
|
-
|
|
2033
|
-
// 5 结束漫游
|
|
2034
|
-
animationTool.stop()</code></pre>
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
<p class="code-caption"><h7>室内漫游</h7></p>
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
<pre class="prettyprint"><code>// 参考示例:
|
|
2041
|
-
http://192.168.82.91:8086/#/modules/cesium/analyse/commonAnalyse/indoor-roaming
|
|
2042
|
-
|
|
2043
|
-
// ES5引入方式
|
|
2044
|
-
const { AnimationTool } = zondy.cesium
|
|
2045
|
-
// ES6引入方式
|
|
2046
|
-
import { AnimationTool } from "@mapgis/webclient-cesium-plugin"
|
|
2047
|
-
|
|
2048
|
-
// 1 构造漫游路径数组,单位为笛卡尔3
|
|
2049
|
-
const pathPositions = [...]
|
|
2050
|
-
|
|
2051
|
-
// 2 定义漫游工具对象
|
|
2052
|
-
animationTool = new AnimationTool(viewer, {
|
|
2053
|
-
//类型指定为routes
|
|
2054
|
-
toolType: 'routes',
|
|
2055
|
-
// 漫游路径(笛卡尔3数组)
|
|
2056
|
-
positions: pathPositions,
|
|
2057
|
-
// 设置漫游的视角类型。0:正常,不移动相机;1:跟随;2:锁定第一视角;3:上帝视角
|
|
2058
|
-
animationType: 1,
|
|
2059
|
-
...
|
|
2060
|
-
})
|
|
2061
|
-
|
|
2062
|
-
// 3 开始漫游
|
|
2063
|
-
animationTool.start()
|
|
2064
|
-
|
|
2065
|
-
// 4 暂停漫游
|
|
2066
|
-
animationTool.pause
|
|
2067
|
-
|
|
2068
|
-
// 5 结束漫游
|
|
2069
|
-
animationTool.stop()</code></pre>
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
<p class="code-caption"><h7>模型沿地形漫游</h7></p>
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
<pre class="prettyprint"><code>// 参考示例:
|
|
2076
|
-
http://192.168.82.91:8086/#/modules/cesium/analyse/commonAnalyse/model-terrain-roaming
|
|
2077
|
-
|
|
2078
|
-
// ES5引入方式
|
|
2079
|
-
const { AnimationTool } = zondy.cesium
|
|
2080
|
-
// ES6引入方式
|
|
2081
|
-
import { AnimationTool } from "@mapgis/webclient-cesium-plugin"
|
|
2082
|
-
|
|
2083
|
-
// 1 构造漫游路径数组,单位为笛卡尔3
|
|
2084
|
-
const pathPositions = [...]
|
|
2085
|
-
|
|
2086
|
-
// 2 定义漫游工具对象
|
|
2087
|
-
animationTool = new AnimationTool(viewer, {
|
|
2088
|
-
//类型指定为routes
|
|
2089
|
-
toolType: 'routes',
|
|
2090
|
-
// 漫游路径(笛卡尔3数组)
|
|
2091
|
-
positions: pathPositions,
|
|
2092
|
-
// 设置漫游的视角类型。0:正常,不移动相机;1:跟随;2:锁定第一视角;3:上帝视角
|
|
2093
|
-
animationType: 0,
|
|
2094
|
-
// 是否获取路径点的真实高程
|
|
2095
|
-
isGetRealHeight: true,
|
|
2096
|
-
// 漫游的模型对象的url,为空表示不显示
|
|
2097
|
-
modelUrl:'http://192.168.82.91:8200/3DData/Model/glb/CesiumMilkTruck.glb',
|
|
2098
|
-
//模型对象参数,详见ModelGraphics对象的文档
|
|
2099
|
-
model: {
|
|
2100
|
-
//放大比例
|
|
2101
|
-
scale: 20,
|
|
2102
|
-
//固定大小设为0
|
|
2103
|
-
minimumPixelSize: 0,
|
|
2104
|
-
// 模型贴地显示
|
|
2105
|
-
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND
|
|
2106
|
-
},
|
|
2107
|
-
...
|
|
2108
|
-
})
|
|
2109
|
-
|
|
2110
|
-
// 3 开始漫游
|
|
2111
|
-
animationTool.start()
|
|
2112
|
-
|
|
2113
|
-
// 4 暂停漫游
|
|
2114
|
-
animationTool.pause
|
|
2115
|
-
|
|
2116
|
-
// 5 结束漫游
|
|
2117
|
-
animationTool.stop()</code></pre>
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
</div>
|
|
2123
|
-
</div>
|
|
2124
|
-
</div>
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
</div>
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
<div class='vertical-section'>
|
|
2143
|
-
<h3 id='member'>成员变量</h3>
|
|
2144
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量概述</h4>
|
|
2145
|
-
<div class="table-container">
|
|
2146
|
-
<table class="params table">
|
|
2147
|
-
<thead>
|
|
2148
|
-
<tr>
|
|
2149
|
-
<th>名称</th>
|
|
2150
|
-
<th>类型</th>
|
|
2151
|
-
<th>描述</th>
|
|
2152
|
-
</tr>
|
|
2153
|
-
</thead>
|
|
2154
|
-
<tbody>
|
|
2155
|
-
|
|
2156
|
-
<tr class="deep-level-0">
|
|
2157
|
-
<td class="name"><code><a href="#animationModel">animationModel</a></code></td>
|
|
2158
|
-
<td class="name">
|
|
2159
|
-
<code>
|
|
2160
|
-
|
|
2161
|
-
<span class="param-type">
|
|
2162
|
-
|
|
2163
|
-
Number
|
|
2164
|
-
|
|
2165
|
-
</span>
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
</code>
|
|
2170
|
-
</td>
|
|
2171
|
-
<td class="name"><code><p>动画模型</p></code></td>
|
|
2172
|
-
</tr>
|
|
2173
|
-
|
|
2174
|
-
<tr class="deep-level-0">
|
|
2175
|
-
<td class="name"><code><a href="#animationType">animationType</a></code></td>
|
|
2176
|
-
<td class="name">
|
|
2177
|
-
<code>
|
|
2178
|
-
|
|
2179
|
-
<span class="param-type">
|
|
2180
|
-
|
|
2181
|
-
Number
|
|
2182
|
-
|
|
2183
|
-
</span>
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
</code>
|
|
2188
|
-
</td>
|
|
2189
|
-
<td class="name"><code><p>动画漫游的类型</p></code></td>
|
|
2190
|
-
</tr>
|
|
2191
|
-
|
|
2192
|
-
<tr class="deep-level-0">
|
|
2193
|
-
<td class="name"><code><a href="#callback">callback</a></code></td>
|
|
2194
|
-
<td class="name">
|
|
2195
|
-
<code>
|
|
2196
|
-
|
|
2197
|
-
<span class="param-type">
|
|
2198
|
-
|
|
2199
|
-
function
|
|
2200
|
-
|
|
2201
|
-
</span>
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
</code>
|
|
2206
|
-
</td>
|
|
2207
|
-
<td class="name"><code><p>回调函数,返回一组动画信息</p></code></td>
|
|
2208
|
-
</tr>
|
|
2209
|
-
|
|
2210
|
-
<tr class="deep-level-0">
|
|
2211
|
-
<td class="name"><code><a href="#disFactor">disFactor</a></code></td>
|
|
2212
|
-
<td class="name">
|
|
2213
|
-
<code>
|
|
2214
|
-
|
|
2215
|
-
<span class="param-type">
|
|
2216
|
-
|
|
2217
|
-
Number
|
|
2218
|
-
|
|
2219
|
-
</span>
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
</code>
|
|
2224
|
-
</td>
|
|
2225
|
-
<td class="name"><code><p>用于判断当前点是否到达路径点</p></code></td>
|
|
2226
|
-
</tr>
|
|
2227
|
-
|
|
2228
|
-
<tr class="deep-level-0">
|
|
2229
|
-
<td class="name"><code><a href="#distance">distance</a></code></td>
|
|
2230
|
-
<td class="name">
|
|
2231
|
-
<code>
|
|
2232
|
-
|
|
2233
|
-
<span class="param-type">
|
|
2234
|
-
|
|
2235
|
-
Number
|
|
2236
|
-
|
|
2237
|
-
</span>
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
</code>
|
|
2242
|
-
</td>
|
|
2243
|
-
<td class="name"><code><p>偏移距离 (单位米)</p></code></td>
|
|
2244
|
-
</tr>
|
|
2245
|
-
|
|
2246
|
-
<tr class="deep-level-0">
|
|
2247
|
-
<td class="name"><code><a href="#exHeight">exHeight</a></code></td>
|
|
2248
|
-
<td class="name">
|
|
2249
|
-
<code>
|
|
2250
|
-
|
|
2251
|
-
<span class="param-type">
|
|
2252
|
-
|
|
2253
|
-
Number
|
|
2254
|
-
|
|
2255
|
-
</span>
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
</code>
|
|
2260
|
-
</td>
|
|
2261
|
-
<td class="name"><code><p>附加高程</p></code></td>
|
|
2262
|
-
</tr>
|
|
2263
|
-
|
|
2264
|
-
<tr class="deep-level-0">
|
|
2265
|
-
<td class="name"><code><a href="#firstPersonCameraFocusOffset">firstPersonCameraFocusOffset</a></code></td>
|
|
2266
|
-
<td class="name">
|
|
2267
|
-
<code>
|
|
2268
|
-
|
|
2269
|
-
<span class="param-type">
|
|
2270
|
-
|
|
2271
|
-
Object
|
|
2272
|
-
|
|
2273
|
-
</span>
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
</code>
|
|
2278
|
-
</td>
|
|
2279
|
-
<td class="name"><code><p>第一人称视角下,相机焦点的偏移值。向前:offsetX;向左:offsetX;向上:offsetZ</p></code></td>
|
|
2280
|
-
</tr>
|
|
2281
|
-
|
|
2282
|
-
<tr class="deep-level-0">
|
|
2283
|
-
<td class="name"><code><a href="#followSwitchMouseEvent">followSwitchMouseEvent</a></code></td>
|
|
2284
|
-
<td class="name">
|
|
2285
|
-
<code>
|
|
2286
|
-
|
|
2287
|
-
<span class="param-type">
|
|
2288
|
-
|
|
2289
|
-
Boolean
|
|
2290
|
-
|
|
2291
|
-
</span>
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
</code>
|
|
2296
|
-
</td>
|
|
2297
|
-
<td class="name"><code><p>布尔类型,默认为false,切换跟随视角下的鼠标点击事件</p></code></td>
|
|
2298
|
-
</tr>
|
|
2299
|
-
|
|
2300
|
-
<tr class="deep-level-0">
|
|
2301
|
-
<td class="name"><code><a href="#followViewCameraHPR">followViewCameraHPR</a></code></td>
|
|
2302
|
-
<td class="name">
|
|
2303
|
-
<code>
|
|
2304
|
-
|
|
2305
|
-
<span class="param-type">
|
|
2306
|
-
|
|
2307
|
-
Object
|
|
2308
|
-
|
|
2309
|
-
</span>
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
</code>
|
|
2314
|
-
</td>
|
|
2315
|
-
<td class="name"><code><p>跟随视角下,相机的初始heading,pitch,range</p></code></td>
|
|
2316
|
-
</tr>
|
|
2317
|
-
|
|
2318
|
-
<tr class="deep-level-0">
|
|
2319
|
-
<td class="name"><code><a href="#heading">heading</a></code></td>
|
|
2320
|
-
<td class="name">
|
|
2321
|
-
<code>
|
|
2322
|
-
|
|
2323
|
-
<span class="param-type">
|
|
2324
|
-
|
|
2325
|
-
Number
|
|
2326
|
-
|
|
2327
|
-
</span>
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
</code>
|
|
2332
|
-
</td>
|
|
2333
|
-
<td class="name"><code><p>航向角 (单位弧度)</p></code></td>
|
|
2334
|
-
</tr>
|
|
2335
|
-
|
|
2336
|
-
<tr class="deep-level-0">
|
|
2337
|
-
<td class="name"><code><a href="#headingTargetPosition">headingTargetPosition</a></code></td>
|
|
2338
|
-
<td class="name">
|
|
2339
|
-
<code>
|
|
2340
|
-
|
|
2341
|
-
<span class="param-type">
|
|
2342
|
-
|
|
2343
|
-
Number
|
|
2344
|
-
|
|
2345
|
-
</span>
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
</code>
|
|
2350
|
-
</td>
|
|
2351
|
-
<td class="name"><code><p>根据Z轴旋转</p></code></td>
|
|
2352
|
-
</tr>
|
|
2353
|
-
|
|
2354
|
-
<tr class="deep-level-0">
|
|
2355
|
-
<td class="name"><code><a href="#isAddViewshedAnalysis">isAddViewshedAnalysis</a></code></td>
|
|
2356
|
-
<td class="name">
|
|
2357
|
-
<code>
|
|
2358
|
-
|
|
2359
|
-
<span class="param-type">
|
|
2360
|
-
|
|
2361
|
-
Boolean
|
|
2362
|
-
|
|
2363
|
-
</span>
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
</code>
|
|
2368
|
-
</td>
|
|
2369
|
-
<td class="name"><code><p>是否挂载动态可视域</p></code></td>
|
|
2370
|
-
</tr>
|
|
2371
|
-
|
|
2372
|
-
<tr class="deep-level-0">
|
|
2373
|
-
<td class="name"><code><a href="#isGetPositionNow">isGetPositionNow</a></code></td>
|
|
2374
|
-
<td class="name">
|
|
2375
|
-
<code>
|
|
2376
|
-
|
|
2377
|
-
<span class="param-type">
|
|
2378
|
-
|
|
2379
|
-
Boolean
|
|
2380
|
-
|
|
2381
|
-
</span>
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
</code>
|
|
2386
|
-
</td>
|
|
2387
|
-
<td class="name"><code><p>是否获取当前点坐标,默认为false,为true时,需配合返回当前点坐标的回调函数一起使用</p></code></td>
|
|
2388
|
-
</tr>
|
|
2389
|
-
|
|
2390
|
-
<tr class="deep-level-0">
|
|
2391
|
-
<td class="name"><code><a href="#isLoop">isLoop</a></code></td>
|
|
2392
|
-
<td class="name">
|
|
2393
|
-
<code>
|
|
2394
|
-
|
|
2395
|
-
<span class="param-type">
|
|
2396
|
-
|
|
2397
|
-
Boolean
|
|
2398
|
-
|
|
2399
|
-
</span>
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
</code>
|
|
2404
|
-
</td>
|
|
2405
|
-
<td class="name"><code><p>是否循环</p></code></td>
|
|
2406
|
-
</tr>
|
|
2407
|
-
|
|
2408
|
-
<tr class="deep-level-0">
|
|
2409
|
-
<td class="name"><code><a href="#isSetModelPosture">isSetModelPosture</a></code></td>
|
|
2410
|
-
<td class="name">
|
|
2411
|
-
<code>
|
|
2412
|
-
|
|
2413
|
-
<span class="param-type">
|
|
2414
|
-
|
|
2415
|
-
Boolean
|
|
2416
|
-
|
|
2417
|
-
</span>
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
</code>
|
|
2422
|
-
</td>
|
|
2423
|
-
<td class="name"><code><p>是否设置模型运动姿态,保持朝向与运动方向一致</p></code></td>
|
|
2424
|
-
</tr>
|
|
2425
|
-
|
|
2426
|
-
<tr class="deep-level-0">
|
|
2427
|
-
<td class="name"><code><a href="#isShowPath">isShowPath</a></code></td>
|
|
2428
|
-
<td class="name">
|
|
2429
|
-
<code>
|
|
2430
|
-
|
|
2431
|
-
<span class="param-type">
|
|
2432
|
-
|
|
2433
|
-
Boolean
|
|
2434
|
-
|
|
2435
|
-
</span>
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
</code>
|
|
2440
|
-
</td>
|
|
2441
|
-
<td class="name"><code><p>是否显示漫游路径,计划废弃,请使用 <a class="mapgis-link-name" title="AnimationTool#showPath" AnimationTool.html#showPath><code>AnimationTool#showPath</code></a> 来控制漫游路径的显隐</p></code></td>
|
|
2442
|
-
</tr>
|
|
2443
|
-
|
|
2444
|
-
<tr class="deep-level-0">
|
|
2445
|
-
<td class="name"><code><a href="#modelHeading">modelHeading</a></code></td>
|
|
2446
|
-
<td class="name">
|
|
2447
|
-
<code>
|
|
2448
|
-
|
|
2449
|
-
<span class="param-type">
|
|
2450
|
-
|
|
2451
|
-
Number
|
|
2452
|
-
|
|
2453
|
-
</span>
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
</code>
|
|
2458
|
-
</td>
|
|
2459
|
-
<td class="name"><code><p>模型的方位角</p></code></td>
|
|
2460
|
-
</tr>
|
|
2461
|
-
|
|
2462
|
-
<tr class="deep-level-0">
|
|
2463
|
-
<td class="name"><code><a href="#modelOffset">modelOffset</a></code></td>
|
|
2464
|
-
<td class="name">
|
|
2465
|
-
<code>
|
|
2466
|
-
|
|
2467
|
-
<span class="param-type">
|
|
2468
|
-
|
|
2469
|
-
Object
|
|
2470
|
-
|
|
2471
|
-
</span>
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
</code>
|
|
2476
|
-
</td>
|
|
2477
|
-
<td class="name"><code><p>模型相对自身的平移值,单位为米。向前:offsetX;向左:offsetY;向上:offsetZ</p></code></td>
|
|
2478
|
-
</tr>
|
|
2479
|
-
|
|
2480
|
-
<tr class="deep-level-0">
|
|
2481
|
-
<td class="name"><code><a href="#modelPitch">modelPitch</a></code></td>
|
|
2482
|
-
<td class="name">
|
|
2483
|
-
<code>
|
|
2484
|
-
|
|
2485
|
-
<span class="param-type">
|
|
2486
|
-
|
|
2487
|
-
Number
|
|
2488
|
-
|
|
2489
|
-
</span>
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
</code>
|
|
2494
|
-
</td>
|
|
2495
|
-
<td class="name"><code><p>模型的俯仰角</p></code></td>
|
|
2496
|
-
</tr>
|
|
2497
|
-
|
|
2498
|
-
<tr class="deep-level-0">
|
|
2499
|
-
<td class="name"><code><a href="#modelRoll">modelRoll</a></code></td>
|
|
2500
|
-
<td class="name">
|
|
2501
|
-
<code>
|
|
2502
|
-
|
|
2503
|
-
<span class="param-type">
|
|
2504
|
-
|
|
2505
|
-
Number
|
|
2506
|
-
|
|
2507
|
-
</span>
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
</code>
|
|
2512
|
-
</td>
|
|
2513
|
-
<td class="name"><code><p>模型的倾斜角</p></code></td>
|
|
2514
|
-
</tr>
|
|
2515
|
-
|
|
2516
|
-
<tr class="deep-level-0">
|
|
2517
|
-
<td class="name"><code><a href="#offsetStartPositionDistance">offsetStartPositionDistance</a></code></td>
|
|
2518
|
-
<td class="name">
|
|
2519
|
-
<code>
|
|
2520
|
-
|
|
2521
|
-
<span class="param-type">
|
|
2522
|
-
|
|
2523
|
-
Number
|
|
2524
|
-
|
|
2525
|
-
</span>
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
</code>
|
|
2530
|
-
</td>
|
|
2531
|
-
<td class="name"><code><p>距离startPositionIndex索引点在当前分段线上的距离,单位是meter</p></code></td>
|
|
2532
|
-
</tr>
|
|
2533
|
-
|
|
2534
|
-
<tr class="deep-level-0">
|
|
2535
|
-
<td class="name"><code><a href="#onPositionTag">onPositionTag</a></code></td>
|
|
2536
|
-
<td class="name">
|
|
2537
|
-
<code>
|
|
2538
|
-
|
|
2539
|
-
<span class="param-type">
|
|
2540
|
-
|
|
2541
|
-
Boolean
|
|
2542
|
-
|
|
2543
|
-
</span>
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
</code>
|
|
2548
|
-
</td>
|
|
2549
|
-
<td class="name"><code><p>是否执行回调函数的功能,默认为false不执行</p></code></td>
|
|
2550
|
-
</tr>
|
|
2551
|
-
|
|
2552
|
-
<tr class="deep-level-0">
|
|
2553
|
-
<td class="name"><code><a href="#pause">pause</a></code></td>
|
|
2554
|
-
<td class="name">
|
|
2555
|
-
<code>
|
|
2556
|
-
|
|
2557
|
-
<span class="param-type">
|
|
2558
|
-
|
|
2559
|
-
Boolean
|
|
2560
|
-
|
|
2561
|
-
</span>
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
</code>
|
|
2566
|
-
</td>
|
|
2567
|
-
<td class="name"><code><p>控制动画的暂停</p></code></td>
|
|
2568
|
-
</tr>
|
|
2569
|
-
|
|
2570
|
-
<tr class="deep-level-0">
|
|
2571
|
-
<td class="name"><code><a href="#pitch">pitch</a></code></td>
|
|
2572
|
-
<td class="name">
|
|
2573
|
-
<code>
|
|
2574
|
-
|
|
2575
|
-
<span class="param-type">
|
|
2576
|
-
|
|
2577
|
-
Number
|
|
2578
|
-
|
|
2579
|
-
</span>
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
</code>
|
|
2584
|
-
</td>
|
|
2585
|
-
<td class="name"><code><p>俯仰角 (单位弧度)</p></code></td>
|
|
2586
|
-
</tr>
|
|
2587
|
-
|
|
2588
|
-
<tr class="deep-level-0">
|
|
2589
|
-
<td class="name"><code><a href="#pitchTargetPosition">pitchTargetPosition</a></code></td>
|
|
2590
|
-
<td class="name">
|
|
2591
|
-
<code>
|
|
2592
|
-
|
|
2593
|
-
<span class="param-type">
|
|
2594
|
-
|
|
2595
|
-
Number
|
|
2596
|
-
|
|
2597
|
-
</span>
|
|
2598
|
-
|
|
1937
|
+
// 3 开始漫游
|
|
1938
|
+
animationTool.start()
|
|
2599
1939
|
|
|
1940
|
+
// 4 暂停漫游
|
|
1941
|
+
animationTool.pause
|
|
2600
1942
|
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
<td class="name"><code><p>根据Y轴旋转</p></code></td>
|
|
2604
|
-
</tr>
|
|
2605
|
-
|
|
2606
|
-
<tr class="deep-level-0">
|
|
2607
|
-
<td class="name"><code><a href="#positions">positions</a></code></td>
|
|
2608
|
-
<td class="name">
|
|
2609
|
-
<code>
|
|
2610
|
-
|
|
2611
|
-
<span class="param-type">
|
|
2612
|
-
|
|
2613
|
-
Array
|
|
1943
|
+
// 5 结束漫游
|
|
1944
|
+
animationTool.stop()</code></pre>
|
|
2614
1945
|
|
|
2615
|
-
</span>
|
|
2616
1946
|
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
</code>
|
|
2620
|
-
</td>
|
|
2621
|
-
<td class="name"><code><p>坐标点</p></code></td>
|
|
2622
|
-
</tr>
|
|
2623
|
-
|
|
2624
|
-
<tr class="deep-level-0">
|
|
2625
|
-
<td class="name"><code><a href="#range">range</a></code></td>
|
|
2626
|
-
<td class="name">
|
|
2627
|
-
<code>
|
|
2628
|
-
|
|
2629
|
-
<span class="param-type">
|
|
1947
|
+
<p class="code-caption"><h7>室内漫游</h7></p>
|
|
2630
1948
|
|
|
2631
|
-
Number
|
|
2632
1949
|
|
|
2633
|
-
|
|
1950
|
+
<pre class="prettyprint"><code>// 参考示例:
|
|
1951
|
+
http://192.168.82.91:8086/#/modules/cesium/analyse/commonAnalyse/indoor-roaming
|
|
2634
1952
|
|
|
1953
|
+
// ES5引入方式
|
|
1954
|
+
const { AnimationTool } = zondy.cesium
|
|
1955
|
+
// ES6引入方式
|
|
1956
|
+
import { AnimationTool } from "@mapgis/webclient-cesium-plugin"
|
|
2635
1957
|
|
|
1958
|
+
// 1 构造漫游路径数组,单位为笛卡尔3
|
|
1959
|
+
const pathPositions = [...]
|
|
2636
1960
|
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
<span class="param-type">
|
|
2648
|
-
|
|
2649
|
-
Number
|
|
2650
|
-
|
|
2651
|
-
</span>
|
|
1961
|
+
// 2 定义漫游工具对象
|
|
1962
|
+
animationTool = new AnimationTool(viewer, {
|
|
1963
|
+
//类型指定为routes
|
|
1964
|
+
toolType: 'routes',
|
|
1965
|
+
// 漫游路径(笛卡尔3数组)
|
|
1966
|
+
positions: pathPositions,
|
|
1967
|
+
// 设置漫游的视角类型。0:正常,不移动相机;1:跟随;2:锁定第一视角;3:上帝视角
|
|
1968
|
+
animationType: 1,
|
|
1969
|
+
...
|
|
1970
|
+
})
|
|
2652
1971
|
|
|
1972
|
+
// 3 开始漫游
|
|
1973
|
+
animationTool.start()
|
|
2653
1974
|
|
|
1975
|
+
// 4 暂停漫游
|
|
1976
|
+
animationTool.pause
|
|
2654
1977
|
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
<td class="name"><code><p>可视域视点到目标点视距增加倍数</p></code></td>
|
|
2658
|
-
</tr>
|
|
2659
|
-
|
|
2660
|
-
<tr class="deep-level-0">
|
|
2661
|
-
<td class="name"><code><a href="#rollTargetPosition">rollTargetPosition</a></code></td>
|
|
2662
|
-
<td class="name">
|
|
2663
|
-
<code>
|
|
2664
|
-
|
|
2665
|
-
<span class="param-type">
|
|
2666
|
-
|
|
2667
|
-
Number
|
|
1978
|
+
// 5 结束漫游
|
|
1979
|
+
animationTool.stop()</code></pre>
|
|
2668
1980
|
|
|
2669
|
-
</span>
|
|
2670
|
-
|
|
2671
1981
|
|
|
2672
|
-
|
|
2673
|
-
</code>
|
|
2674
|
-
</td>
|
|
2675
|
-
<td class="name"><code><p>根据X轴旋转</p></code></td>
|
|
2676
|
-
</tr>
|
|
2677
|
-
|
|
2678
|
-
<tr class="deep-level-0">
|
|
2679
|
-
<td class="name"><code><a href="#scanEffect">scanEffect</a></code></td>
|
|
2680
|
-
<td class="name">
|
|
2681
|
-
<code>
|
|
2682
|
-
|
|
2683
|
-
<span class="param-type">
|
|
1982
|
+
<p class="code-caption"><h7>模型沿地形漫游</h7></p>
|
|
2684
1983
|
|
|
2685
|
-
Object
|
|
2686
1984
|
|
|
2687
|
-
|
|
1985
|
+
<pre class="prettyprint"><code>// 参考示例:
|
|
1986
|
+
http://192.168.82.91:8086/#/modules/cesium/analyse/commonAnalyse/model-terrain-roaming
|
|
2688
1987
|
|
|
1988
|
+
// ES5引入方式
|
|
1989
|
+
const { AnimationTool } = zondy.cesium
|
|
1990
|
+
// ES6引入方式
|
|
1991
|
+
import { AnimationTool } from "@mapgis/webclient-cesium-plugin"
|
|
2689
1992
|
|
|
1993
|
+
// 1 构造漫游路径数组,单位为笛卡尔3
|
|
1994
|
+
const pathPositions = [...]
|
|
2690
1995
|
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
1996
|
+
// 2 定义漫游工具对象
|
|
1997
|
+
animationTool = new AnimationTool(viewer, {
|
|
1998
|
+
//类型指定为routes
|
|
1999
|
+
toolType: 'routes',
|
|
2000
|
+
// 漫游路径(笛卡尔3数组)
|
|
2001
|
+
positions: pathPositions,
|
|
2002
|
+
// 设置漫游的视角类型。0:正常,不移动相机;1:跟随;2:锁定第一视角;3:上帝视角
|
|
2003
|
+
animationType: 0,
|
|
2004
|
+
// 是否获取路径点的真实高程
|
|
2005
|
+
isGetRealHeight: true,
|
|
2006
|
+
// 漫游的模型对象的url,为空表示不显示
|
|
2007
|
+
modelUrl:'http://192.168.82.91:8200/3DData/Model/glb/CesiumMilkTruck.glb',
|
|
2008
|
+
//模型对象参数,详见ModelGraphics对象的文档
|
|
2009
|
+
model: {
|
|
2010
|
+
//放大比例
|
|
2011
|
+
scale: 20,
|
|
2012
|
+
//固定大小设为0
|
|
2013
|
+
minimumPixelSize: 0,
|
|
2014
|
+
// 模型贴地显示
|
|
2015
|
+
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND
|
|
2016
|
+
},
|
|
2017
|
+
...
|
|
2018
|
+
})
|
|
2706
2019
|
|
|
2020
|
+
// 3 开始漫游
|
|
2021
|
+
animationTool.start()
|
|
2707
2022
|
|
|
2023
|
+
// 4 暂停漫游
|
|
2024
|
+
animationTool.pause
|
|
2708
2025
|
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
<td class="name"><code><p>是否显示提示信息</p></code></td>
|
|
2712
|
-
</tr>
|
|
2713
|
-
|
|
2714
|
-
<tr class="deep-level-0">
|
|
2715
|
-
<td class="name"><code><a href="#showPath">showPath</a></code></td>
|
|
2716
|
-
<td class="name">
|
|
2717
|
-
<code>
|
|
2718
|
-
|
|
2719
|
-
<span class="param-type">
|
|
2720
|
-
|
|
2721
|
-
Boolean
|
|
2026
|
+
// 5 结束漫游
|
|
2027
|
+
animationTool.stop()</code></pre>
|
|
2722
2028
|
|
|
2723
|
-
</span>
|
|
2724
2029
|
|
|
2725
2030
|
|
|
2726
2031
|
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
<tr class="deep-level-0">
|
|
2733
|
-
<td class="name"><code><a href="#speed">speed</a></code></td>
|
|
2734
|
-
<td class="name">
|
|
2735
|
-
<code>
|
|
2736
|
-
|
|
2737
|
-
<span class="param-type">
|
|
2738
|
-
|
|
2739
|
-
Number
|
|
2032
|
+
</div>
|
|
2033
|
+
</div>
|
|
2034
|
+
</div>
|
|
2035
|
+
|
|
2740
2036
|
|
|
2741
|
-
</
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
</code>
|
|
2746
|
-
</td>
|
|
2747
|
-
<td class="name"><code><p>漫游速度</p></code></td>
|
|
2748
|
-
</tr>
|
|
2749
|
-
|
|
2750
|
-
<tr class="deep-level-0">
|
|
2751
|
-
<td class="name"><code><a href="#speedArray">speedArray</a></code></td>
|
|
2752
|
-
<td class="name">
|
|
2753
|
-
<code>
|
|
2754
|
-
|
|
2755
|
-
<span class="param-type">
|
|
2037
|
+
</div>
|
|
2756
2038
|
|
|
2757
|
-
Array
|
|
2758
2039
|
|
|
2759
|
-
</span>
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
2040
|
|
|
2763
|
-
</code>
|
|
2764
|
-
</td>
|
|
2765
|
-
<td class="name"><code><p>用于变速漫游中,设定各个点的速度</p></code></td>
|
|
2766
|
-
</tr>
|
|
2767
|
-
|
|
2768
|
-
<tr class="deep-level-0">
|
|
2769
|
-
<td class="name"><code><a href="#speedupFactor">speedupFactor</a></code></td>
|
|
2770
|
-
<td class="name">
|
|
2771
|
-
<code>
|
|
2772
|
-
|
|
2773
|
-
<span class="param-type">
|
|
2774
|
-
|
|
2775
|
-
Number
|
|
2776
2041
|
|
|
2777
|
-
</span>
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
2042
|
|
|
2781
|
-
</code>
|
|
2782
|
-
</td>
|
|
2783
|
-
<td class="name"><code><p>快进(设置倍数)</p></code></td>
|
|
2784
|
-
</tr>
|
|
2785
|
-
|
|
2786
|
-
<tr class="deep-level-0">
|
|
2787
|
-
<td class="name"><code><a href="#startPositionIndex">startPositionIndex</a></code></td>
|
|
2788
|
-
<td class="name">
|
|
2789
|
-
<code>
|
|
2790
|
-
|
|
2791
|
-
<span class="param-type">
|
|
2792
|
-
|
|
2793
|
-
Number
|
|
2794
2043
|
|
|
2795
|
-
</span>
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
2044
|
|
|
2799
|
-
</code>
|
|
2800
|
-
</td>
|
|
2801
|
-
<td class="name"><code><p>用于记录开始路径漫游跳转点的上一个路径点的索引</p></code></td>
|
|
2802
|
-
</tr>
|
|
2803
|
-
|
|
2804
|
-
<tr class="deep-level-0">
|
|
2805
|
-
<td class="name"><code><a href="#timeArray">timeArray</a></code></td>
|
|
2806
|
-
<td class="name">
|
|
2807
|
-
<code>
|
|
2808
|
-
|
|
2809
|
-
<span class="param-type">
|
|
2810
|
-
|
|
2811
|
-
Array
|
|
2812
2045
|
|
|
2813
|
-
</span>
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
2046
|
|
|
2817
|
-
</code>
|
|
2818
|
-
</td>
|
|
2819
|
-
<td class="name"><code><p>用于变速漫游中,设定各个点通过的时间数组,时间使用Date()对象</p></code></td>
|
|
2820
|
-
</tr>
|
|
2821
|
-
|
|
2822
|
-
<tr class="deep-level-0">
|
|
2823
|
-
<td class="name"><code><a href="#viewshedAnalysis">viewshedAnalysis</a></code></td>
|
|
2824
|
-
<td class="name">
|
|
2825
|
-
<code>
|
|
2826
|
-
|
|
2827
|
-
<span class="param-type">
|
|
2828
|
-
|
|
2829
|
-
Object
|
|
2830
2047
|
|
|
2831
|
-
</span>
|
|
2832
|
-
|
|
2833
2048
|
|
|
2049
|
+
|
|
2834
2050
|
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
</tr>
|
|
2839
|
-
|
|
2840
|
-
</tbody>
|
|
2841
|
-
</table>
|
|
2842
|
-
</div>
|
|
2843
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">成员变量详情</h4>
|
|
2051
|
+
|
|
2052
|
+
<div class='vertical-section'>
|
|
2053
|
+
<h3 id='member'>成员变量</h3>
|
|
2844
2054
|
<div class="members">
|
|
2845
2055
|
|
|
2846
2056
|
<div class="member">
|
|
@@ -2848,12 +2058,7 @@ animationTool.stop()</code></pre>
|
|
|
2848
2058
|
<span class="method-parameter is-pulled-right">
|
|
2849
2059
|
<label>类型:</label>
|
|
2850
2060
|
|
|
2851
|
-
<span class="param-type">
|
|
2852
|
-
|
|
2853
|
-
Number
|
|
2854
|
-
|
|
2855
|
-
</span>
|
|
2856
|
-
|
|
2061
|
+
<span class="param-type">Number</span>
|
|
2857
2062
|
|
|
2858
2063
|
|
|
2859
2064
|
</span>
|
|
@@ -2927,12 +2132,7 @@ animationTool.stop()</code></pre>
|
|
|
2927
2132
|
<span class="method-parameter is-pulled-right">
|
|
2928
2133
|
<label>类型:</label>
|
|
2929
2134
|
|
|
2930
|
-
<span class="param-type">
|
|
2931
|
-
|
|
2932
|
-
Number
|
|
2933
|
-
|
|
2934
|
-
</span>
|
|
2935
|
-
|
|
2135
|
+
<span class="param-type">Number</span>
|
|
2936
2136
|
|
|
2937
2137
|
|
|
2938
2138
|
</span>
|
|
@@ -3002,12 +2202,7 @@ animationTool.stop()</code></pre>
|
|
|
3002
2202
|
<span class="method-parameter is-pulled-right">
|
|
3003
2203
|
<label>类型:</label>
|
|
3004
2204
|
|
|
3005
|
-
<span class="param-type">
|
|
3006
|
-
|
|
3007
|
-
function
|
|
3008
|
-
|
|
3009
|
-
</span>
|
|
3010
|
-
|
|
2205
|
+
<span class="param-type">function</span>
|
|
3011
2206
|
|
|
3012
2207
|
|
|
3013
2208
|
</span>
|
|
@@ -3093,12 +2288,7 @@ animationTool.stop()</code></pre>
|
|
|
3093
2288
|
<span class="method-parameter is-pulled-right">
|
|
3094
2289
|
<label>类型:</label>
|
|
3095
2290
|
|
|
3096
|
-
<span class="param-type">
|
|
3097
|
-
|
|
3098
|
-
Number
|
|
3099
|
-
|
|
3100
|
-
</span>
|
|
3101
|
-
|
|
2291
|
+
<span class="param-type">Number</span>
|
|
3102
2292
|
|
|
3103
2293
|
|
|
3104
2294
|
</span>
|
|
@@ -3170,12 +2360,7 @@ animationTool.stop()</code></pre>
|
|
|
3170
2360
|
<span class="method-parameter is-pulled-right">
|
|
3171
2361
|
<label>类型:</label>
|
|
3172
2362
|
|
|
3173
|
-
<span class="param-type">
|
|
3174
|
-
|
|
3175
|
-
Number
|
|
3176
|
-
|
|
3177
|
-
</span>
|
|
3178
|
-
|
|
2363
|
+
<span class="param-type">Number</span>
|
|
3179
2364
|
|
|
3180
2365
|
|
|
3181
2366
|
</span>
|
|
@@ -3245,12 +2430,7 @@ animationTool.stop()</code></pre>
|
|
|
3245
2430
|
<span class="method-parameter is-pulled-right">
|
|
3246
2431
|
<label>类型:</label>
|
|
3247
2432
|
|
|
3248
|
-
<span class="param-type">
|
|
3249
|
-
|
|
3250
|
-
Number
|
|
3251
|
-
|
|
3252
|
-
</span>
|
|
3253
|
-
|
|
2433
|
+
<span class="param-type">Number</span>
|
|
3254
2434
|
|
|
3255
2435
|
|
|
3256
2436
|
</span>
|
|
@@ -3320,12 +2500,7 @@ animationTool.stop()</code></pre>
|
|
|
3320
2500
|
<span class="method-parameter is-pulled-right">
|
|
3321
2501
|
<label>类型:</label>
|
|
3322
2502
|
|
|
3323
|
-
<span class="param-type">
|
|
3324
|
-
|
|
3325
|
-
Object
|
|
3326
|
-
|
|
3327
|
-
</span>
|
|
3328
|
-
|
|
2503
|
+
<span class="param-type">Object</span>
|
|
3329
2504
|
|
|
3330
2505
|
|
|
3331
2506
|
</span>
|
|
@@ -3395,12 +2570,7 @@ animationTool.stop()</code></pre>
|
|
|
3395
2570
|
<span class="method-parameter is-pulled-right">
|
|
3396
2571
|
<label>类型:</label>
|
|
3397
2572
|
|
|
3398
|
-
<span class="param-type">
|
|
3399
|
-
|
|
3400
|
-
Boolean
|
|
3401
|
-
|
|
3402
|
-
</span>
|
|
3403
|
-
|
|
2573
|
+
<span class="param-type">Boolean</span>
|
|
3404
2574
|
|
|
3405
2575
|
|
|
3406
2576
|
</span>
|
|
@@ -3472,12 +2642,7 @@ animationTool.stop()</code></pre>
|
|
|
3472
2642
|
<span class="method-parameter is-pulled-right">
|
|
3473
2643
|
<label>类型:</label>
|
|
3474
2644
|
|
|
3475
|
-
<span class="param-type">
|
|
3476
|
-
|
|
3477
|
-
Object
|
|
3478
|
-
|
|
3479
|
-
</span>
|
|
3480
|
-
|
|
2645
|
+
<span class="param-type">Object</span>
|
|
3481
2646
|
|
|
3482
2647
|
|
|
3483
2648
|
</span>
|
|
@@ -3551,12 +2716,7 @@ animationTool.stop()</code></pre>
|
|
|
3551
2716
|
<span class="method-parameter is-pulled-right">
|
|
3552
2717
|
<label>类型:</label>
|
|
3553
2718
|
|
|
3554
|
-
<span class="param-type">
|
|
3555
|
-
|
|
3556
|
-
Number
|
|
3557
|
-
|
|
3558
|
-
</span>
|
|
3559
|
-
|
|
2719
|
+
<span class="param-type">Number</span>
|
|
3560
2720
|
|
|
3561
2721
|
|
|
3562
2722
|
</span>
|
|
@@ -3626,12 +2786,7 @@ animationTool.stop()</code></pre>
|
|
|
3626
2786
|
<span class="method-parameter is-pulled-right">
|
|
3627
2787
|
<label>类型:</label>
|
|
3628
2788
|
|
|
3629
|
-
<span class="param-type">
|
|
3630
|
-
|
|
3631
|
-
Number
|
|
3632
|
-
|
|
3633
|
-
</span>
|
|
3634
|
-
|
|
2789
|
+
<span class="param-type">Number</span>
|
|
3635
2790
|
|
|
3636
2791
|
|
|
3637
2792
|
</span>
|
|
@@ -3701,12 +2856,7 @@ animationTool.stop()</code></pre>
|
|
|
3701
2856
|
<span class="method-parameter is-pulled-right">
|
|
3702
2857
|
<label>类型:</label>
|
|
3703
2858
|
|
|
3704
|
-
<span class="param-type">
|
|
3705
|
-
|
|
3706
|
-
Boolean
|
|
3707
|
-
|
|
3708
|
-
</span>
|
|
3709
|
-
|
|
2859
|
+
<span class="param-type">Boolean</span>
|
|
3710
2860
|
|
|
3711
2861
|
|
|
3712
2862
|
</span>
|
|
@@ -3776,12 +2926,7 @@ animationTool.stop()</code></pre>
|
|
|
3776
2926
|
<span class="method-parameter is-pulled-right">
|
|
3777
2927
|
<label>类型:</label>
|
|
3778
2928
|
|
|
3779
|
-
<span class="param-type">
|
|
3780
|
-
|
|
3781
|
-
Boolean
|
|
3782
|
-
|
|
3783
|
-
</span>
|
|
3784
|
-
|
|
2929
|
+
<span class="param-type">Boolean</span>
|
|
3785
2930
|
|
|
3786
2931
|
|
|
3787
2932
|
</span>
|
|
@@ -3853,12 +2998,7 @@ animationTool.stop()</code></pre>
|
|
|
3853
2998
|
<span class="method-parameter is-pulled-right">
|
|
3854
2999
|
<label>类型:</label>
|
|
3855
3000
|
|
|
3856
|
-
<span class="param-type">
|
|
3857
|
-
|
|
3858
|
-
Boolean
|
|
3859
|
-
|
|
3860
|
-
</span>
|
|
3861
|
-
|
|
3001
|
+
<span class="param-type">Boolean</span>
|
|
3862
3002
|
|
|
3863
3003
|
|
|
3864
3004
|
</span>
|
|
@@ -3928,12 +3068,7 @@ animationTool.stop()</code></pre>
|
|
|
3928
3068
|
<span class="method-parameter is-pulled-right">
|
|
3929
3069
|
<label>类型:</label>
|
|
3930
3070
|
|
|
3931
|
-
<span class="param-type">
|
|
3932
|
-
|
|
3933
|
-
Boolean
|
|
3934
|
-
|
|
3935
|
-
</span>
|
|
3936
|
-
|
|
3071
|
+
<span class="param-type">Boolean</span>
|
|
3937
3072
|
|
|
3938
3073
|
|
|
3939
3074
|
</span>
|
|
@@ -4003,12 +3138,7 @@ animationTool.stop()</code></pre>
|
|
|
4003
3138
|
<span class="method-parameter is-pulled-right">
|
|
4004
3139
|
<label>类型:</label>
|
|
4005
3140
|
|
|
4006
|
-
<span class="param-type">
|
|
4007
|
-
|
|
4008
|
-
Boolean
|
|
4009
|
-
|
|
4010
|
-
</span>
|
|
4011
|
-
|
|
3141
|
+
<span class="param-type">Boolean</span>
|
|
4012
3142
|
|
|
4013
3143
|
|
|
4014
3144
|
</span>
|
|
@@ -4080,12 +3210,7 @@ animationTool.stop()</code></pre>
|
|
|
4080
3210
|
<span class="method-parameter is-pulled-right">
|
|
4081
3211
|
<label>类型:</label>
|
|
4082
3212
|
|
|
4083
|
-
<span class="param-type">
|
|
4084
|
-
|
|
4085
|
-
Number
|
|
4086
|
-
|
|
4087
|
-
</span>
|
|
4088
|
-
|
|
3213
|
+
<span class="param-type">Number</span>
|
|
4089
3214
|
|
|
4090
3215
|
|
|
4091
3216
|
</span>
|
|
@@ -4155,12 +3280,7 @@ animationTool.stop()</code></pre>
|
|
|
4155
3280
|
<span class="method-parameter is-pulled-right">
|
|
4156
3281
|
<label>类型:</label>
|
|
4157
3282
|
|
|
4158
|
-
<span class="param-type">
|
|
4159
|
-
|
|
4160
|
-
Object
|
|
4161
|
-
|
|
4162
|
-
</span>
|
|
4163
|
-
|
|
3283
|
+
<span class="param-type">Object</span>
|
|
4164
3284
|
|
|
4165
3285
|
|
|
4166
3286
|
</span>
|
|
@@ -4230,12 +3350,7 @@ animationTool.stop()</code></pre>
|
|
|
4230
3350
|
<span class="method-parameter is-pulled-right">
|
|
4231
3351
|
<label>类型:</label>
|
|
4232
3352
|
|
|
4233
|
-
<span class="param-type">
|
|
4234
|
-
|
|
4235
|
-
Number
|
|
4236
|
-
|
|
4237
|
-
</span>
|
|
4238
|
-
|
|
3353
|
+
<span class="param-type">Number</span>
|
|
4239
3354
|
|
|
4240
3355
|
|
|
4241
3356
|
</span>
|
|
@@ -4305,12 +3420,7 @@ animationTool.stop()</code></pre>
|
|
|
4305
3420
|
<span class="method-parameter is-pulled-right">
|
|
4306
3421
|
<label>类型:</label>
|
|
4307
3422
|
|
|
4308
|
-
<span class="param-type">
|
|
4309
|
-
|
|
4310
|
-
Number
|
|
4311
|
-
|
|
4312
|
-
</span>
|
|
4313
|
-
|
|
3423
|
+
<span class="param-type">Number</span>
|
|
4314
3424
|
|
|
4315
3425
|
|
|
4316
3426
|
</span>
|
|
@@ -4380,12 +3490,7 @@ animationTool.stop()</code></pre>
|
|
|
4380
3490
|
<span class="method-parameter is-pulled-right">
|
|
4381
3491
|
<label>类型:</label>
|
|
4382
3492
|
|
|
4383
|
-
<span class="param-type">
|
|
4384
|
-
|
|
4385
|
-
Number
|
|
4386
|
-
|
|
4387
|
-
</span>
|
|
4388
|
-
|
|
3493
|
+
<span class="param-type">Number</span>
|
|
4389
3494
|
|
|
4390
3495
|
|
|
4391
3496
|
</span>
|
|
@@ -4455,12 +3560,7 @@ animationTool.stop()</code></pre>
|
|
|
4455
3560
|
<span class="method-parameter is-pulled-right">
|
|
4456
3561
|
<label>类型:</label>
|
|
4457
3562
|
|
|
4458
|
-
<span class="param-type">
|
|
4459
|
-
|
|
4460
|
-
Boolean
|
|
4461
|
-
|
|
4462
|
-
</span>
|
|
4463
|
-
|
|
3563
|
+
<span class="param-type">Boolean</span>
|
|
4464
3564
|
|
|
4465
3565
|
|
|
4466
3566
|
</span>
|
|
@@ -4532,12 +3632,7 @@ animationTool.stop()</code></pre>
|
|
|
4532
3632
|
<span class="method-parameter is-pulled-right">
|
|
4533
3633
|
<label>类型:</label>
|
|
4534
3634
|
|
|
4535
|
-
<span class="param-type">
|
|
4536
|
-
|
|
4537
|
-
Boolean
|
|
4538
|
-
|
|
4539
|
-
</span>
|
|
4540
|
-
|
|
3635
|
+
<span class="param-type">Boolean</span>
|
|
4541
3636
|
|
|
4542
3637
|
|
|
4543
3638
|
</span>
|
|
@@ -4607,12 +3702,7 @@ animationTool.stop()</code></pre>
|
|
|
4607
3702
|
<span class="method-parameter is-pulled-right">
|
|
4608
3703
|
<label>类型:</label>
|
|
4609
3704
|
|
|
4610
|
-
<span class="param-type">
|
|
4611
|
-
|
|
4612
|
-
Number
|
|
4613
|
-
|
|
4614
|
-
</span>
|
|
4615
|
-
|
|
3705
|
+
<span class="param-type">Number</span>
|
|
4616
3706
|
|
|
4617
3707
|
|
|
4618
3708
|
</span>
|
|
@@ -4682,12 +3772,7 @@ animationTool.stop()</code></pre>
|
|
|
4682
3772
|
<span class="method-parameter is-pulled-right">
|
|
4683
3773
|
<label>类型:</label>
|
|
4684
3774
|
|
|
4685
|
-
<span class="param-type">
|
|
4686
|
-
|
|
4687
|
-
Number
|
|
4688
|
-
|
|
4689
|
-
</span>
|
|
4690
|
-
|
|
3775
|
+
<span class="param-type">Number</span>
|
|
4691
3776
|
|
|
4692
3777
|
|
|
4693
3778
|
</span>
|
|
@@ -4757,12 +3842,7 @@ animationTool.stop()</code></pre>
|
|
|
4757
3842
|
<span class="method-parameter is-pulled-right">
|
|
4758
3843
|
<label>类型:</label>
|
|
4759
3844
|
|
|
4760
|
-
<span class="param-type">
|
|
4761
|
-
|
|
4762
|
-
Array
|
|
4763
|
-
|
|
4764
|
-
</span>
|
|
4765
|
-
|
|
3845
|
+
<span class="param-type">Array</span>
|
|
4766
3846
|
|
|
4767
3847
|
|
|
4768
3848
|
</span>
|
|
@@ -4832,12 +3912,7 @@ animationTool.stop()</code></pre>
|
|
|
4832
3912
|
<span class="method-parameter is-pulled-right">
|
|
4833
3913
|
<label>类型:</label>
|
|
4834
3914
|
|
|
4835
|
-
<span class="param-type">
|
|
4836
|
-
|
|
4837
|
-
Number
|
|
4838
|
-
|
|
4839
|
-
</span>
|
|
4840
|
-
|
|
3915
|
+
<span class="param-type">Number</span>
|
|
4841
3916
|
|
|
4842
3917
|
|
|
4843
3918
|
</span>
|
|
@@ -4907,12 +3982,7 @@ animationTool.stop()</code></pre>
|
|
|
4907
3982
|
<span class="method-parameter is-pulled-right">
|
|
4908
3983
|
<label>类型:</label>
|
|
4909
3984
|
|
|
4910
|
-
<span class="param-type">
|
|
4911
|
-
|
|
4912
|
-
Number
|
|
4913
|
-
|
|
4914
|
-
</span>
|
|
4915
|
-
|
|
3985
|
+
<span class="param-type">Number</span>
|
|
4916
3986
|
|
|
4917
3987
|
|
|
4918
3988
|
</span>
|
|
@@ -4982,12 +4052,7 @@ animationTool.stop()</code></pre>
|
|
|
4982
4052
|
<span class="method-parameter is-pulled-right">
|
|
4983
4053
|
<label>类型:</label>
|
|
4984
4054
|
|
|
4985
|
-
<span class="param-type">
|
|
4986
|
-
|
|
4987
|
-
Number
|
|
4988
|
-
|
|
4989
|
-
</span>
|
|
4990
|
-
|
|
4055
|
+
<span class="param-type">Number</span>
|
|
4991
4056
|
|
|
4992
4057
|
|
|
4993
4058
|
</span>
|
|
@@ -5057,12 +4122,7 @@ animationTool.stop()</code></pre>
|
|
|
5057
4122
|
<span class="method-parameter is-pulled-right">
|
|
5058
4123
|
<label>类型:</label>
|
|
5059
4124
|
|
|
5060
|
-
<span class="param-type">
|
|
5061
|
-
|
|
5062
|
-
Object
|
|
5063
|
-
|
|
5064
|
-
</span>
|
|
5065
|
-
|
|
4125
|
+
<span class="param-type">Object</span>
|
|
5066
4126
|
|
|
5067
4127
|
|
|
5068
4128
|
</span>
|
|
@@ -5132,12 +4192,7 @@ animationTool.stop()</code></pre>
|
|
|
5132
4192
|
<span class="method-parameter is-pulled-right">
|
|
5133
4193
|
<label>类型:</label>
|
|
5134
4194
|
|
|
5135
|
-
<span class="param-type">
|
|
5136
|
-
|
|
5137
|
-
Boolean
|
|
5138
|
-
|
|
5139
|
-
</span>
|
|
5140
|
-
|
|
4195
|
+
<span class="param-type">Boolean</span>
|
|
5141
4196
|
|
|
5142
4197
|
|
|
5143
4198
|
</span>
|
|
@@ -5207,12 +4262,7 @@ animationTool.stop()</code></pre>
|
|
|
5207
4262
|
<span class="method-parameter is-pulled-right">
|
|
5208
4263
|
<label>类型:</label>
|
|
5209
4264
|
|
|
5210
|
-
<span class="param-type">
|
|
5211
|
-
|
|
5212
|
-
Boolean
|
|
5213
|
-
|
|
5214
|
-
</span>
|
|
5215
|
-
|
|
4265
|
+
<span class="param-type">Boolean</span>
|
|
5216
4266
|
|
|
5217
4267
|
|
|
5218
4268
|
</span>
|
|
@@ -5282,12 +4332,7 @@ animationTool.stop()</code></pre>
|
|
|
5282
4332
|
<span class="method-parameter is-pulled-right">
|
|
5283
4333
|
<label>类型:</label>
|
|
5284
4334
|
|
|
5285
|
-
<span class="param-type">
|
|
5286
|
-
|
|
5287
|
-
Number
|
|
5288
|
-
|
|
5289
|
-
</span>
|
|
5290
|
-
|
|
4335
|
+
<span class="param-type">Number</span>
|
|
5291
4336
|
|
|
5292
4337
|
|
|
5293
4338
|
</span>
|
|
@@ -5357,12 +4402,7 @@ animationTool.stop()</code></pre>
|
|
|
5357
4402
|
<span class="method-parameter is-pulled-right">
|
|
5358
4403
|
<label>类型:</label>
|
|
5359
4404
|
|
|
5360
|
-
<span class="param-type">
|
|
5361
|
-
|
|
5362
|
-
Array
|
|
5363
|
-
|
|
5364
|
-
</span>
|
|
5365
|
-
|
|
4405
|
+
<span class="param-type">Array</span>
|
|
5366
4406
|
|
|
5367
4407
|
|
|
5368
4408
|
</span>
|
|
@@ -5432,12 +4472,7 @@ animationTool.stop()</code></pre>
|
|
|
5432
4472
|
<span class="method-parameter is-pulled-right">
|
|
5433
4473
|
<label>类型:</label>
|
|
5434
4474
|
|
|
5435
|
-
<span class="param-type">
|
|
5436
|
-
|
|
5437
|
-
Number
|
|
5438
|
-
|
|
5439
|
-
</span>
|
|
5440
|
-
|
|
4475
|
+
<span class="param-type">Number</span>
|
|
5441
4476
|
|
|
5442
4477
|
|
|
5443
4478
|
</span>
|
|
@@ -5507,12 +4542,7 @@ animationTool.stop()</code></pre>
|
|
|
5507
4542
|
<span class="method-parameter is-pulled-right">
|
|
5508
4543
|
<label>类型:</label>
|
|
5509
4544
|
|
|
5510
|
-
<span class="param-type">
|
|
5511
|
-
|
|
5512
|
-
Number
|
|
5513
|
-
|
|
5514
|
-
</span>
|
|
5515
|
-
|
|
4545
|
+
<span class="param-type">Number</span>
|
|
5516
4546
|
|
|
5517
4547
|
|
|
5518
4548
|
</span>
|
|
@@ -5582,12 +4612,7 @@ animationTool.stop()</code></pre>
|
|
|
5582
4612
|
<span class="method-parameter is-pulled-right">
|
|
5583
4613
|
<label>类型:</label>
|
|
5584
4614
|
|
|
5585
|
-
<span class="param-type">
|
|
5586
|
-
|
|
5587
|
-
Array
|
|
5588
|
-
|
|
5589
|
-
</span>
|
|
5590
|
-
|
|
4615
|
+
<span class="param-type">Array</span>
|
|
5591
4616
|
|
|
5592
4617
|
|
|
5593
4618
|
</span>
|
|
@@ -5657,12 +4682,7 @@ animationTool.stop()</code></pre>
|
|
|
5657
4682
|
<span class="method-parameter is-pulled-right">
|
|
5658
4683
|
<label>类型:</label>
|
|
5659
4684
|
|
|
5660
|
-
<span class="param-type">
|
|
5661
|
-
|
|
5662
|
-
Object
|
|
5663
|
-
|
|
5664
|
-
</span>
|
|
5665
|
-
|
|
4685
|
+
<span class="param-type">Object</span>
|
|
5666
4686
|
|
|
5667
4687
|
|
|
5668
4688
|
</span>
|
|
@@ -5734,43 +4754,7 @@ animationTool.stop()</code></pre>
|
|
|
5734
4754
|
|
|
5735
4755
|
<div class='vertical-section'>
|
|
5736
4756
|
<h3 id='function'>方法</h3>
|
|
5737
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
5738
4757
|
<div class="members">
|
|
5739
|
-
<div class="table-container">
|
|
5740
|
-
<table class="params table">
|
|
5741
|
-
<thead>
|
|
5742
|
-
<tr>
|
|
5743
|
-
<th>名称</th>
|
|
5744
|
-
<th>返回值类型</th>
|
|
5745
|
-
<th>描述</th>
|
|
5746
|
-
</tr>
|
|
5747
|
-
</thead>
|
|
5748
|
-
<tbody>
|
|
5749
|
-
|
|
5750
|
-
<tr class="deep-level-0">
|
|
5751
|
-
<td class="name"><code><a href="#start">start</a></code></td>
|
|
5752
|
-
<td class="name">
|
|
5753
|
-
<code>
|
|
5754
|
-
|
|
5755
|
-
</code>
|
|
5756
|
-
</td>
|
|
5757
|
-
<td class="name"><code><p>开始漫游</p></code></td>
|
|
5758
|
-
</tr>
|
|
5759
|
-
|
|
5760
|
-
<tr class="deep-level-0">
|
|
5761
|
-
<td class="name"><code><a href="#stop">stop</a></code></td>
|
|
5762
|
-
<td class="name">
|
|
5763
|
-
<code>
|
|
5764
|
-
|
|
5765
|
-
</code>
|
|
5766
|
-
</td>
|
|
5767
|
-
<td class="name"><code><p>结束漫游</p></code></td>
|
|
5768
|
-
</tr>
|
|
5769
|
-
|
|
5770
|
-
</tbody>
|
|
5771
|
-
</table>
|
|
5772
|
-
</div>
|
|
5773
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
5774
4758
|
|
|
5775
4759
|
<div class="member">
|
|
5776
4760
|
|
|
@@ -5779,7 +4763,7 @@ animationTool.stop()</code></pre>
|
|
|
5779
4763
|
<h4 class="name" id="start">
|
|
5780
4764
|
<a class="href-link" href="#start">#</a>
|
|
5781
4765
|
|
|
5782
|
-
<span class="code-name"
|
|
4766
|
+
<span class="code-name" style="font-size:30px">
|
|
5783
4767
|
|
|
5784
4768
|
start<span class="signature">()</span>
|
|
5785
4769
|
|
|
@@ -5870,7 +4854,7 @@ animationTool.stop()</code></pre>
|
|
|
5870
4854
|
<h4 class="name" id="stop">
|
|
5871
4855
|
<a class="href-link" href="#stop">#</a>
|
|
5872
4856
|
|
|
5873
|
-
<span class="code-name"
|
|
4857
|
+
<span class="code-name" style="font-size:30px">
|
|
5874
4858
|
|
|
5875
4859
|
stop<span class="signature">()</span>
|
|
5876
4860
|
|
|
@@ -5963,4 +4947,42 @@ animationTool.stop()</code></pre>
|
|
|
5963
4947
|
|
|
5964
4948
|
</article>
|
|
5965
4949
|
|
|
5966
|
-
</section>
|
|
4950
|
+
</section>
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
|
|
4954
|
+
|
|
4955
|
+
</div>
|
|
4956
|
+
|
|
4957
|
+
<footer class="footer">
|
|
4958
|
+
<div class="content has-text-centered">
|
|
4959
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 17.1.1</a></p>
|
|
4960
|
+
<p class="sidebar-created-by">
|
|
4961
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
4962
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
4963
|
+
</p>
|
|
4964
|
+
</div>
|
|
4965
|
+
</footer>
|
|
4966
|
+
|
|
4967
|
+
</div>
|
|
4968
|
+
<div id="side-nav" class="side-nav">
|
|
4969
|
+
<div style="margin-bottom: 10px;">
|
|
4970
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
4971
|
+
</div>
|
|
4972
|
+
<div style="margin-bottom: 10px;">
|
|
4973
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
4974
|
+
</div>
|
|
4975
|
+
<div style="margin-bottom: 10px;">
|
|
4976
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
4977
|
+
</div>
|
|
4978
|
+
<div>
|
|
4979
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
4980
|
+
</div>
|
|
4981
|
+
</div>
|
|
4982
|
+
</div>
|
|
4983
|
+
<script src="scripts/linenumber.js"> </script>
|
|
4984
|
+
|
|
4985
|
+
<script src="scripts/search.js"> </script>
|
|
4986
|
+
|
|
4987
|
+
</body>
|
|
4988
|
+
</html>
|