@mapgis/webclient-cesium-plugin 17.8.1 → 17.10.10
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 -482
- 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 +93 -42
- 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,675 +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
|
-
```
|
|
119
|
-
|
|
120
|
-
## 2.1、npm 方式引入
|
|
121
|
-
|
|
122
|
-
**由于目前@mapgis/cesium包不支持ES6的方式,因此通过文件方式引入引擎库**
|
|
123
|
-
|
|
124
|
-
```plain
|
|
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>
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
**通过npm的方式安装@mapgis/webclient-cesium-plugin插件库**
|
|
90
|
+
import { Map as ZondyMap } from '@mapgis/webclient-common'
|
|
91
|
+
import { SceneView } from '@mapgis/webclient-cesium-plugin'
|
|
140
92
|
|
|
141
|
-
|
|
142
|
-
|
|
93
|
+
const zondyMap = new ZondyMap()
|
|
94
|
+
const sceneView = new SceneView({
|
|
95
|
+
viewId: 'scene-container',
|
|
96
|
+
map: zondyMap
|
|
97
|
+
})
|
|
143
98
|
```
|
|
144
99
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
## 3.1、文件方式引入
|
|
148
|
-
|
|
149
|
-
**在项目的css文件中设置场景视图容器的样式,否则场景视图无法显示**
|
|
100
|
+
## 3.2、加载场景图层
|
|
150
101
|
|
|
151
102
|
```typescript
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
width: 100%;
|
|
155
|
-
height: 100%;
|
|
156
|
-
position: absolute;
|
|
157
|
-
}
|
|
158
|
-
```
|
|
103
|
+
import { Map as ZondyMap } from '@mapgis/webclient-common'
|
|
104
|
+
import { IGSSceneLayer } from '@mapgis/webclient-cesium-plugin'
|
|
159
105
|
|
|
160
|
-
|
|
106
|
+
const zondyMap = new ZondyMap()
|
|
107
|
+
const sceneLayer = new IGSSceneLayer({
|
|
108
|
+
url: 'http://server/igs/rest/g3d/SceneServer'
|
|
109
|
+
})
|
|
161
110
|
|
|
162
|
-
|
|
163
|
-
<!DOCTYPE html>
|
|
164
|
-
<html>
|
|
165
|
-
<head>
|
|
166
|
-
<meta charset="utf-8">
|
|
167
|
-
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
168
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
|
169
|
-
<!--引擎库-->
|
|
170
|
-
<script src="http://{ip}:{port}/{你的路径}/cesium/Cesium.js"></script>
|
|
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>
|
|
111
|
+
zondyMap.add(sceneLayer)
|
|
199
112
|
```
|
|
200
113
|
|
|
201
|
-
## 3.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
position: absolute;
|
|
213
|
-
}
|
|
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>
|
|
214
125
|
```
|
|
215
126
|
|
|
216
|
-
|
|
127
|
+
# 4、@mapgis/webclient-cesium-plugin 版本说明
|
|
217
128
|
|
|
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
|
-
```
|
|
129
|
+
## v17.10.9
|
|
233
130
|
|
|
234
|
-
|
|
131
|
+
1. 修复
|
|
235
132
|
|
|
236
|
-
|
|
237
|
-
<!--场景视图容器div-->
|
|
238
|
-
<div id="你的场景视图的id">
|
|
239
|
-
</div>
|
|
240
|
-
```
|
|
133
|
+
- 修改分包配置,把commonjsHelpers单独打包成一个chunk,避免打入s3m中
|
|
241
134
|
|
|
242
|
-
|
|
135
|
+
## v17.10.7
|
|
243
136
|
|
|
244
|
-
|
|
245
|
-
import { SceneView } from '@mapgis/webclient-cesium-plugin'
|
|
246
|
-
import { Map } from "@mapgis/webclient-common"
|
|
247
|
-
```
|
|
137
|
+
1. 修复
|
|
248
138
|
|
|
249
|
-
|
|
139
|
+
- 修改注释问题
|
|
250
140
|
|
|
251
|
-
|
|
252
|
-
// 初始化图层管理容器
|
|
253
|
-
const map = new Map();
|
|
254
|
-
// 初始化地图视图对象
|
|
255
|
-
const sceneView = new SceneView({
|
|
256
|
-
// 视图id
|
|
257
|
-
viewId: "你的场景视图的id",
|
|
258
|
-
// 图层管理容器
|
|
259
|
-
map: map
|
|
260
|
-
});
|
|
261
|
-
```
|
|
141
|
+
## v17.10.6
|
|
262
142
|
|
|
143
|
+
1. 修复
|
|
263
144
|
|
|
145
|
+
- 三维点符号,切换符号样式后,旧的符号样式未删除
|
|
264
146
|
|
|
265
|
-
|
|
147
|
+
## v17.10.4
|
|
266
148
|
|
|
267
|
-
|
|
149
|
+
1. 修复
|
|
268
150
|
|
|
269
|
-
|
|
151
|
+
- 修复线符号 solid/none 样式切换失效以及同 id 图形缓存问题
|
|
270
152
|
|
|
271
|
-
|
|
153
|
+
## v17.10.2
|
|
272
154
|
|
|
273
|
-
1.
|
|
155
|
+
1. 修复
|
|
274
156
|
|
|
275
|
-
-
|
|
157
|
+
- 上下标+分式注记显示不全
|
|
158
|
+
- 修复cesium-plugin中Style类未导出的问题
|
|
159
|
+
- 导入 Marker 类型标绘对象后,Marker 的颜色属性未正确应用导入数据中的配置,仍保持默认值
|
|
276
160
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
**更新说明:**
|
|
161
|
+
## v17.10.0
|
|
280
162
|
|
|
281
163
|
1. 新增
|
|
282
164
|
|
|
283
|
-
-
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
-
|
|
165
|
+
- 支持地形裁剪抬升
|
|
166
|
+
- 新增极端天气模拟-雷暴天气
|
|
167
|
+
- 新增水面、水下特效;
|
|
168
|
+
- 新增3D图形默认自定义材质
|
|
169
|
+
- 新增 elevationInfo 到 Cesium ImageryLayer.classificationType 的转换逻辑,并在各类影像/瓦片/矢量瓦片图层创建及属性更新时生效,支持 onTheScene 模式下图层叠加到三维模型之上。
|
|
287
170
|
|
|
288
171
|
2. 优化
|
|
289
172
|
|
|
290
|
-
-
|
|
173
|
+
- 优化体积云性能
|
|
174
|
+
- 优化栅格体元显示效率及效果
|
|
175
|
+
- 地形开挖支持动态设置是否显示开挖侧面和底面
|
|
291
176
|
|
|
292
|
-
|
|
177
|
+
3. 修复
|
|
293
178
|
|
|
294
|
-
|
|
179
|
+
- 修复已知问题
|
|
295
180
|
|
|
296
|
-
|
|
181
|
+
## v17.8.10
|
|
297
182
|
|
|
298
|
-
|
|
183
|
+
1. 修复
|
|
299
184
|
|
|
300
|
-
|
|
185
|
+
- 修复传编码的空间过滤参数后,空间过滤不生效的问题
|
|
186
|
+
- 修复IGS地图服务一张图 POST 请求不生效的问题
|
|
301
187
|
|
|
302
|
-
|
|
188
|
+
## v17.8.9
|
|
303
189
|
|
|
304
|
-
1.
|
|
190
|
+
1. 修复
|
|
305
191
|
|
|
306
192
|
- 修复已知问题
|
|
307
193
|
|
|
308
|
-
|
|
194
|
+
## v17.8.8
|
|
309
195
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
1. 功能优化
|
|
196
|
+
1. 修复
|
|
313
197
|
|
|
314
198
|
- 修复已知问题
|
|
315
199
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
**更新说明:**
|
|
319
|
-
|
|
320
|
-
1. 功能优化
|
|
200
|
+
## v17.8.7
|
|
321
201
|
|
|
322
|
-
|
|
202
|
+
1. 修复
|
|
323
203
|
|
|
324
|
-
|
|
204
|
+
- 修复已知问题
|
|
325
205
|
|
|
326
|
-
|
|
206
|
+
## v17.8.6
|
|
327
207
|
|
|
328
|
-
1.
|
|
208
|
+
1. 修复
|
|
329
209
|
|
|
330
|
-
-
|
|
210
|
+
- 修复已知问题
|
|
331
211
|
|
|
332
|
-
|
|
212
|
+
## v17.8.5
|
|
333
213
|
|
|
334
|
-
|
|
214
|
+
1. 修复
|
|
335
215
|
|
|
336
|
-
|
|
216
|
+
- 修复地图服务图层到一定级别不显示的问题
|
|
337
217
|
|
|
338
|
-
|
|
339
|
-
- 解决使用 startDrawing 添加广告牌时重复添加图元的问题
|
|
218
|
+
## v17.8.4
|
|
340
219
|
|
|
341
|
-
|
|
220
|
+
1. 修复
|
|
342
221
|
|
|
343
|
-
|
|
222
|
+
- 在一定视角下加载自定义裁图图层卡顿
|
|
344
223
|
|
|
345
|
-
|
|
224
|
+
## v17.8.3
|
|
346
225
|
|
|
347
|
-
|
|
226
|
+
1. 修复
|
|
348
227
|
|
|
349
|
-
|
|
228
|
+
- 修复已知问题
|
|
350
229
|
|
|
351
|
-
|
|
230
|
+
## v17.8.2
|
|
352
231
|
|
|
353
|
-
1.
|
|
232
|
+
1. 修复
|
|
354
233
|
|
|
355
|
-
-
|
|
234
|
+
- 修复已知问题
|
|
356
235
|
|
|
357
|
-
|
|
236
|
+
## v17.8.1
|
|
358
237
|
|
|
359
|
-
|
|
238
|
+
1. 修复
|
|
360
239
|
|
|
361
|
-
-
|
|
240
|
+
- 修复已知问题
|
|
362
241
|
|
|
363
|
-
|
|
242
|
+
## v17.8.0
|
|
364
243
|
|
|
365
|
-
|
|
244
|
+
1. 新增
|
|
366
245
|
|
|
367
|
-
|
|
246
|
+
- Cesium 地形剖切支持凹多边形
|
|
247
|
+
- 新增路径漫游工具 RouteAnimationTool 支持实例化多个路径漫游工具
|
|
248
|
+
- 地质体剖切功能支持 3D Tiles 格式数据(3D Tiles 1.0和 3D Tiles 1.1)
|
|
249
|
+
- 环境特效增强,支持天气特效、水下特效、集群鸟类与动物、镜头特效
|
|
368
250
|
|
|
369
|
-
|
|
251
|
+
2. 修复
|
|
370
252
|
|
|
371
|
-
|
|
253
|
+
- 优化使用非 FID 属性时更新 Cesium3DTileStyle 场景渲染效率
|
|
372
254
|
|
|
373
|
-
|
|
255
|
+
## v17.6.25
|
|
374
256
|
|
|
375
|
-
1.
|
|
257
|
+
1. 修复
|
|
376
258
|
|
|
377
|
-
-
|
|
378
|
-
- 修复 Cesium Viewer 中设置默认底图报错的问题
|
|
259
|
+
- 修复 imageryLayer.imageryProvide 对象在不同版本 Cesium 上不兼容的问题
|
|
379
260
|
|
|
380
|
-
|
|
261
|
+
## v17.6.24
|
|
381
262
|
|
|
382
|
-
|
|
263
|
+
1. 修复
|
|
383
264
|
|
|
384
|
-
-
|
|
265
|
+
- 修复已知问题
|
|
385
266
|
|
|
386
|
-
|
|
267
|
+
## v17.6.23
|
|
387
268
|
|
|
388
|
-
|
|
269
|
+
1. 修复
|
|
389
270
|
|
|
390
|
-
-
|
|
271
|
+
- 修复已知问题
|
|
391
272
|
|
|
392
|
-
|
|
273
|
+
## v17.6.22
|
|
393
274
|
|
|
394
|
-
|
|
275
|
+
1. 修复
|
|
395
276
|
|
|
396
|
-
-
|
|
277
|
+
- 修复天际线分析中颜色设置失败的问题
|
|
397
278
|
|
|
398
|
-
|
|
279
|
+
## v17.6.21
|
|
399
280
|
|
|
400
|
-
|
|
281
|
+
1. 修复
|
|
401
282
|
|
|
402
|
-
-
|
|
283
|
+
- 优化重复设置 Graphic 的 显隐属性值为 true 时场景卡顿的问题
|
|
403
284
|
|
|
404
|
-
|
|
285
|
+
## v17.6.20
|
|
405
286
|
|
|
406
|
-
|
|
287
|
+
1. 修复
|
|
407
288
|
|
|
408
|
-
-
|
|
289
|
+
- 解决地图缩放时,加载自定义裁图图层时中间状态出现闪烁的问题
|
|
290
|
+
- 解决使用 startDrawing 添加广告牌时重复添加图元的问题
|
|
409
291
|
|
|
410
|
-
|
|
292
|
+
## v17.6.19
|
|
411
293
|
|
|
412
|
-
|
|
294
|
+
1. 修复
|
|
413
295
|
|
|
414
|
-
-
|
|
296
|
+
- 解决聚合专题图报错的问题
|
|
415
297
|
|
|
416
|
-
|
|
298
|
+
## v17.6.18
|
|
417
299
|
|
|
418
|
-
|
|
300
|
+
1. 修复
|
|
419
301
|
|
|
420
|
-
|
|
302
|
+
- 修复场景图层 hitTest 拾取报错的问题
|
|
421
303
|
|
|
422
|
-
|
|
304
|
+
## v17.6.16
|
|
423
305
|
|
|
424
|
-
|
|
306
|
+
1. 修复
|
|
425
307
|
|
|
426
|
-
|
|
308
|
+
- 修复已知问题
|
|
427
309
|
|
|
428
|
-
|
|
310
|
+
## v17.6.15
|
|
429
311
|
|
|
430
|
-
|
|
312
|
+
1. 修复
|
|
431
313
|
|
|
432
|
-
|
|
314
|
+
- 插件库适配 Cesium.defaultValue 方法,以兼容官方 Cesium 的接口更新改动
|
|
315
|
+
- 修复 Cesium Viewer 中设置默认底图报错的问题
|
|
433
316
|
|
|
434
|
-
|
|
317
|
+
## v17.6.12
|
|
435
318
|
|
|
436
|
-
|
|
319
|
+
1. 修复
|
|
437
320
|
|
|
438
|
-
|
|
321
|
+
- 优化瓦片类型Provider上isStretchImage参数默认拉伸
|
|
439
322
|
|
|
440
|
-
|
|
323
|
+
## v17.6.8
|
|
441
324
|
|
|
442
|
-
|
|
325
|
+
1. 修复
|
|
443
326
|
|
|
444
|
-
|
|
327
|
+
- 修复包含空格字符的图层访问令牌(token)认证失败问题
|
|
445
328
|
|
|
446
|
-
|
|
329
|
+
## v17.6.6
|
|
447
330
|
|
|
448
|
-
|
|
331
|
+
1. 修复
|
|
449
332
|
|
|
450
|
-
|
|
333
|
+
- 优化IGS地图服务一张图出图模式下闪烁和卡顿的问题
|
|
451
334
|
|
|
452
|
-
|
|
335
|
+
## v17.6.3
|
|
453
336
|
|
|
454
|
-
1.
|
|
337
|
+
1. 修复
|
|
455
338
|
|
|
456
339
|
- 修复可视域分析视锥体未定义时的报错问题
|
|
457
340
|
- 修复混合接口方式加载动态服务时,出图过滤条件报错的问题
|
|
458
341
|
|
|
459
|
-
|
|
342
|
+
## v17.6.2
|
|
460
343
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
1. 功能优化
|
|
344
|
+
1. 修复
|
|
464
345
|
|
|
465
346
|
- 修复高频率更新流体模拟粒子数量时出现偶发报错的问题
|
|
466
347
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
**更新说明:**
|
|
470
|
-
|
|
471
|
-
- 此版本无更新
|
|
348
|
+
## v17.6.0
|
|
472
349
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
**更新说明:**
|
|
476
|
-
|
|
477
|
-
1. 功能新增
|
|
350
|
+
1. 新增
|
|
478
351
|
|
|
479
352
|
- 支持三维仿真可视化:流体模拟仿真和水体效果可视化
|
|
480
353
|
- 面积、长度、角度、三角、方位角测量工具支持显示多个测量结果
|
|
481
354
|
- 新增IGS地图服务、ArcGIS地图服务、WMS服务一张图出图的服务接入Provider
|
|
482
355
|
|
|
483
|
-
2.
|
|
356
|
+
2. 修复
|
|
357
|
+
|
|
484
358
|
- 优化M3D2.0、2.1服务数据的加载性能和效果
|
|
485
359
|
- 优化剖面分析工具和地形分析工具功能效果
|
|
486
360
|
|
|
361
|
+
## v17.4.7
|
|
487
362
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
**更新说明:**
|
|
491
|
-
|
|
492
|
-
1. 功能优化
|
|
363
|
+
1. 修复
|
|
493
364
|
|
|
494
365
|
- 修复Graphic中半透明图元顺序异常的问题
|
|
495
366
|
- 修复剖面分析工具接口异常的问题
|
|
496
367
|
- 修复Popup弹窗接口异常的问题
|
|
497
368
|
|
|
498
|
-
|
|
369
|
+
## v17.4.6
|
|
499
370
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
1. 功能优化
|
|
371
|
+
1. 修复
|
|
503
372
|
|
|
504
373
|
- 修复场景设置罗盘失败的问题
|
|
505
374
|
- 修复剖切分析中绘制模型裁剪面功能中,配置剖切辅助面属性不生效的问题
|
|
506
375
|
- 修复碰撞检测中多次开启漫游时,碰撞检测失效的问题
|
|
507
376
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
**更新说明:**
|
|
377
|
+
## v17.4.5
|
|
511
378
|
|
|
512
|
-
1.
|
|
379
|
+
1. 修复
|
|
513
380
|
|
|
514
381
|
- 修复CuttingTool无法剖切3D Tiles的问题
|
|
515
382
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
**更新说明:**
|
|
383
|
+
## v17.4.4
|
|
519
384
|
|
|
520
|
-
1.
|
|
385
|
+
1. 修复
|
|
521
386
|
|
|
522
387
|
- 优化 GraphicsLayer 图层中深度检测设置的默认值
|
|
523
388
|
|
|
524
|
-
|
|
389
|
+
## v17.4.3
|
|
525
390
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
1. 功能新增
|
|
391
|
+
1. 新增
|
|
529
392
|
|
|
530
393
|
- 新增MapGIS网格要素容器类MapGISFeatureGridCollection
|
|
531
394
|
|
|
532
|
-
2.
|
|
395
|
+
2. 修复
|
|
533
396
|
|
|
534
397
|
- 优化面积测量工具图形外边线绘制效果
|
|
535
398
|
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
**更新说明:**
|
|
399
|
+
## v17.4.2
|
|
539
400
|
|
|
540
|
-
1.
|
|
401
|
+
1. 修复
|
|
541
402
|
|
|
542
403
|
- 优化Tooltip工具根据相对位置定位的问题
|
|
543
404
|
- 增强对Cesium1.122版本的兼容
|
|
544
405
|
- 修复Mapv热力图显示错误的问题
|
|
545
406
|
|
|
546
|
-
|
|
407
|
+
## v17.4.1
|
|
547
408
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
1. 功能优化
|
|
409
|
+
1. 新增
|
|
551
410
|
|
|
552
|
-
- 修复API文档中部分接口文档缺失的问题
|
|
553
411
|
- 混合开发接口增强,支持MapGIS场景服务和S3M场景服务混合开发
|
|
554
412
|
|
|
555
|
-
|
|
413
|
+
2. 修复
|
|
556
414
|
|
|
557
|
-
|
|
415
|
+
- 修复API文档中部分接口文档缺失的问题
|
|
416
|
+
|
|
417
|
+
## v17.4.0
|
|
558
418
|
|
|
559
|
-
1.
|
|
419
|
+
1. 新增
|
|
560
420
|
|
|
561
421
|
- 三维动态注记丰富避让策略设置
|
|
562
422
|
- 支持S3M数据接入
|
|
563
423
|
- 支持M3D2.1格式的栅格体元数据接入、配色方案设置、时态切换、透明度设置
|
|
564
424
|
- 兼容Cesium1.122版本
|
|
565
425
|
|
|
566
|
-
2.
|
|
426
|
+
2. 修复
|
|
567
427
|
|
|
568
428
|
- 优化绘制辅助剖切面(体)显隐状态控制
|
|
569
429
|
- 要素图层对接对gdbp数据的处理
|
|
570
430
|
|
|
571
|
-
|
|
431
|
+
## v17.2.8
|
|
572
432
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
1. 功能优化
|
|
433
|
+
1. 修复
|
|
576
434
|
|
|
577
435
|
- 三维(Cesium)引擎修复已知问题
|
|
578
436
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
**更新说明:**
|
|
437
|
+
## v17.2.7
|
|
582
438
|
|
|
583
|
-
1.
|
|
439
|
+
1. 修复
|
|
584
440
|
|
|
585
441
|
- 三维(Cesium)引擎修复已知问题
|
|
586
442
|
|
|
587
|
-
|
|
443
|
+
## v17.2.6
|
|
588
444
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
1. 功能优化
|
|
445
|
+
1. 修复
|
|
592
446
|
|
|
593
447
|
- 三维(Cesium)引擎修复已知问题
|
|
594
448
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
**更新说明:**
|
|
449
|
+
## v17.2.5
|
|
598
450
|
|
|
599
|
-
1.
|
|
451
|
+
1. 修复
|
|
600
452
|
|
|
601
453
|
- 三维(Cesium)引擎修复已知问题
|
|
602
454
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
**更新说明:**
|
|
455
|
+
## v17.2.4
|
|
606
456
|
|
|
607
|
-
1.
|
|
457
|
+
1. 修复
|
|
608
458
|
|
|
609
459
|
- 三维(Cesium)引擎修复已知问题
|
|
610
460
|
|
|
611
|
-
|
|
461
|
+
## v17.2.3
|
|
612
462
|
|
|
613
|
-
|
|
463
|
+
1. 新增
|
|
614
464
|
|
|
615
|
-
|
|
465
|
+
- 三维(Cesium)引擎中兼容高版本Cesium加载IGS服务支持设置header
|
|
616
466
|
|
|
617
|
-
|
|
618
|
-
- 三维(Cesium)引擎中兼容高版本cesium加载IGS服务支持设置header
|
|
467
|
+
2. 修复
|
|
619
468
|
|
|
620
|
-
|
|
469
|
+
- 三维(Cesium)引擎修复填挖方计算接口问题
|
|
621
470
|
|
|
622
|
-
|
|
471
|
+
## v17.2.2
|
|
623
472
|
|
|
624
|
-
1.
|
|
473
|
+
1. 修复
|
|
625
474
|
|
|
626
475
|
- 三维(Cesium)引擎修复已知问题
|
|
627
476
|
|
|
628
|
-
|
|
477
|
+
## v17.2.1
|
|
629
478
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
1. 功能优化
|
|
479
|
+
1. 修复
|
|
633
480
|
|
|
634
481
|
- 三维(Cesium)引擎优化命名空间结构
|
|
635
482
|
- 三维(Cesium)引擎修复已知问题
|
|
636
483
|
|
|
484
|
+
## v17.2.0
|
|
637
485
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
**更新说明:**
|
|
641
|
-
|
|
642
|
-
1. 功能新增
|
|
486
|
+
1. 新增
|
|
643
487
|
|
|
644
488
|
- 三维(Cesium)引擎支持加载自定义裁图原点、自定义裁图方向的瓦片服务
|
|
645
489
|
- 三维(Cesium)引擎实现多DEM服务聚合显示
|
|
646
490
|
|
|
647
|
-
2.
|
|
491
|
+
2. 修复
|
|
648
492
|
|
|
649
493
|
- 三维(Cesium)引擎优化坡向分析中的箭头效果
|
|
650
494
|
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
**更新说明:**
|
|
495
|
+
## v17.0.0
|
|
654
496
|
|
|
655
|
-
1.
|
|
497
|
+
1. 新增
|
|
656
498
|
|
|
657
499
|
- 支持WebClient库与第三方Cesium库混合开发
|
|
658
500
|
- 三维Cesium插件上支持聚合专题图
|
|
659
501
|
|
|
660
|
-
2.
|
|
502
|
+
2. 修复
|
|
661
503
|
|
|
662
504
|
- 提升Web端动态注记站立显示时性能Cesium引擎
|
|
663
505
|
- 优化阴影分析速度
|
|
664
506
|
- M3D2.0缓存加载流畅度优化
|
|
665
507
|
|
|
508
|
+
## v16.8.0
|
|
666
509
|
|
|
667
|
-
|
|
668
|
-
### V16.8.0
|
|
669
|
-
|
|
670
|
-
**更新说明:**
|
|
671
|
-
|
|
672
|
-
1. 功能新增
|
|
510
|
+
1. 新增
|
|
673
511
|
|
|
674
512
|
- 地质体模型夸张显示(模型局部沿地心方向拉伸)
|
|
675
513
|
- 模型缓存增加线框显示和轮廓显示样式
|
|
@@ -677,19 +515,15 @@ const sceneView = new SceneView({
|
|
|
677
515
|
- 模型压平增加根据要素ID压平的功能。
|
|
678
516
|
- 支持通过二次开发扩展的方式实现三维钻孔渲染、多视图漫游功能
|
|
679
517
|
- Billbord支持播放动图(git图或图片序列)
|
|
680
|
-
|
|
681
|
-
2. 功能优化
|
|
682
|
-
|
|
683
518
|
- 支持在对数缓冲下进行可视域分析
|
|
684
|
-
- 漫游功能优化
|
|
685
|
-
|
|
686
519
|
|
|
520
|
+
2. 修复
|
|
687
521
|
|
|
688
|
-
|
|
522
|
+
- 漫游功能优化
|
|
689
523
|
|
|
690
|
-
|
|
524
|
+
## v16.6.0
|
|
691
525
|
|
|
692
|
-
1.
|
|
526
|
+
1. 新增
|
|
693
527
|
|
|
694
528
|
- 新增三维场景碰撞检测功能
|
|
695
529
|
- 新增键盘漫游功能
|
|
@@ -697,26 +531,15 @@ const sceneView = new SceneView({
|
|
|
697
531
|
- 新增全局的请求拦截器
|
|
698
532
|
- 新增水面倒影特效
|
|
699
533
|
- 新增地表(半)透明时,影像图层透明度独立控制功能
|
|
700
|
-
|
|
701
|
-
2. 功能优化
|
|
702
|
-
|
|
703
|
-
- 卷帘增加对以下图层类型的支持:Cesium3DTilesModelCahceLayer、IGSFeatureLayer、WFSLayer、GeoJsonLayer、KML、KMZ、CZML
|
|
704
|
-
|
|
534
|
+
- 卷帘增加对以下图层类型的支持:Cesium3DTilesModelCahceLayer、IGSFeatureLayer、WFSLayer、GeoJSONLayer、KML、KMZ、CZML
|
|
705
535
|
- 模型编辑接口增加对 M3D、3DTiles 服务类型数据的支持
|
|
706
|
-
|
|
707
536
|
- 洪水淹没分析支持水面倒影
|
|
708
|
-
|
|
709
537
|
- 动态注记增加对含上下标、分式的三维标注的支持
|
|
710
|
-
|
|
711
538
|
- 视频投放功能支持投放到指定的场景元素上
|
|
712
539
|
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
### V16.4.0
|
|
540
|
+
## v16.4.0
|
|
716
541
|
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
1. 功能新增
|
|
542
|
+
1. 新增
|
|
720
543
|
|
|
721
544
|
- 新增支持支持视频调绘功能,支持基于视频流的调绘、量算
|
|
722
545
|
- M3D 模型缓存图层新增支持自定义着色器,支持白模泛光特效的实现
|
|
@@ -725,7 +548,7 @@ const sceneView = new SceneView({
|
|
|
725
548
|
- 新增基于服务端的地图要素查询,支持空间查询、属性查询;客户端查询新增支持根据 OID 显隐图元(M3D 2.0),设置图元透明度(M3D)
|
|
726
549
|
- 新增支持地图图片图层显示
|
|
727
550
|
|
|
728
|
-
2.
|
|
551
|
+
2. 修复
|
|
729
552
|
|
|
730
553
|
- 卷帘对比分析功能优化,支持纵向、横向常用的卷帘方式,支持矩形、小望远镜、多边形等自定义范围方式;
|
|
731
554
|
- 地形剖切分析功能优化,支持纹理封边;
|
|
@@ -734,13 +557,9 @@ const sceneView = new SceneView({
|
|
|
734
557
|
- 动态注记显示效果优化,支持在前端实时绘制矢量瓦片点要素动态注记,动态注记支持广告牌、贴地效果;支持避让;支持淡入淡出效果
|
|
735
558
|
- 优化客户端可视化效果,包括专题图表达、基于 EChart 的可视化、基于 MapV 的可视化显示效果
|
|
736
559
|
|
|
560
|
+
## v16.2.0
|
|
737
561
|
|
|
738
|
-
|
|
739
|
-
### V16.2.0
|
|
740
|
-
|
|
741
|
-
**更新说明:**
|
|
742
|
-
|
|
743
|
-
1. 功能新增
|
|
562
|
+
1. 新增
|
|
744
563
|
|
|
745
564
|
- 新增支持前端符号的二三维一体化管理
|
|
746
565
|
- 新增行业标绘功能:支持基础、军事两类符号的交互式编辑,支持属性、生长、显隐、闪烁、路径、比例等动画类型,支持态势编辑、管理、推演等功能
|
|
@@ -759,44 +578,35 @@ const sceneView = new SceneView({
|
|
|
759
578
|
- 动态剖切支持凹多边形折线
|
|
760
579
|
- 支持模型凹凸纹理贴图和显示
|
|
761
580
|
- 标注图层支持更丰富的注记样式:新增阴影、角度、空心、文字间距、文字轮廓、文字背景等 13 种样式
|
|
581
|
+
- 路径漫游支持不同路段设置不同的速度
|
|
582
|
+
- Cesium 量算工具,量算结果单位支持自定义
|
|
762
583
|
|
|
763
|
-
2.
|
|
584
|
+
2. 修复
|
|
764
585
|
|
|
765
|
-
- 路径漫游支持不同路段设置不同的速度
|
|
766
586
|
- M3DServer、SceneServer 服务图层适配 M3D1.0 缓存数据
|
|
767
|
-
- cesium 量算工具,量算结果单位支持自定义
|
|
768
587
|
- M3D 效率优化
|
|
769
588
|
|
|
589
|
+
## v16.0.0
|
|
770
590
|
|
|
771
|
-
|
|
772
|
-
### V16.0.0
|
|
773
|
-
|
|
774
|
-
**更新说明:**
|
|
775
|
-
|
|
776
|
-
1. 功能新增
|
|
591
|
+
1. 新增
|
|
777
592
|
|
|
778
593
|
- 新增瓦片错级机制
|
|
779
594
|
- 长度测量,增加避让处理、单位转换等功能,支持样式配置
|
|
780
595
|
- 注记图层增加控制可见性、显示文本长度等参数
|
|
781
596
|
- 动画漫游新增获取模型的方法、设定点不同速度漫游场景等功能
|
|
597
|
+
- 提升 MapGIS 矢量图层能力,提升 filter 查询、多区绘制、系统库设置等能力,支持设置线矢量图层的高度
|
|
782
598
|
|
|
783
|
-
2.
|
|
599
|
+
2. 修复
|
|
784
600
|
|
|
785
|
-
- 提升 MapGIS 矢量图层能力,提升 filter 查询、多区绘制、系统库设置等能力,支持设置线矢量图层的高度
|
|
786
601
|
- 解决动画漫游设定速度和时间数组中方向向量计算问题
|
|
787
602
|
- 优化地形图层、注记图层等图层定位、及显示显示
|
|
788
603
|
- 优化测量,包括三角测量、贴地测量等功能
|
|
789
604
|
- 优化阴影分析、动画漫游等分析功能
|
|
790
605
|
- 优化多个接口,新增多个属性
|
|
791
606
|
|
|
607
|
+
## v15.6.0
|
|
792
608
|
|
|
793
|
-
|
|
794
|
-
### V15.6.0
|
|
795
|
-
|
|
796
|
-
**更新说明:**
|
|
797
|
-
|
|
798
|
-
1. 功能新增
|
|
799
|
-
|
|
609
|
+
1. 新增
|
|
800
610
|
|
|
801
611
|
- 注记图层增加最大显示文本长度参数
|
|
802
612
|
- 注记图层增加根据相机远近设置可见性的控制参数
|
|
@@ -805,18 +615,14 @@ const sceneView = new SceneView({
|
|
|
805
615
|
- 新增雷达扫描后处理特效
|
|
806
616
|
- 模型图层加载新增支持跳转动画
|
|
807
617
|
|
|
808
|
-
2.
|
|
618
|
+
2. 修复
|
|
809
619
|
|
|
810
620
|
- 解决地形剖切结果 echart 对象无法修改大小
|
|
811
621
|
- 修改地形压平后为避免影响默认相机加载地形瓦片
|
|
812
622
|
|
|
623
|
+
## v15.4.0
|
|
813
624
|
|
|
814
|
-
|
|
815
|
-
### V15.4.0
|
|
816
|
-
|
|
817
|
-
**更新说明:**
|
|
818
|
-
|
|
819
|
-
1. 功能新增
|
|
625
|
+
1. 新增
|
|
820
626
|
|
|
821
627
|
- 新增 MapGIS 注记服务图层
|
|
822
628
|
- 添加服务数据接口新增是否开启缓存参数
|
|
@@ -826,8 +632,9 @@ const sceneView = new SceneView({
|
|
|
826
632
|
- 新增支持基于 indexDB 实现 M3D 2.0 数据的前端属性存储和查询功能
|
|
827
633
|
- 新增支持 M3D 数据属性信息前端挂接
|
|
828
634
|
- 新增支持 M3D 数据 OID 拾取
|
|
635
|
+
- 新增多个三维示例
|
|
829
636
|
|
|
830
|
-
2.
|
|
637
|
+
2. 修复
|
|
831
638
|
|
|
832
639
|
- 优化 DrawElement 增加销毁对象方法
|
|
833
640
|
- 优化使用缓存后,数据稍大交互后无法正确加载数据
|
|
@@ -838,41 +645,32 @@ const sceneView = new SceneView({
|
|
|
838
645
|
- popup 的 visible 参数不支持 v-model
|
|
839
646
|
- 解决加载 mapgis 三维地图文档服务时需要支持图层过滤
|
|
840
647
|
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
- 新增多个三维示例
|
|
844
|
-
|
|
845
|
-
|
|
648
|
+
## v15.2.0
|
|
846
649
|
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
**更新说明:**
|
|
850
|
-
|
|
851
|
-
1. 功能新增
|
|
650
|
+
1. 新增
|
|
852
651
|
|
|
853
652
|
- 实现模型压平功能,支持任意凸多边形的压平
|
|
854
|
-
- 优化粒子特效:优化雨雪雾粒子效果,提升真实度;新增火焰、喷泉粒子特效、以及烟雾粒子特效
|
|
855
653
|
- 提供解压 M3D 压缩数据流的功能,客户端支持将压缩的流进行高效解压,并渲染
|
|
856
654
|
|
|
857
|
-
2.
|
|
655
|
+
2. 修复
|
|
858
656
|
|
|
657
|
+
- 优化粒子特效:优化雨雪雾粒子效果,提升真实度;新增火焰、喷泉粒子特效、以及烟雾粒子特效
|
|
859
658
|
- 海量倾斜摄影数据缓存结构优化策略升级,提高网络传输效率以及前端渲染效率
|
|
860
659
|
- 加载渲染亿级 Las 格式点云数据,帧率在 15 帧以上,交互流畅;
|
|
861
660
|
- 加载渲染亿级地质网格剖分结果数据,帧率在 15 帧以上,交互流畅;
|
|
862
661
|
- 加载渲染千万级三角网单个地质体数据,帧率在 15 帧以上,交互流畅;
|
|
863
662
|
- 加载渲染 500 平方公里以上倾斜模型,帧率在 15 帧以上,交互流畅;
|
|
864
|
-
|
|
865
|
-
3. 站点维护
|
|
866
|
-
|
|
867
663
|
- 示例说明文档美化
|
|
868
664
|
|
|
665
|
+
## v15.0.0
|
|
869
666
|
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
**更新说明:**
|
|
667
|
+
1. 新增
|
|
873
668
|
|
|
874
669
|
- 全面整合了 Cesium 等脚本库,代码模块化,采用最新的 JavaScript ES6 标准;
|
|
875
670
|
- 提供 Cesium 开发库、示例、API,支持二三维数据可视化(含 M3D、OGC、MapGIS 地图服务、第三方地图服务等)、图形绘制、量算、模型漫游、三维查询与分析、场景特效,以及三维场景下的大数据可视化与分析等功能;
|
|
876
|
-
- Cesium 示例全面优化,提供配套示例说明文档与 API;
|
|
877
671
|
- 新增集成 Echarts、MapV 可视化库,支持在 Web 三维模式下实现大数据可视化、大数据分析功能;
|
|
878
672
|
- 新增集成 Turf.js 客户端空间分析库,提供 Web 三维客户端空间计算能力。
|
|
673
|
+
|
|
674
|
+
2. 修复
|
|
675
|
+
|
|
676
|
+
- Cesium 示例全面优化,提供配套示例说明文档与 API;
|