@mapgis/webclient-cesium-plugin 17.8.0 → 17.10.9
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 +280 -474
- package/dist/esm/commonjsHelpers.js +1 -0
- package/dist/esm/s3m.js +1 -0
- package/dist/esm/webclient-cesium-plugin.js +1 -0
- package/dist/umd/webclient-cesium-plugin.min.js +1 -0
- package/{documention → documentation}/AlgorithmLib.html +169 -149
- package/{documention → documentation}/AngulationTool.html +85 -51
- package/{documention → documentation}/AnimationTool.html +30 -30
- package/{documention → documentation}/ArcGISMapServerImageryProvider.html +9 -13
- package/{documention → documentation}/ArcGISMapServerSingleImageryProvider.html +90 -30
- package/{documention → documentation}/ArcGISTileServerImageryProvider.html +17 -17
- package/{documention → documentation}/ArcGISVectorTileImageryProvider.html +21 -8
- package/{documention → documentation}/BaseImageryProvider.html +2 -2
- package/{documention → documentation}/Cesium.Material.html +2 -2
- package/{documention → documentation}/Cesium.Viewer.html +5 -5
- package/{documention → documentation}/Cesium3DTileset.html +43 -25
- package/{documention → documentation}/CesiumHeatmap.html +22 -19
- package/{documention/S3MTileset.html → documentation/CesiumNavigation.html} +52 -85
- package/{documention → documentation}/CesiumTerrainProvider.html +55 -15
- package/{documention/OpenWeatherImageryProvider.html → documentation/CircleWaveMaterialProperty.html} +75 -95
- package/{documention → documentation}/CollisionDetectionByRender.html +245 -88
- package/{documention → documentation}/CompatibleFunc.html +24 -33
- package/{documention → documentation}/CustomPrimitive.html +3 -5
- package/{documention → documentation}/CustomProjection.html +3 -3
- package/{documention → documentation}/CustomTilingScheme.html +35 -36
- package/{documention → documentation}/CutFillAnalysis.html +59 -27
- package/{documention → documentation}/CuttingTool.html +198 -103
- package/{documention → documentation}/Deferred.html +2 -2
- package/{documention → documentation}/DrawElement.html +418 -34
- package/{documention → documentation}/DrawTool.html +81 -29
- package/documentation/EditTool.html +2819 -0
- package/{documention → documentation}/FirstPersonPerspective.html +18 -10
- package/{documention → documentation}/FloodAnalysis.html +93 -23
- package/{documention → documentation}/FloodAnalysisReflection.html +18 -44
- package/documentation/FlowParticle.html +863 -0
- package/{documention → documentation}/Fluid.html +473 -74
- package/{documention → documentation}/FluidFoam.html +36 -16
- package/{documention → documentation}/FluidReflection.html +68 -15
- package/{documention → documentation}/FluidShadow.html +67 -14
- package/{documention → documentation}/FluidSourceCollection.html +14 -7
- package/{documention → documentation}/FluidSpecular.html +33 -14
- package/documentation/FluidSurfaceDistortion.html +682 -0
- package/documentation/FluidSurfaceFoam.html +1006 -0
- package/{documention → documentation}/FollowPerspective.html +15 -7
- package/{documention → documentation}/GeoJSONLayerUtil.html +38 -10
- package/documentation/GeoJSONLayerView.html +1353 -0
- package/{documention → documentation}/GlobeIndependentTranslucency.html +89 -6
- package/{documention → documentation}/GodPerspective.html +14 -6
- package/{documention → documentation}/Graphic.html +1053 -1042
- package/{documention → documentation}/GraphicTransformTool.html +65 -23
- package/{documention → documentation}/GraphicsLayer.html +359 -156
- package/{documention → documentation}/GraphicsLayerUtil.html +28 -10
- package/documentation/GraphicsLayerView.html +759 -0
- package/{documention/EditTool.html → documentation/HashMap.html} +253 -418
- package/{documention → documentation}/HeightLimited.html +54 -21
- package/documentation/IGSFeatureLayerUtil.html +840 -0
- package/documentation/IGSFeatureLayerView.html +1348 -0
- package/documentation/IGSMapImageLayerUtil.html +855 -0
- package/{documention/IGSFeatureLayerUtil.html → documentation/IGSMapImageLayerView.html} +68 -46
- package/documentation/IGSTileLayerView.html +658 -0
- package/{documention → documentation}/ISSceneLayerUtil.html +3 -3
- package/{documention → documentation}/KeyboardCameraController.html +54 -6
- package/documentation/LightningStorm.html +2073 -0
- package/documentation/MapGISClusterPrimitiveCollection.html +1050 -0
- package/{documention → documentation}/MapGISDynamicLabelCollection.html +370 -178
- package/{documention → documentation}/MapGISFeatureGridCollection.html +123 -89
- package/{documention → documentation}/MapGISImageServerImageryProvider.html +93 -71
- package/{documention → documentation}/MapGISImageServerSingleImageryProvider.html +140 -92
- package/{documention → documentation}/MapGISM3DSet.html +49 -33
- package/{documention → documentation}/MapGISMapServerImageryProvider.html +78 -87
- package/{documention → documentation}/MapGISMapServerSingleImageryProvider.html +111 -43
- package/{documention → documentation}/MapGISTerrainProvider.html +268 -208
- package/{documention → documentation}/MapGISTerrainService.html +124 -82
- package/{documention → documentation}/MapGISTileAvailability.html +104 -47
- package/{documention → documentation}/MapGISTileServerImageryProvider.html +76 -83
- package/{documention → documentation}/MapGISVectorTileImageryProvider.html +135 -115
- package/{documention → documentation}/MeasureAreaTool.html +53 -14
- package/{documention → documentation}/MeasureLengthTool.html +17 -14
- package/{documention → documentation}/MeasureSlopeTool.html +73 -34
- package/{documention/FlowParticle.html → documentation/ModelEditor.html} +132 -116
- package/{documention → documentation}/ModelFilterTool.html +27 -32
- package/{documention → documentation}/ModelTransformTool.html +195 -110
- package/{documention → documentation}/NavigationControl.html +25 -5
- package/{documention → documentation}/NavigationTool.html +36 -14
- package/{documention → documentation}/NormalPerspective.html +33 -7
- package/documentation/OpenWeatherImageryProvider.html +1133 -0
- package/{documention → documentation}/PointFluidSource.html +22 -13
- package/{documention → documentation}/PolylineTrailLinkMaterialProperty.html +104 -20
- package/{documention → documentation}/Popup.html +246 -63
- package/{documention/CesiumNavigation.html → documentation/PostProcessShaderBuilder.html} +10 -54
- package/{documention → documentation}/PostProcessStageLibrary.html +3127 -121
- package/{documention → documentation}/Promise.html +6 -6
- package/{documention → documentation}/ProviderBaseUrlRegExp.html +20 -4
- package/{documention → documentation}/Puddle.html +30 -9
- package/{documention → documentation}/RadarMaterialProperty.html +73 -18
- package/{documention → documentation}/ReImg.html +164 -15
- package/{documention → documentation}/RenderUtil.html +158 -6
- package/{documention → documentation}/ResetViewNavigationControl.html +28 -8
- package/{documention → documentation}/RiverGeometry.html +7 -7
- package/{documention → documentation}/RoamParticle.html +86 -79
- package/{documention → documentation}/RouteAnimationControl.html +37 -15
- package/{documention → documentation}/RouteAnimationLabel.html +39 -12
- package/{documention → documentation}/RouteAnimationModel.html +43 -16
- package/{documention → documentation}/RouteAnimationPath.html +156 -18
- package/{documention → documentation}/RouteAnimationPerspective.html +12 -3
- package/{documention → documentation}/RouteAnimationTool.html +244 -24
- package/documentation/S3MTileset.html +570 -0
- package/{documention → documentation}/SSR.html +20 -39
- package/{documention → documentation}/SceneView.html +615 -419
- package/documentation/SceneViewUtil.html +1253 -0
- package/documentation/Screenshot.html +964 -0
- package/{documention → documentation}/SelectTool.html +31 -77
- package/{documention → documentation}/ShadowRateAnalysis.html +236 -54
- package/{documention → documentation}/ShadowRateDrawCommand.html +18 -6
- package/{documention → documentation}/SingleImageryProvider.html +32 -10
- package/{documention → documentation}/SketchEditor.html +280 -127
- package/documentation/SkyLineAnalysis.html +576 -0
- package/{documention → documentation}/StableParticle.html +165 -46
- package/{documention → documentation}/Style.html +249 -249
- package/{documention → documentation}/TerrainAnalyse.html +391 -105
- package/{documention → documentation}/TerrainExcavateTool.html +99 -3
- package/{documention → documentation}/TerrainProfile.html +198 -56
- package/{documention → documentation}/ThemeManager.html +92 -41
- package/{documention → documentation}/Tooltip.html +35 -18
- package/documentation/TransformTool.html +1010 -0
- package/{documention → documentation}/TriangulationTool.html +122 -83
- package/documentation/UnderfluidCaustic.html +843 -0
- package/documentation/UnderfluidDistortion.html +600 -0
- package/documentation/UnderfluidFog.html +843 -0
- package/documentation/UnderfluidGodRay.html +843 -0
- package/documentation/UnderwaterCaustic.html +867 -0
- package/documentation/UnderwaterDistortion.html +578 -0
- package/documentation/UnderwaterFog.html +867 -0
- package/documentation/UnderwaterGodRay.html +821 -0
- package/{documention → documentation}/UrlTemplateImageryProvider.html +21 -9
- package/{documention → documentation}/UserInterfaceControl.html +28 -9
- package/documentation/VectorTileLayerUtil.html +1364 -0
- package/{documention → documentation}/VisiblityAnalysis.html +15 -12
- package/{documention → documentation}/VolumeCloud.html +113 -21
- package/{documention → documentation}/VolumeFluidSource.html +24 -8
- package/{documention → documentation}/WFSLayerUtil.html +39 -10
- package/documentation/WFSLayerView.html +1353 -0
- package/documentation/WMSLayerUtil.html +879 -0
- package/documentation/WMTSLayerUtil.html +877 -0
- package/documentation/WaterDepth.html +583 -0
- package/{documention → documentation}/WaterReflection.html +29 -26
- package/documentation/WaterSurface.html +2555 -0
- package/{documention/Underwater.html → documentation/WaterSurfaceDistortion.html} +79 -81
- package/documentation/WaterSurfaceFoam.html +1029 -0
- package/documentation/WaterSurfaceSSR.html +867 -0
- package/{documention → documentation}/WebMapServiceImageryProvider.html +8 -12
- package/{documention → documentation}/WebMapServiceSingleImageryProvider.html +94 -32
- package/{documention → documentation}/WebMapTileServiceImageryProvider.html +10 -15
- package/documentation/WebTileLayerUtil.html +877 -0
- package/{documention → documentation}/Wind3D.html +133 -54
- package/{documention → documentation}/ZoomNavigationControl.html +145 -9
- package/documentation/fonts/glyphicons-halflings-regular.svg +543 -0
- package/{documention → documentation}/global.html +14130 -2719
- package/{documention → documentation}/index.html +1 -1
- package/{documention → documentation}/initializeOptions.html +2 -2
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +96 -95
- package/{documention → documentation}/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +47 -46
- package/{documention → documentation}/module.exports_module.exports.html +2 -2
- package/{documention → documentation}/nav.html +3267 -1392
- package/documentation/nav.json +320 -0
- package/documentation/styles/adminlte/AdminLTE.min.css +4966 -0
- package/documentation/styles/adminlte/skin-blue.min.css +135 -0
- package/documentation/styles/bootstrap.min.css +7005 -0
- package/documentation/styles/common.css +173 -0
- package/documentation/styles/examples.css +119 -0
- package/{documention → documentation}/styles/font-awesome.css +692 -687
- package/documentation/styles/header.css +558 -0
- package/documentation/styles/jaguar.css +551 -0
- package/{documention → documentation}/styles/prettify-tomorrow.css +59 -28
- package/{documention → documentation}/styles/style.customize.css +83 -99
- package/package.json +42 -22
- package/dist/es5/webclient-cesium-plugin.min.js +0 -77
- package/dist/es5/webclient-common.min.js +0 -159
- package/dist/webclient-cesium-plugin-es6.min.js +0 -77
- package/documention/CircleWaveMaterialProperty.html +0 -382
- package/documention/DynamicEntityVisualizer.html +0 -348
- package/documention/DynamicLabelLayer.html +0 -1841
- package/documention/GroundPrimitiveLayer.html +0 -1675
- package/documention/HashMap.html +0 -4197
- package/documention/ModelEditor.html +0 -374
- package/documention/SceneViewCesium.html +0 -5544
- package/documention/Screenshot.html +0 -773
- package/documention/SketchEditorCesium.html +0 -1571
- package/documention/createColorTexture.html +0 -369
- package/documention/fonts/glyphicons-halflings-regular.svg +0 -288
- package/documention/isCounterClockwise.html +0 -760
- package/documention/scripts/app.min.js +0 -1
- package/documention/scripts/jquery.min.map +0 -1
- package/documention/scripts/search.js +0 -20
- package/documention/scripts/sideBar.js +0 -228
- package/documention/scripts/underscore-min.map +0 -1
- package/documention/styles/adminlte/AdminLTE.min.css +0 -7
- package/documention/styles/adminlte/skin-blue.min.css +0 -1
- package/documention/styles/anchor.png +0 -0
- package/documention/styles/app.min.css +0 -1
- package/documention/styles/bootstrap.min.css +0 -6
- package/documention/styles/c.png +0 -0
- package/documention/styles/common.css +0 -175
- package/documention/styles/examples.css +0 -116
- package/documention/styles/header.css +0 -556
- package/documention/styles/iframe.css +0 -29
- package/documention/styles/jaguar.css +0 -553
- package/documention/styles/m.png +0 -0
- package/documention/styles/reset.css +0 -44
- package/documention/styles/up-arrow.png +0 -0
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +0 -162
- /package/{documention → documentation}/fonts/fontawesome-webfont.woff2 +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.eot +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.ttf +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff +0 -0
- /package/{documention → documentation}/fonts/glyphicons-halflings-regular.woff2 +0 -0
- /package/{documention → documentation}/scripts/adminlte/app.min.js +0 -0
- /package/{documention → documentation}/scripts/bootstrap.min.js +0 -0
- /package/{documention → documentation}/scripts/jquery.min.js +0 -0
- /package/{documention → documentation}/scripts/linenumber.js +0 -0
- /package/{documention → documentation}/scripts/main.js +0 -0
- /package/{documention → documentation}/scripts/prettify/Apache-License-2.0.txt +0 -0
- /package/{documention → documentation}/scripts/prettify/lang-css.js +0 -0
- /package/{documention → documentation}/scripts/prettify/prettify.js +0 -0
- /package/{documention → documentation}/scripts/underscore-min.js +0 -0
- /package/{documention → documentation}/styles/adminlte/font-awesome.min.css +0 -0
- /package/{documention → documentation}/styles/prettify-jsdoc.css +0 -0
package/README.md
CHANGED
|
@@ -1,667 +1,513 @@
|
|
|
1
|
-
# 1、获取 MapGIS
|
|
1
|
+
# 1、获取 MapGIS Client for JavaScript(Cesium)开发包
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MapGIS Client for JavaScript(Cesium)是 WebClient 面向 Cesium 引擎的三维地图插件包,承接 `@mapgis/webclient-common` 的地图、图层、几何、符号和工具等通用接口,并完成三维场景下的引擎适配。
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
该包提供 Cesium 引擎下的核心能力扩展,覆盖三维场景、地形、M3D/模型、空间分析、可视化和交互编辑等 WebGIS 应用能力。
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
* Beta版:面向内网用户,每周发行一次,会修订BUG并增加新功能
|
|
9
|
-
下面分别介绍两种版本包的获取方式:
|
|
7
|
+
- 示例站点:[http://webclient.smaryun.com](http://webclient.smaryun.com)
|
|
10
8
|
|
|
11
|
-
## 1.1
|
|
9
|
+
## 1.1、获取方式
|
|
12
10
|
|
|
13
|
-
### 1.1.1
|
|
11
|
+
### 1.1.1、npm 安装
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
推荐在现代工程中通过 npm 安装插件包和 Cesium 引擎包:
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
* mapgis-client-for-javascript-dist-v10.6.2.10.rar为开发库
|
|
20
|
-
* mapgis-client-for-javascript-all-v10.6.2.10.rar为开发库+示例站点
|
|
21
|
-
**MapGIS 3DClient for WebGL所需开发包位于如下文件夹中**
|
|
22
|
-
|
|
23
|
-
* webclient-cesium-plugin库:`mapgis-client-for-javascript-all-v10.6.2.10\dist\cdn\zondyclient\webclient-cesium-plugin.min.js`
|
|
24
|
-
* Cesium库:`mapgis-client-for-javascript-all-v10.6.2.10\dist\cdn\cesium`
|
|
25
|
-
**之后请将webclient-cesium-plugin.min.js文件和cesium文件夹拷贝出来,放入项目的静态资源目录**
|
|
26
|
-
|
|
27
|
-
### 1.1.2、npm 方式引入
|
|
28
|
-
|
|
29
|
-
**通过****公网****NPM的方式进行安装**
|
|
30
|
-
|
|
31
|
-
```plain
|
|
32
|
-
npm install @mapgis/cesium
|
|
33
|
-
npm install @mapgis/webclient-cesium-plugin
|
|
15
|
+
```typescript
|
|
16
|
+
npm install @mapgis/webclient-common @mapgis/webclient-cesium-plugin @mapgis/cesium
|
|
34
17
|
```
|
|
35
18
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* 其中@mapgis/cesium库,目前版本仅支持ES5的打包方式,因此请以NPM的方式下载开发包,npm安装完成后,请将开发包从node_modules里的@mapgis/cesium文件夹里拷贝出来,放入项目的静态资源目录中
|
|
39
|
-
<center>
|
|
40
|
-
<img src="http://webclient.smaryun.com/static/modules/cesium/source/img/开发指南_3.png" style="zoom:100%;" />
|
|
41
|
-
</center>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
## 1.2、Beta版
|
|
45
|
-
|
|
46
|
-
### 1.2.1、文件方式引入
|
|
47
|
-
|
|
48
|
-
**前往内网****npm****开发库下载MapGIS 3DClient for WebGL相关开发包**
|
|
49
|
-
|
|
50
|
-
* [@mapgis/webclient-cesium-plugin](http://192.168.11.130:4873/-/web/detail/@mapgis/webclient-cesium-plugin)
|
|
51
|
-
* [@mapgis/cesium](http://192.168.11.130:4873/-/web/detail/@mapgis/cesium)
|
|
52
|
-
以 16.1.26版本为例进行说明
|
|
19
|
+
`@mapgis/webclient-cesium-plugin` 负责 WebClient 三维能力扩展,`@mapgis/cesium` 提供 Cesium 引擎运行时和静态资源。
|
|
53
20
|
|
|
54
|
-
1
|
|
21
|
+
### 1.1.2、静态资源引入
|
|
55
22
|
|
|
56
|
-
|
|
57
|
-
<img src="http://webclient.smaryun.com/static/modules/cesium/source/img/开发指南_1.png" style="zoom:100%;" />
|
|
58
|
-
</center>
|
|
23
|
+
如果项目暂时不接入构建链,可以直接使用发布包中的静态资源:
|
|
59
24
|
|
|
25
|
+
如果需要通过 CDN 格式开发包或离线示例站点集成,可前往:[http://smaryun.com/dev/download_detail.html#/download828](http://smaryun.com/dev/download_detail.html#/download828)。
|
|
60
26
|
|
|
61
|
-
|
|
27
|
+
- `dist/esm/webclient-cesium-plugin.js`
|
|
28
|
+
- `dist/umd/webclient-cesium-plugin.min.js`
|
|
29
|
+
- `dist/webclient-cesium-plugin-resource`
|
|
30
|
+
- `@mapgis/cesium` 发布包中的 Cesium 引擎目录
|
|
62
31
|
|
|
63
|
-
|
|
64
|
-
<img src="http://webclient.smaryun.com/static/modules/cesium/source/img/开发指南_2.png" style="zoom:100%;" />
|
|
65
|
-
</center>
|
|
32
|
+
常见做法是将 Cesium 引擎目录、`webclient-cesium-plugin.min.js` 和插件资源目录拷贝到项目静态资源目录,再通过 `<script>` 和 `<link>` 加载。
|
|
66
33
|
|
|
34
|
+
## 1.2、能力范围
|
|
67
35
|
|
|
68
|
-
|
|
36
|
+
- `view`:三维场景视图、图层视图和视图交互
|
|
37
|
+
- `layer`:地图、影像、地形、模型、场景、矢量和三维瓦片图层
|
|
38
|
+
- `analysis`:通视、剖面、淹没、填挖方、日照和空间量算分析
|
|
39
|
+
- `visualization`:专题图、热力图、风场和三维效果表达
|
|
40
|
+
- `editor`:绘制、草图编辑和三维交互编辑
|
|
41
|
+
- `engineExtensions`:Cesium 引擎扩展、资源适配和 MapGIS 能力桥接
|
|
42
|
+
- `resource`:插件纹理、样式、Worker 和运行时资源
|
|
69
43
|
|
|
70
|
-
|
|
71
|
-
* cesium库:`cesium-16.1.26\package\dist`
|
|
44
|
+
# 2、引入方式
|
|
72
45
|
|
|
46
|
+
## 2.1、ESM 引入
|
|
73
47
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### 1.2.2、npm 方式引入
|
|
77
|
-
|
|
78
|
-
**请先将npm源切换为内网:**
|
|
48
|
+
现代工程建议使用 ESM 方式引入插件 API,并在页面中加载 Cesium 引擎资源:
|
|
79
49
|
|
|
80
50
|
```typescript
|
|
81
|
-
|
|
51
|
+
import { Map as ZondyMap } from '@mapgis/webclient-common'
|
|
52
|
+
import { SceneView, IGSSceneLayer } from '@mapgis/webclient-cesium-plugin'
|
|
82
53
|
```
|
|
83
54
|
|
|
84
|
-
|
|
55
|
+
Cesium 引擎包需要按项目构建策略复制到静态资源目录,并在入口 HTML 中加载:
|
|
85
56
|
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
|
|
57
|
+
```html
|
|
58
|
+
<script src="/static/cesium/Cesium.js"></script>
|
|
59
|
+
<link rel="stylesheet" href="/static/cesium/Widgets/widgets.css" />
|
|
60
|
+
<link rel="stylesheet" href="/static/cesium/MapGIS/css/mapgis.css" />
|
|
89
61
|
```
|
|
90
62
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
63
|
+
## 2.2、全局引入
|
|
64
|
+
|
|
65
|
+
如果使用传统页面或旧工程,可直接挂载全局对象:
|
|
66
|
+
|
|
67
|
+
```html
|
|
68
|
+
<script src="/static/cesium/Cesium.js"></script>
|
|
69
|
+
<link rel="stylesheet" href="/static/cesium/Widgets/widgets.css" />
|
|
70
|
+
<link rel="stylesheet" href="/static/cesium/MapGIS/css/mapgis.css" />
|
|
71
|
+
<script src="/static/libs/zondyclient/webclient-common.min.js"></script>
|
|
72
|
+
<script src="/static/libs/zondyclient/webclient-cesium-plugin.min.js"></script>
|
|
73
|
+
<script>
|
|
74
|
+
const { Map: ZondyMap } = window.MapGISWebClientCommon
|
|
75
|
+
const { SceneView } = window.MapGISWebClientCesiumPlugin
|
|
76
|
+
const legacyNamespace = window.zondy
|
|
77
|
+
const compatNamespace = window.Zondy
|
|
78
|
+
</script>
|
|
79
|
+
```
|
|
95
80
|
|
|
81
|
+
全局对象同时保留新命名空间和 `window.zondy`、`window.Zondy` 兼容入口,便于旧代码迁移。
|
|
96
82
|
|
|
97
|
-
#
|
|
83
|
+
# 3、快速开始
|
|
98
84
|
|
|
99
|
-
|
|
85
|
+
下面示例展示三维场景视图的最小初始化方式。实际项目中,请将容器尺寸设置为可见区域高度。
|
|
100
86
|
|
|
101
|
-
|
|
87
|
+
## 3.1、创建场景视图
|
|
102
88
|
|
|
103
89
|
```typescript
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
<head>
|
|
107
|
-
<meta charset="utf-8">
|
|
108
|
-
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
109
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
110
|
-
<!--引擎库-->
|
|
111
|
-
<script src="http://{ip}:{port}/{你的路径}/cesium/Cesium.js"></script>
|
|
112
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/Widgets/widgets.css"/>
|
|
113
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/MapGIS/css/mapgis.css"/>
|
|
114
|
-
<!--插件库-->
|
|
115
|
-
<script src="http://{ip}:{port}/{你的路径}/webclient-cesium-plugin/webclient-cesium-plugin.min.js"></script>
|
|
116
|
-
</head>
|
|
117
|
-
</html>
|
|
118
|
-
```
|
|
90
|
+
import { Map as ZondyMap } from '@mapgis/webclient-common'
|
|
91
|
+
import { SceneView } from '@mapgis/webclient-cesium-plugin'
|
|
119
92
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
<!DOCTYPE html>
|
|
126
|
-
<html>
|
|
127
|
-
<head>
|
|
128
|
-
<meta charset="utf-8">
|
|
129
|
-
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
130
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
131
|
-
<!--引擎库-->
|
|
132
|
-
<script src="http://{ip}:{port}/{你的路径}/cesium/Cesium.js"></script>
|
|
133
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/Widgets/widgets.css"/>
|
|
134
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/MapGIS/css/mapgis.css"/>
|
|
135
|
-
</head>
|
|
136
|
-
</html>
|
|
93
|
+
const zondyMap = new ZondyMap()
|
|
94
|
+
const sceneView = new SceneView({
|
|
95
|
+
viewId: 'scene-container',
|
|
96
|
+
map: zondyMap
|
|
97
|
+
})
|
|
137
98
|
```
|
|
138
99
|
|
|
139
|
-
|
|
100
|
+
## 3.2、加载场景图层
|
|
140
101
|
|
|
141
102
|
```typescript
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
# 3、初始化场景视图
|
|
103
|
+
import { Map as ZondyMap } from '@mapgis/webclient-common'
|
|
104
|
+
import { IGSSceneLayer } from '@mapgis/webclient-cesium-plugin'
|
|
146
105
|
|
|
147
|
-
|
|
106
|
+
const zondyMap = new ZondyMap()
|
|
107
|
+
const sceneLayer = new IGSSceneLayer({
|
|
108
|
+
url: 'http://server/igs/rest/g3d/SceneServer'
|
|
109
|
+
})
|
|
148
110
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
```typescript
|
|
152
|
-
/*设置场景视图的样式,一定要设置否则地图无法显示*/
|
|
153
|
-
#你的场景视图的id {
|
|
154
|
-
width: 100%;
|
|
155
|
-
height: 100%;
|
|
156
|
-
position: absolute;
|
|
157
|
-
}
|
|
111
|
+
zondyMap.add(sceneLayer)
|
|
158
112
|
```
|
|
159
113
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
<
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/Widgets/widgets.css"/>
|
|
172
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/MapGIS/css/mapgis.css"/>
|
|
173
|
-
<!--插件库-->
|
|
174
|
-
<script src="http://{ip}:{port}/{你的路径}/webclient-cesium-plugin/webclient-cesium-plugin.min.js"></script>
|
|
175
|
-
<style>
|
|
176
|
-
/*设置地图视图的样式,一定要设置否则地图无法显示*/
|
|
177
|
-
#你的场景视图的id {
|
|
178
|
-
width: 100%;
|
|
179
|
-
height: 100%;
|
|
180
|
-
position: absolute;
|
|
181
|
-
}
|
|
182
|
-
</style>
|
|
183
|
-
<script>
|
|
184
|
-
//初始化图层管理容器
|
|
185
|
-
const map = new zondy.Map();
|
|
186
|
-
//初始化场景视图对象
|
|
187
|
-
const sceneView = new zondy.SceneView({
|
|
188
|
-
//视图id
|
|
189
|
-
viewId: "你的场景视图的id",
|
|
190
|
-
//图层管理容器
|
|
191
|
-
map: map
|
|
192
|
-
});
|
|
193
|
-
</script>
|
|
194
|
-
</head>
|
|
195
|
-
<!--场景视图容器div-->
|
|
196
|
-
<div id="你的场景视图的id">
|
|
197
|
-
</div>
|
|
198
|
-
</html>
|
|
114
|
+
## 3.3、全局方式
|
|
115
|
+
|
|
116
|
+
```html
|
|
117
|
+
<div id="scene-container"></div>
|
|
118
|
+
<script>
|
|
119
|
+
const zondyMap = new zondy.Map()
|
|
120
|
+
const sceneView = new zondy.cesium.SceneView({
|
|
121
|
+
viewId: 'scene-container',
|
|
122
|
+
map: zondyMap
|
|
123
|
+
})
|
|
124
|
+
</script>
|
|
199
125
|
```
|
|
200
126
|
|
|
201
|
-
|
|
127
|
+
# 4、@mapgis/webclient-cesium-plugin 版本说明
|
|
202
128
|
|
|
203
|
-
|
|
129
|
+
## v17.10.9
|
|
204
130
|
|
|
205
|
-
|
|
131
|
+
1. 修复
|
|
206
132
|
|
|
207
|
-
|
|
208
|
-
/*设置场景视图的样式,一定要设置否则地图无法显示*/
|
|
209
|
-
#你的场景视图的id {
|
|
210
|
-
width: 100%;
|
|
211
|
-
height: 100%;
|
|
212
|
-
position: absolute;
|
|
213
|
-
}
|
|
214
|
-
```
|
|
133
|
+
- 修改分包配置,把commonjsHelpers单独打包成一个chunk,避免打入s3m中
|
|
215
134
|
|
|
216
|
-
|
|
135
|
+
## v17.10.7
|
|
217
136
|
|
|
218
|
-
|
|
219
|
-
<!DOCTYPE html>
|
|
220
|
-
<html>
|
|
221
|
-
<head>
|
|
222
|
-
<meta charset="utf-8">
|
|
223
|
-
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
224
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
225
|
-
<!--引擎库-->
|
|
226
|
-
<script src="http://{ip}:{port}/{你的路径}/cesium/Cesium.js"></script>
|
|
227
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/Widgets/widgets.css"/>
|
|
228
|
-
<link rel="stylesheet" href="http://{ip}:{port}/{你的路径}/cesium/MapGIS/css/mapgis.css"/>
|
|
229
|
-
</head>
|
|
230
|
-
<div id="app"></div>
|
|
231
|
-
</html>
|
|
232
|
-
```
|
|
137
|
+
1. 修复
|
|
233
138
|
|
|
234
|
-
|
|
139
|
+
- 修改注释问题
|
|
235
140
|
|
|
236
|
-
|
|
237
|
-
<!--场景视图容器div-->
|
|
238
|
-
<div id="你的场景视图的id">
|
|
239
|
-
</div>
|
|
240
|
-
```
|
|
141
|
+
## v17.10.6
|
|
241
142
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
```typescript
|
|
245
|
-
import { SceneView } from '@mapgis/webclient-cesium-plugin'
|
|
246
|
-
import { Map } from "@mapgis/webclient-common"
|
|
247
|
-
```
|
|
143
|
+
1. 修复
|
|
248
144
|
|
|
249
|
-
|
|
145
|
+
- 三维点符号,切换符号样式后,旧的符号样式未删除
|
|
250
146
|
|
|
251
|
-
|
|
252
|
-
// 初始化图层管理容器
|
|
253
|
-
const map = new Map();
|
|
254
|
-
// 初始化地图视图对象
|
|
255
|
-
const sceneView = new SceneView({
|
|
256
|
-
// 视图id
|
|
257
|
-
viewId: "你的场景视图的id",
|
|
258
|
-
// 图层管理容器
|
|
259
|
-
map: map
|
|
260
|
-
});
|
|
261
|
-
```
|
|
147
|
+
## v17.10.4
|
|
262
148
|
|
|
149
|
+
1. 修复
|
|
263
150
|
|
|
151
|
+
- 修复线符号 solid/none 样式切换失效以及同 id 图形缓存问题
|
|
264
152
|
|
|
265
|
-
|
|
153
|
+
## v17.10.2
|
|
266
154
|
|
|
267
|
-
|
|
155
|
+
1. 修复
|
|
268
156
|
|
|
269
|
-
|
|
157
|
+
- 上下标+分式注记显示不全
|
|
158
|
+
- 修复cesium-plugin中Style类未导出的问题
|
|
159
|
+
- 导入 Marker 类型标绘对象后,Marker 的颜色属性未正确应用导入数据中的配置,仍保持默认值
|
|
270
160
|
|
|
271
|
-
|
|
161
|
+
## v17.10.0
|
|
272
162
|
|
|
273
163
|
1. 新增
|
|
274
164
|
|
|
275
|
-
-
|
|
276
|
-
-
|
|
277
|
-
-
|
|
278
|
-
-
|
|
165
|
+
- 支持地形裁剪抬升
|
|
166
|
+
- 新增极端天气模拟-雷暴天气
|
|
167
|
+
- 新增水面、水下特效;
|
|
168
|
+
- 新增3D图形默认自定义材质
|
|
169
|
+
- 新增 elevationInfo 到 Cesium ImageryLayer.classificationType 的转换逻辑,并在各类影像/瓦片/矢量瓦片图层创建及属性更新时生效,支持 onTheScene 模式下图层叠加到三维模型之上。
|
|
279
170
|
|
|
280
171
|
2. 优化
|
|
281
172
|
|
|
282
|
-
-
|
|
173
|
+
- 优化体积云性能
|
|
174
|
+
- 优化栅格体元显示效率及效果
|
|
175
|
+
- 地形开挖支持动态设置是否显示开挖侧面和底面
|
|
283
176
|
|
|
284
|
-
|
|
177
|
+
3. 修复
|
|
285
178
|
|
|
286
|
-
|
|
179
|
+
- 修复已知问题
|
|
287
180
|
|
|
288
|
-
|
|
181
|
+
## v17.8.10
|
|
289
182
|
|
|
290
|
-
|
|
183
|
+
1. 修复
|
|
291
184
|
|
|
292
|
-
|
|
185
|
+
- 修复传编码的空间过滤参数后,空间过滤不生效的问题
|
|
186
|
+
- 修复IGS地图服务一张图 POST 请求不生效的问题
|
|
293
187
|
|
|
294
|
-
|
|
188
|
+
## v17.8.9
|
|
295
189
|
|
|
296
|
-
1.
|
|
190
|
+
1. 修复
|
|
297
191
|
|
|
298
192
|
- 修复已知问题
|
|
299
193
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
**更新说明:**
|
|
194
|
+
## v17.8.8
|
|
303
195
|
|
|
304
|
-
1.
|
|
196
|
+
1. 修复
|
|
305
197
|
|
|
306
198
|
- 修复已知问题
|
|
307
199
|
|
|
308
|
-
|
|
200
|
+
## v17.8.7
|
|
309
201
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
1. 功能优化
|
|
313
|
-
|
|
314
|
-
- 修复天际线分析中颜色设置失败的问题
|
|
202
|
+
1. 修复
|
|
315
203
|
|
|
316
|
-
|
|
204
|
+
- 修复已知问题
|
|
317
205
|
|
|
318
|
-
|
|
206
|
+
## v17.8.6
|
|
319
207
|
|
|
320
|
-
1.
|
|
208
|
+
1. 修复
|
|
321
209
|
|
|
322
|
-
-
|
|
210
|
+
- 修复已知问题
|
|
323
211
|
|
|
324
|
-
|
|
212
|
+
## v17.8.5
|
|
325
213
|
|
|
326
|
-
|
|
214
|
+
1. 修复
|
|
327
215
|
|
|
328
|
-
|
|
216
|
+
- 修复地图服务图层到一定级别不显示的问题
|
|
329
217
|
|
|
330
|
-
|
|
331
|
-
- 解决使用 startDrawing 添加广告牌时重复添加图元的问题
|
|
218
|
+
## v17.8.4
|
|
332
219
|
|
|
333
|
-
|
|
220
|
+
1. 修复
|
|
334
221
|
|
|
335
|
-
|
|
222
|
+
- 在一定视角下加载自定义裁图图层卡顿
|
|
336
223
|
|
|
337
|
-
|
|
224
|
+
## v17.8.3
|
|
338
225
|
|
|
339
|
-
|
|
226
|
+
1. 修复
|
|
340
227
|
|
|
341
|
-
|
|
228
|
+
- 修复已知问题
|
|
342
229
|
|
|
343
|
-
|
|
230
|
+
## v17.8.2
|
|
344
231
|
|
|
345
|
-
1.
|
|
232
|
+
1. 修复
|
|
346
233
|
|
|
347
|
-
-
|
|
234
|
+
- 修复已知问题
|
|
348
235
|
|
|
349
|
-
|
|
236
|
+
## v17.8.1
|
|
350
237
|
|
|
351
|
-
|
|
238
|
+
1. 修复
|
|
352
239
|
|
|
353
|
-
-
|
|
240
|
+
- 修复已知问题
|
|
354
241
|
|
|
355
|
-
|
|
242
|
+
## v17.8.0
|
|
356
243
|
|
|
357
|
-
|
|
244
|
+
1. 新增
|
|
358
245
|
|
|
359
|
-
|
|
246
|
+
- Cesium 地形剖切支持凹多边形
|
|
247
|
+
- 新增路径漫游工具 RouteAnimationTool 支持实例化多个路径漫游工具
|
|
248
|
+
- 地质体剖切功能支持 3D Tiles 格式数据(3D Tiles 1.0和 3D Tiles 1.1)
|
|
249
|
+
- 环境特效增强,支持天气特效、水下特效、集群鸟类与动物、镜头特效
|
|
360
250
|
|
|
361
|
-
|
|
251
|
+
2. 修复
|
|
362
252
|
|
|
363
|
-
|
|
253
|
+
- 优化使用非 FID 属性时更新 Cesium3DTileStyle 场景渲染效率
|
|
364
254
|
|
|
365
|
-
|
|
255
|
+
## v17.6.25
|
|
366
256
|
|
|
367
|
-
1.
|
|
257
|
+
1. 修复
|
|
368
258
|
|
|
369
|
-
-
|
|
370
|
-
- 修复 Cesium Viewer 中设置默认底图报错的问题
|
|
259
|
+
- 修复 imageryLayer.imageryProvide 对象在不同版本 Cesium 上不兼容的问题
|
|
371
260
|
|
|
372
|
-
|
|
261
|
+
## v17.6.24
|
|
373
262
|
|
|
374
|
-
|
|
263
|
+
1. 修复
|
|
375
264
|
|
|
376
|
-
-
|
|
265
|
+
- 修复已知问题
|
|
377
266
|
|
|
378
|
-
|
|
267
|
+
## v17.6.23
|
|
379
268
|
|
|
380
|
-
|
|
269
|
+
1. 修复
|
|
381
270
|
|
|
382
|
-
-
|
|
271
|
+
- 修复已知问题
|
|
383
272
|
|
|
384
|
-
|
|
273
|
+
## v17.6.22
|
|
385
274
|
|
|
386
|
-
|
|
275
|
+
1. 修复
|
|
387
276
|
|
|
388
|
-
-
|
|
277
|
+
- 修复天际线分析中颜色设置失败的问题
|
|
389
278
|
|
|
390
|
-
|
|
279
|
+
## v17.6.21
|
|
391
280
|
|
|
392
|
-
|
|
281
|
+
1. 修复
|
|
393
282
|
|
|
394
|
-
-
|
|
283
|
+
- 优化重复设置 Graphic 的 显隐属性值为 true 时场景卡顿的问题
|
|
395
284
|
|
|
396
|
-
|
|
285
|
+
## v17.6.20
|
|
397
286
|
|
|
398
|
-
|
|
287
|
+
1. 修复
|
|
399
288
|
|
|
400
|
-
-
|
|
289
|
+
- 解决地图缩放时,加载自定义裁图图层时中间状态出现闪烁的问题
|
|
290
|
+
- 解决使用 startDrawing 添加广告牌时重复添加图元的问题
|
|
401
291
|
|
|
402
|
-
|
|
292
|
+
## v17.6.19
|
|
403
293
|
|
|
404
|
-
|
|
294
|
+
1. 修复
|
|
405
295
|
|
|
406
|
-
-
|
|
296
|
+
- 解决聚合专题图报错的问题
|
|
407
297
|
|
|
408
|
-
|
|
298
|
+
## v17.6.18
|
|
409
299
|
|
|
410
|
-
|
|
300
|
+
1. 修复
|
|
411
301
|
|
|
412
|
-
|
|
302
|
+
- 修复场景图层 hitTest 拾取报错的问题
|
|
413
303
|
|
|
414
|
-
|
|
304
|
+
## v17.6.16
|
|
415
305
|
|
|
416
|
-
|
|
306
|
+
1. 修复
|
|
417
307
|
|
|
418
|
-
|
|
308
|
+
- 修复已知问题
|
|
419
309
|
|
|
420
|
-
|
|
310
|
+
## v17.6.15
|
|
421
311
|
|
|
422
|
-
|
|
312
|
+
1. 修复
|
|
423
313
|
|
|
424
|
-
|
|
314
|
+
- 插件库适配 Cesium.defaultValue 方法,以兼容官方 Cesium 的接口更新改动
|
|
315
|
+
- 修复 Cesium Viewer 中设置默认底图报错的问题
|
|
425
316
|
|
|
426
|
-
|
|
317
|
+
## v17.6.12
|
|
427
318
|
|
|
428
|
-
|
|
319
|
+
1. 修复
|
|
429
320
|
|
|
430
|
-
|
|
321
|
+
- 优化瓦片类型Provider上isStretchImage参数默认拉伸
|
|
431
322
|
|
|
432
|
-
|
|
323
|
+
## v17.6.8
|
|
433
324
|
|
|
434
|
-
|
|
325
|
+
1. 修复
|
|
435
326
|
|
|
436
|
-
|
|
327
|
+
- 修复包含空格字符的图层访问令牌(token)认证失败问题
|
|
437
328
|
|
|
438
|
-
|
|
329
|
+
## v17.6.6
|
|
439
330
|
|
|
440
|
-
|
|
331
|
+
1. 修复
|
|
441
332
|
|
|
442
|
-
|
|
333
|
+
- 优化IGS地图服务一张图出图模式下闪烁和卡顿的问题
|
|
443
334
|
|
|
444
|
-
|
|
335
|
+
## v17.6.3
|
|
445
336
|
|
|
446
|
-
1.
|
|
337
|
+
1. 修复
|
|
447
338
|
|
|
448
339
|
- 修复可视域分析视锥体未定义时的报错问题
|
|
449
340
|
- 修复混合接口方式加载动态服务时,出图过滤条件报错的问题
|
|
450
341
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
**更新说明:**
|
|
342
|
+
## v17.6.2
|
|
454
343
|
|
|
455
|
-
1.
|
|
344
|
+
1. 修复
|
|
456
345
|
|
|
457
346
|
- 修复高频率更新流体模拟粒子数量时出现偶发报错的问题
|
|
458
347
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
**更新说明:**
|
|
462
|
-
|
|
463
|
-
- 此版本无更新
|
|
348
|
+
## v17.6.0
|
|
464
349
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
**更新说明:**
|
|
468
|
-
|
|
469
|
-
1. 功能新增
|
|
350
|
+
1. 新增
|
|
470
351
|
|
|
471
352
|
- 支持三维仿真可视化:流体模拟仿真和水体效果可视化
|
|
472
353
|
- 面积、长度、角度、三角、方位角测量工具支持显示多个测量结果
|
|
473
354
|
- 新增IGS地图服务、ArcGIS地图服务、WMS服务一张图出图的服务接入Provider
|
|
474
355
|
|
|
475
|
-
2.
|
|
356
|
+
2. 修复
|
|
357
|
+
|
|
476
358
|
- 优化M3D2.0、2.1服务数据的加载性能和效果
|
|
477
359
|
- 优化剖面分析工具和地形分析工具功能效果
|
|
478
360
|
|
|
361
|
+
## v17.4.7
|
|
479
362
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
**更新说明:**
|
|
483
|
-
|
|
484
|
-
1. 功能优化
|
|
363
|
+
1. 修复
|
|
485
364
|
|
|
486
365
|
- 修复Graphic中半透明图元顺序异常的问题
|
|
487
366
|
- 修复剖面分析工具接口异常的问题
|
|
488
367
|
- 修复Popup弹窗接口异常的问题
|
|
489
368
|
|
|
490
|
-
|
|
369
|
+
## v17.4.6
|
|
491
370
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
1. 功能优化
|
|
371
|
+
1. 修复
|
|
495
372
|
|
|
496
373
|
- 修复场景设置罗盘失败的问题
|
|
497
374
|
- 修复剖切分析中绘制模型裁剪面功能中,配置剖切辅助面属性不生效的问题
|
|
498
375
|
- 修复碰撞检测中多次开启漫游时,碰撞检测失效的问题
|
|
499
376
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
**更新说明:**
|
|
377
|
+
## v17.4.5
|
|
503
378
|
|
|
504
|
-
1.
|
|
379
|
+
1. 修复
|
|
505
380
|
|
|
506
381
|
- 修复CuttingTool无法剖切3D Tiles的问题
|
|
507
382
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
**更新说明:**
|
|
383
|
+
## v17.4.4
|
|
511
384
|
|
|
512
|
-
1.
|
|
385
|
+
1. 修复
|
|
513
386
|
|
|
514
387
|
- 优化 GraphicsLayer 图层中深度检测设置的默认值
|
|
515
388
|
|
|
516
|
-
|
|
389
|
+
## v17.4.3
|
|
517
390
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
1. 功能新增
|
|
391
|
+
1. 新增
|
|
521
392
|
|
|
522
393
|
- 新增MapGIS网格要素容器类MapGISFeatureGridCollection
|
|
523
394
|
|
|
524
|
-
2.
|
|
395
|
+
2. 修复
|
|
525
396
|
|
|
526
397
|
- 优化面积测量工具图形外边线绘制效果
|
|
527
398
|
|
|
528
|
-
|
|
399
|
+
## v17.4.2
|
|
529
400
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
1. 功能优化
|
|
401
|
+
1. 修复
|
|
533
402
|
|
|
534
403
|
- 优化Tooltip工具根据相对位置定位的问题
|
|
535
404
|
- 增强对Cesium1.122版本的兼容
|
|
536
405
|
- 修复Mapv热力图显示错误的问题
|
|
537
406
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
**更新说明:**
|
|
407
|
+
## v17.4.1
|
|
541
408
|
|
|
542
|
-
1.
|
|
409
|
+
1. 新增
|
|
543
410
|
|
|
544
|
-
- 修复API文档中部分接口文档缺失的问题
|
|
545
411
|
- 混合开发接口增强,支持MapGIS场景服务和S3M场景服务混合开发
|
|
546
412
|
|
|
547
|
-
|
|
413
|
+
2. 修复
|
|
548
414
|
|
|
549
|
-
|
|
415
|
+
- 修复API文档中部分接口文档缺失的问题
|
|
550
416
|
|
|
551
|
-
|
|
417
|
+
## v17.4.0
|
|
418
|
+
|
|
419
|
+
1. 新增
|
|
552
420
|
|
|
553
421
|
- 三维动态注记丰富避让策略设置
|
|
554
422
|
- 支持S3M数据接入
|
|
555
423
|
- 支持M3D2.1格式的栅格体元数据接入、配色方案设置、时态切换、透明度设置
|
|
556
424
|
- 兼容Cesium1.122版本
|
|
557
425
|
|
|
558
|
-
2.
|
|
426
|
+
2. 修复
|
|
559
427
|
|
|
560
428
|
- 优化绘制辅助剖切面(体)显隐状态控制
|
|
561
429
|
- 要素图层对接对gdbp数据的处理
|
|
562
430
|
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
**更新说明:**
|
|
431
|
+
## v17.2.8
|
|
566
432
|
|
|
567
|
-
1.
|
|
433
|
+
1. 修复
|
|
568
434
|
|
|
569
435
|
- 三维(Cesium)引擎修复已知问题
|
|
570
436
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
**更新说明:**
|
|
437
|
+
## v17.2.7
|
|
574
438
|
|
|
575
|
-
1.
|
|
439
|
+
1. 修复
|
|
576
440
|
|
|
577
441
|
- 三维(Cesium)引擎修复已知问题
|
|
578
442
|
|
|
579
|
-
|
|
443
|
+
## v17.2.6
|
|
580
444
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
1. 功能优化
|
|
445
|
+
1. 修复
|
|
584
446
|
|
|
585
447
|
- 三维(Cesium)引擎修复已知问题
|
|
586
448
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
**更新说明:**
|
|
449
|
+
## v17.2.5
|
|
590
450
|
|
|
591
|
-
1.
|
|
451
|
+
1. 修复
|
|
592
452
|
|
|
593
453
|
- 三维(Cesium)引擎修复已知问题
|
|
594
454
|
|
|
595
|
-
|
|
455
|
+
## v17.2.4
|
|
596
456
|
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
1. 功能优化
|
|
457
|
+
1. 修复
|
|
600
458
|
|
|
601
459
|
- 三维(Cesium)引擎修复已知问题
|
|
602
460
|
|
|
603
|
-
|
|
461
|
+
## v17.2.3
|
|
604
462
|
|
|
605
|
-
|
|
463
|
+
1. 新增
|
|
606
464
|
|
|
607
|
-
|
|
465
|
+
- 三维(Cesium)引擎中兼容高版本Cesium加载IGS服务支持设置header
|
|
608
466
|
|
|
609
|
-
|
|
610
|
-
- 三维(Cesium)引擎中兼容高版本cesium加载IGS服务支持设置header
|
|
467
|
+
2. 修复
|
|
611
468
|
|
|
612
|
-
|
|
469
|
+
- 三维(Cesium)引擎修复填挖方计算接口问题
|
|
613
470
|
|
|
614
|
-
|
|
471
|
+
## v17.2.2
|
|
615
472
|
|
|
616
|
-
1.
|
|
473
|
+
1. 修复
|
|
617
474
|
|
|
618
475
|
- 三维(Cesium)引擎修复已知问题
|
|
619
476
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
**更新说明:**
|
|
477
|
+
## v17.2.1
|
|
623
478
|
|
|
624
|
-
1.
|
|
479
|
+
1. 修复
|
|
625
480
|
|
|
626
481
|
- 三维(Cesium)引擎优化命名空间结构
|
|
627
482
|
- 三维(Cesium)引擎修复已知问题
|
|
628
483
|
|
|
484
|
+
## v17.2.0
|
|
629
485
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
**更新说明:**
|
|
633
|
-
|
|
634
|
-
1. 功能新增
|
|
486
|
+
1. 新增
|
|
635
487
|
|
|
636
488
|
- 三维(Cesium)引擎支持加载自定义裁图原点、自定义裁图方向的瓦片服务
|
|
637
489
|
- 三维(Cesium)引擎实现多DEM服务聚合显示
|
|
638
490
|
|
|
639
|
-
2.
|
|
491
|
+
2. 修复
|
|
640
492
|
|
|
641
493
|
- 三维(Cesium)引擎优化坡向分析中的箭头效果
|
|
642
494
|
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
**更新说明:**
|
|
495
|
+
## v17.0.0
|
|
646
496
|
|
|
647
|
-
1.
|
|
497
|
+
1. 新增
|
|
648
498
|
|
|
649
499
|
- 支持WebClient库与第三方Cesium库混合开发
|
|
650
500
|
- 三维Cesium插件上支持聚合专题图
|
|
651
501
|
|
|
652
|
-
2.
|
|
502
|
+
2. 修复
|
|
653
503
|
|
|
654
504
|
- 提升Web端动态注记站立显示时性能Cesium引擎
|
|
655
505
|
- 优化阴影分析速度
|
|
656
506
|
- M3D2.0缓存加载流畅度优化
|
|
657
507
|
|
|
508
|
+
## v16.8.0
|
|
658
509
|
|
|
659
|
-
|
|
660
|
-
### V16.8.0
|
|
661
|
-
|
|
662
|
-
**更新说明:**
|
|
663
|
-
|
|
664
|
-
1. 功能新增
|
|
510
|
+
1. 新增
|
|
665
511
|
|
|
666
512
|
- 地质体模型夸张显示(模型局部沿地心方向拉伸)
|
|
667
513
|
- 模型缓存增加线框显示和轮廓显示样式
|
|
@@ -669,19 +515,15 @@ const sceneView = new SceneView({
|
|
|
669
515
|
- 模型压平增加根据要素ID压平的功能。
|
|
670
516
|
- 支持通过二次开发扩展的方式实现三维钻孔渲染、多视图漫游功能
|
|
671
517
|
- Billbord支持播放动图(git图或图片序列)
|
|
672
|
-
|
|
673
|
-
2. 功能优化
|
|
674
|
-
|
|
675
518
|
- 支持在对数缓冲下进行可视域分析
|
|
676
|
-
- 漫游功能优化
|
|
677
519
|
|
|
520
|
+
2. 修复
|
|
678
521
|
|
|
522
|
+
- 漫游功能优化
|
|
679
523
|
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
**更新说明:**
|
|
524
|
+
## v16.6.0
|
|
683
525
|
|
|
684
|
-
1.
|
|
526
|
+
1. 新增
|
|
685
527
|
|
|
686
528
|
- 新增三维场景碰撞检测功能
|
|
687
529
|
- 新增键盘漫游功能
|
|
@@ -689,26 +531,15 @@ const sceneView = new SceneView({
|
|
|
689
531
|
- 新增全局的请求拦截器
|
|
690
532
|
- 新增水面倒影特效
|
|
691
533
|
- 新增地表(半)透明时,影像图层透明度独立控制功能
|
|
692
|
-
|
|
693
|
-
2. 功能优化
|
|
694
|
-
|
|
695
|
-
- 卷帘增加对以下图层类型的支持:Cesium3DTilesModelCahceLayer、IGSFeatureLayer、WFSLayer、GeoJsonLayer、KML、KMZ、CZML
|
|
696
|
-
|
|
534
|
+
- 卷帘增加对以下图层类型的支持:Cesium3DTilesModelCahceLayer、IGSFeatureLayer、WFSLayer、GeoJSONLayer、KML、KMZ、CZML
|
|
697
535
|
- 模型编辑接口增加对 M3D、3DTiles 服务类型数据的支持
|
|
698
|
-
|
|
699
536
|
- 洪水淹没分析支持水面倒影
|
|
700
|
-
|
|
701
537
|
- 动态注记增加对含上下标、分式的三维标注的支持
|
|
702
|
-
|
|
703
538
|
- 视频投放功能支持投放到指定的场景元素上
|
|
704
539
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
### V16.4.0
|
|
708
|
-
|
|
709
|
-
**更新说明:**
|
|
540
|
+
## v16.4.0
|
|
710
541
|
|
|
711
|
-
1.
|
|
542
|
+
1. 新增
|
|
712
543
|
|
|
713
544
|
- 新增支持支持视频调绘功能,支持基于视频流的调绘、量算
|
|
714
545
|
- M3D 模型缓存图层新增支持自定义着色器,支持白模泛光特效的实现
|
|
@@ -717,7 +548,7 @@ const sceneView = new SceneView({
|
|
|
717
548
|
- 新增基于服务端的地图要素查询,支持空间查询、属性查询;客户端查询新增支持根据 OID 显隐图元(M3D 2.0),设置图元透明度(M3D)
|
|
718
549
|
- 新增支持地图图片图层显示
|
|
719
550
|
|
|
720
|
-
2.
|
|
551
|
+
2. 修复
|
|
721
552
|
|
|
722
553
|
- 卷帘对比分析功能优化,支持纵向、横向常用的卷帘方式,支持矩形、小望远镜、多边形等自定义范围方式;
|
|
723
554
|
- 地形剖切分析功能优化,支持纹理封边;
|
|
@@ -726,13 +557,9 @@ const sceneView = new SceneView({
|
|
|
726
557
|
- 动态注记显示效果优化,支持在前端实时绘制矢量瓦片点要素动态注记,动态注记支持广告牌、贴地效果;支持避让;支持淡入淡出效果
|
|
727
558
|
- 优化客户端可视化效果,包括专题图表达、基于 EChart 的可视化、基于 MapV 的可视化显示效果
|
|
728
559
|
|
|
560
|
+
## v16.2.0
|
|
729
561
|
|
|
730
|
-
|
|
731
|
-
### V16.2.0
|
|
732
|
-
|
|
733
|
-
**更新说明:**
|
|
734
|
-
|
|
735
|
-
1. 功能新增
|
|
562
|
+
1. 新增
|
|
736
563
|
|
|
737
564
|
- 新增支持前端符号的二三维一体化管理
|
|
738
565
|
- 新增行业标绘功能:支持基础、军事两类符号的交互式编辑,支持属性、生长、显隐、闪烁、路径、比例等动画类型,支持态势编辑、管理、推演等功能
|
|
@@ -751,44 +578,35 @@ const sceneView = new SceneView({
|
|
|
751
578
|
- 动态剖切支持凹多边形折线
|
|
752
579
|
- 支持模型凹凸纹理贴图和显示
|
|
753
580
|
- 标注图层支持更丰富的注记样式:新增阴影、角度、空心、文字间距、文字轮廓、文字背景等 13 种样式
|
|
581
|
+
- 路径漫游支持不同路段设置不同的速度
|
|
582
|
+
- Cesium 量算工具,量算结果单位支持自定义
|
|
754
583
|
|
|
755
|
-
2.
|
|
584
|
+
2. 修复
|
|
756
585
|
|
|
757
|
-
- 路径漫游支持不同路段设置不同的速度
|
|
758
586
|
- M3DServer、SceneServer 服务图层适配 M3D1.0 缓存数据
|
|
759
|
-
- cesium 量算工具,量算结果单位支持自定义
|
|
760
587
|
- M3D 效率优化
|
|
761
588
|
|
|
589
|
+
## v16.0.0
|
|
762
590
|
|
|
763
|
-
|
|
764
|
-
### V16.0.0
|
|
765
|
-
|
|
766
|
-
**更新说明:**
|
|
767
|
-
|
|
768
|
-
1. 功能新增
|
|
591
|
+
1. 新增
|
|
769
592
|
|
|
770
593
|
- 新增瓦片错级机制
|
|
771
594
|
- 长度测量,增加避让处理、单位转换等功能,支持样式配置
|
|
772
595
|
- 注记图层增加控制可见性、显示文本长度等参数
|
|
773
596
|
- 动画漫游新增获取模型的方法、设定点不同速度漫游场景等功能
|
|
597
|
+
- 提升 MapGIS 矢量图层能力,提升 filter 查询、多区绘制、系统库设置等能力,支持设置线矢量图层的高度
|
|
774
598
|
|
|
775
|
-
2.
|
|
599
|
+
2. 修复
|
|
776
600
|
|
|
777
|
-
- 提升 MapGIS 矢量图层能力,提升 filter 查询、多区绘制、系统库设置等能力,支持设置线矢量图层的高度
|
|
778
601
|
- 解决动画漫游设定速度和时间数组中方向向量计算问题
|
|
779
602
|
- 优化地形图层、注记图层等图层定位、及显示显示
|
|
780
603
|
- 优化测量,包括三角测量、贴地测量等功能
|
|
781
604
|
- 优化阴影分析、动画漫游等分析功能
|
|
782
605
|
- 优化多个接口,新增多个属性
|
|
783
606
|
|
|
607
|
+
## v15.6.0
|
|
784
608
|
|
|
785
|
-
|
|
786
|
-
### V15.6.0
|
|
787
|
-
|
|
788
|
-
**更新说明:**
|
|
789
|
-
|
|
790
|
-
1. 功能新增
|
|
791
|
-
|
|
609
|
+
1. 新增
|
|
792
610
|
|
|
793
611
|
- 注记图层增加最大显示文本长度参数
|
|
794
612
|
- 注记图层增加根据相机远近设置可见性的控制参数
|
|
@@ -797,18 +615,14 @@ const sceneView = new SceneView({
|
|
|
797
615
|
- 新增雷达扫描后处理特效
|
|
798
616
|
- 模型图层加载新增支持跳转动画
|
|
799
617
|
|
|
800
|
-
2.
|
|
618
|
+
2. 修复
|
|
801
619
|
|
|
802
620
|
- 解决地形剖切结果 echart 对象无法修改大小
|
|
803
621
|
- 修改地形压平后为避免影响默认相机加载地形瓦片
|
|
804
622
|
|
|
623
|
+
## v15.4.0
|
|
805
624
|
|
|
806
|
-
|
|
807
|
-
### V15.4.0
|
|
808
|
-
|
|
809
|
-
**更新说明:**
|
|
810
|
-
|
|
811
|
-
1. 功能新增
|
|
625
|
+
1. 新增
|
|
812
626
|
|
|
813
627
|
- 新增 MapGIS 注记服务图层
|
|
814
628
|
- 添加服务数据接口新增是否开启缓存参数
|
|
@@ -818,8 +632,9 @@ const sceneView = new SceneView({
|
|
|
818
632
|
- 新增支持基于 indexDB 实现 M3D 2.0 数据的前端属性存储和查询功能
|
|
819
633
|
- 新增支持 M3D 数据属性信息前端挂接
|
|
820
634
|
- 新增支持 M3D 数据 OID 拾取
|
|
635
|
+
- 新增多个三维示例
|
|
821
636
|
|
|
822
|
-
2.
|
|
637
|
+
2. 修复
|
|
823
638
|
|
|
824
639
|
- 优化 DrawElement 增加销毁对象方法
|
|
825
640
|
- 优化使用缓存后,数据稍大交互后无法正确加载数据
|
|
@@ -830,41 +645,32 @@ const sceneView = new SceneView({
|
|
|
830
645
|
- popup 的 visible 参数不支持 v-model
|
|
831
646
|
- 解决加载 mapgis 三维地图文档服务时需要支持图层过滤
|
|
832
647
|
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
- 新增多个三维示例
|
|
836
|
-
|
|
837
|
-
|
|
648
|
+
## v15.2.0
|
|
838
649
|
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
**更新说明:**
|
|
842
|
-
|
|
843
|
-
1. 功能新增
|
|
650
|
+
1. 新增
|
|
844
651
|
|
|
845
652
|
- 实现模型压平功能,支持任意凸多边形的压平
|
|
846
|
-
- 优化粒子特效:优化雨雪雾粒子效果,提升真实度;新增火焰、喷泉粒子特效、以及烟雾粒子特效
|
|
847
653
|
- 提供解压 M3D 压缩数据流的功能,客户端支持将压缩的流进行高效解压,并渲染
|
|
848
654
|
|
|
849
|
-
2.
|
|
655
|
+
2. 修复
|
|
850
656
|
|
|
657
|
+
- 优化粒子特效:优化雨雪雾粒子效果,提升真实度;新增火焰、喷泉粒子特效、以及烟雾粒子特效
|
|
851
658
|
- 海量倾斜摄影数据缓存结构优化策略升级,提高网络传输效率以及前端渲染效率
|
|
852
659
|
- 加载渲染亿级 Las 格式点云数据,帧率在 15 帧以上,交互流畅;
|
|
853
660
|
- 加载渲染亿级地质网格剖分结果数据,帧率在 15 帧以上,交互流畅;
|
|
854
661
|
- 加载渲染千万级三角网单个地质体数据,帧率在 15 帧以上,交互流畅;
|
|
855
662
|
- 加载渲染 500 平方公里以上倾斜模型,帧率在 15 帧以上,交互流畅;
|
|
856
|
-
|
|
857
|
-
3. 站点维护
|
|
858
|
-
|
|
859
663
|
- 示例说明文档美化
|
|
860
664
|
|
|
665
|
+
## v15.0.0
|
|
861
666
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
**更新说明:**
|
|
667
|
+
1. 新增
|
|
865
668
|
|
|
866
669
|
- 全面整合了 Cesium 等脚本库,代码模块化,采用最新的 JavaScript ES6 标准;
|
|
867
670
|
- 提供 Cesium 开发库、示例、API,支持二三维数据可视化(含 M3D、OGC、MapGIS 地图服务、第三方地图服务等)、图形绘制、量算、模型漫游、三维查询与分析、场景特效,以及三维场景下的大数据可视化与分析等功能;
|
|
868
|
-
- Cesium 示例全面优化,提供配套示例说明文档与 API;
|
|
869
671
|
- 新增集成 Echarts、MapV 可视化库,支持在 Web 三维模式下实现大数据可视化、大数据分析功能;
|
|
870
672
|
- 新增集成 Turf.js 客户端空间分析库,提供 Web 三维客户端空间计算能力。
|
|
673
|
+
|
|
674
|
+
2. 修复
|
|
675
|
+
|
|
676
|
+
- Cesium 示例全面优化,提供配套示例说明文档与 API;
|