@mapgis/webclient-cesium-plugin 17.2.8 → 17.4.1
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 +601 -576
- package/dist/es5/webclient-cesium-plugin.min.js +64 -5
- package/dist/es5/webclient-common.min.js +37 -5
- package/dist/webclient-cesium-plugin-es6.min.js +64 -5
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_067_cleaning.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_094_vector_path_square.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_095_vector_path_circle.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_096_vector_path_polygon.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_097_vector_path_line.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/icon/glyphicons_242_google_maps.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/images/river3.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/images/sandydrysoil-albedo2b.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/images/wall-texture-default.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/textures/arrow3.png +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/textures/waterNormals.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/assets/textures/waterNormalsSmall.jpg +0 -0
- package/dist/webclient-cesium-plugin-resource/thirdparty/crunch_s3m.wasm +0 -0
- package/dist/webclient-cesium-plugin-resource/thirdparty/draco_decoder_new_s3m.wasm +0 -0
- package/documention/AlgorithmLib.html +118 -12
- package/documention/AngulationTool.html +158 -16
- package/documention/AnimationTool.html +148 -34
- package/documention/ArcGISMapServerImageryProvider.html +419 -193
- package/documention/ArcGISTileServerImageryProvider.html +380 -134
- package/documention/ArcGISVectorTileImageryProvider.html +498 -168
- package/documention/Cesium.Material.html +580 -0
- package/documention/Cesium.Viewer.html +1241 -0
- package/documention/Cesium3DTileset.html +691 -0
- package/documention/CesiumHeatmap.html +123 -2439
- package/documention/CesiumTerrainProvider.html +322 -10
- package/documention/CircleWaveMaterialProperty.html +120 -17
- package/documention/CollisionDetectionByRender.html +116 -10
- package/documention/CompatibleFunc.html +731 -0
- package/documention/CustomProjection.html +1208 -0
- package/documention/CustomTilingScheme.html +392 -475
- package/documention/CutFillAnalysis.html +1943 -0
- package/documention/CuttingTool.html +154 -238
- package/documention/Deferred.html +116 -10
- package/documention/DrawElement.html +125 -10
- package/documention/DrawTool.html +117 -11
- package/documention/DynamicEntityVisualizer.html +342 -30
- package/documention/DynamicLabelLayer.html +451 -333
- package/documention/EditTool.html +117 -11
- package/documention/FloodAnalysis.html +1895 -0
- package/documention/FloodAnalysisReflection.html +127 -15
- package/documention/GeoJSONLayerUtil.html +337 -63
- package/documention/GlobeIndependentTranslucency.html +121 -13
- package/documention/Graphic.html +233 -585
- package/documention/GraphicTransformTool.html +1207 -0
- package/documention/GraphicsLayer.html +207 -212
- package/documention/GraphicsLayerUtil.html +337 -63
- package/documention/HashMap.html +4010 -317
- package/documention/HeightLimited.html +127 -15
- package/documention/IGSFeatureLayerUtil.html +495 -58
- package/documention/ISSceneLayerUtil.html +329 -9
- package/documention/KeyboardCameraController.html +118 -10
- package/documention/MapGISM3DSet.html +728 -0
- package/documention/MapGISMapServerImageryProvider.html +475 -648
- package/documention/MapGISTerrainProvider.html +1228 -8281
- package/documention/MapGISTileAvailability.html +1546 -0
- package/documention/MapGISTileServerImageryProvider.html +419 -660
- package/documention/MapGISVectorTileImageryProvider.html +408 -1283
- package/documention/MeasureAreaTool.html +177 -62
- package/documention/MeasureLengthTool.html +179 -64
- package/documention/MeasureSlopeTool.html +129 -15
- package/documention/ModelEditor.html +132 -21
- package/documention/ModelFilterTool.html +213 -23
- package/documention/ModelTransformTool.html +191 -38
- package/documention/NavigationTool.html +694 -0
- package/documention/OpenWeatherImageryProvider.html +762 -0
- package/documention/PolylineTrailLinkMaterialProperty.html +120 -17
- package/documention/Popup.html +351 -266
- package/documention/PostProcessStageLibrary.html +118 -12
- package/documention/Promise.html +119 -13
- package/documention/RadarMaterialProperty.html +120 -17
- package/documention/ReImg.html +133 -9
- package/documention/RiverGeometry.html +126 -20
- package/documention/RoamParticle.html +119 -9
- package/documention/S3MTileset.html +136 -10
- package/documention/SceneView.html +4993 -0
- package/documention/SceneViewCesium.html +447 -1028
- package/documention/Screenshot.html +337 -134
- package/documention/SelectTool.html +116 -38
- package/documention/ShadowRateAnalysis.html +117 -18
- package/documention/ShadowRateDrawCommand.html +115 -9
- package/documention/SketchEditor.html +1774 -0
- package/documention/SketchEditorCesium.html +365 -249
- package/documention/SkyLineAnalysis.html +9 -9
- package/documention/StableParticle.html +119 -9
- package/documention/Style.html +154 -533
- package/documention/TerrainAnalyse.html +265 -40
- package/documention/TerrainProfile.html +128 -16
- package/documention/ThemeManager.html +2237 -0
- package/documention/Tooltip.html +115 -9
- package/documention/TriangulationTool.html +176 -61
- package/documention/UrlTemplateImageryProvider.html +856 -38
- package/documention/VisiblityAnalysis.html +132 -24
- package/documention/WFSLayerUtil.html +337 -63
- package/documention/WaterReflection.html +132 -20
- package/documention/WebMapServiceImageryProvider.html +924 -70
- package/documention/WebMapTileServiceImageryProvider.html +843 -78
- package/documention/Wind3D.html +122 -11
- package/documention/createColorTexture.html +608 -0
- package/documention/global.html +14325 -68
- package/documention/index.html +167 -14
- package/documention/initializeOptions.html +561 -0
- package/documention/isCounterClockwise.html +760 -0
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.EchartsLayer.html +339 -86
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapVLayer.html +361 -218
- package/documention/module.exports_module.exports.html +338 -44
- package/documention/scripts/search.js +1 -26
- package/documention/styles/app.min.css +1 -1
- package/documention/tutorial-1./345/277/253/351/200/237/345/205/245/351/227/250.html +152 -7
- package/package.json +6 -5
|
@@ -1,10 +1,296 @@
|
|
|
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> WebMapServiceImageryProvider</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 style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AlgorithmLib"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AlgorithmLib.html">AlgorithmLib</a><span style="display: none;"><p>通用算法工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AngulationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AngulationTool.html">AngulationTool</a><span style="display: none;"><p>角度测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="AnimationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="AnimationTool.html">AnimationTool</a><span style="display: none;"><p>场景漫游工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapServerImageryProvider.html">ArcGISMapServerImageryProvider</a><span style="display: none;"><p>ArcGIS地图图片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileServerImageryProvider.html">ArcGISTileServerImageryProvider</a><span style="display: none;"><p>ArcGIS瓦片图层,现已不支持通过构造函数(new ArcGISTileServerImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISVectorTileImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISVectorTileImageryProvider.html">ArcGISVectorTileImageryProvider</a><span style="display: none;"><p>ArcGIS矢量瓦片图层,现已不支持通过构造函数(new ArcGISVectorTileImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium3DTileset"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium3DTileset.html">Cesium3DTileset</a><span style="display: none;"><p>Cesium3DTileset对象,现已不支持通过构造函数(new Cesium3DTileset())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium.Material"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium.Material.html">Material</a><span style="display: none;"><p>新增了部分Cesium材质<br>
|
|
108
|
+
《PolylineTrailLink材质》<br>
|
|
109
|
+
参考示例:
|
|
110
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-polyline'>《线示例》</a>
|
|
111
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-wall'>《墙示例》</a><br>
|
|
112
|
+
color: 材质颜色,Cesium.Color.WHITE<br>
|
|
113
|
+
image: 材质使用的图片,Cesium.Material.PolylineTrailLinkImage<br>
|
|
114
|
+
duration: 持续时间,100.0<br>
|
|
115
|
+
direction: 方向,1.0<br>
|
|
116
|
+
repeat: 重复次数,new Cesium.Cartesian2(1.0, 1.0)<br><br>
|
|
117
|
+
《CircleWaveMaterial材质》<br>
|
|
118
|
+
参考示例:
|
|
119
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a>
|
|
120
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circular'>《圆锥示例》</a><br>
|
|
121
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
122
|
+
duration: 持续时间,100.0<br>
|
|
123
|
+
count: 方向,1.0<br>
|
|
124
|
+
gradient: 渐变因子,0.1<br><br>
|
|
125
|
+
《RadarMaterial材质》<br>
|
|
126
|
+
参考示例:
|
|
127
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
128
|
+
color: 材质颜色,Cesium.Color.WHITE<br>
|
|
129
|
+
speed: 速度,1<br><br>
|
|
130
|
+
《AspectArrow材质》
|
|
131
|
+
AspectArrowMap: 箭头图片,Cesium.Material.DefaultImageId<br>
|
|
132
|
+
repeat: 箭头重复次数,Cesium.Cartesian2(1.0, 1.0)<br><br>
|
|
133
|
+
《TextImage材质》<br>
|
|
134
|
+
image: 文字图片,Cesium.Material.DefaultImageId<br>
|
|
135
|
+
repeat: 图片重复次数,Cesium.Cartesian2(1.0, 1.0)<br>
|
|
136
|
+
breathingLight: 是否开启呼吸灯,false<br>
|
|
137
|
+
duration: 运行周期,1000<br><br>
|
|
138
|
+
《LineFlickerMaterialType材质》<br>
|
|
139
|
+
参考示例:
|
|
140
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
141
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
142
|
+
speed: 速度,5<br><br>
|
|
143
|
+
《CircleScanMaterialType材质》<br>
|
|
144
|
+
参考示例:
|
|
145
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
146
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
147
|
+
speed: 速度,10<br><br>
|
|
148
|
+
《CirclePulseMaterialType材质》<br>
|
|
149
|
+
参考示例:
|
|
150
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
151
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
152
|
+
speed: 速度,10<br><br>
|
|
153
|
+
《CircleDiffuseMaterialType材质》<br>
|
|
154
|
+
参考示例:
|
|
155
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
156
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
157
|
+
speed: 速度,10<br><br>
|
|
158
|
+
《ScanlineType材质》<br>
|
|
159
|
+
参考示例:
|
|
160
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
161
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
162
|
+
speed: 速度,10<br><br>
|
|
163
|
+
《CircleFadeMaterialType材质》<br>
|
|
164
|
+
参考示例:
|
|
165
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
166
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
167
|
+
speed: 速度,10<br><br>
|
|
168
|
+
《CircleColorfulMaterialType材质》<br>
|
|
169
|
+
参考示例:
|
|
170
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
171
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
172
|
+
speed: 速度,10<br><br>
|
|
173
|
+
《CircleSpiralMaterialType材质》<br>
|
|
174
|
+
参考示例:
|
|
175
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
176
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
177
|
+
speed: 速度,10<br><br>
|
|
178
|
+
《CircleBlurMaterialType材质》<br>
|
|
179
|
+
参考示例:
|
|
180
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
181
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
182
|
+
speed: 速度,10<br><br>
|
|
183
|
+
《RadarScanMaterialType材质》<br>
|
|
184
|
+
参考示例:
|
|
185
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
186
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
187
|
+
speed: 速度,10<br><br>
|
|
188
|
+
《RadarLineMaterialType材质》<br>
|
|
189
|
+
参考示例:
|
|
190
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/tdGraph/tdGraphBase/td-graph-circle'>《圆示例》</a><br>
|
|
191
|
+
color: 材质颜色,Cesium.Color(1.0, 0.0, 0.0, 1.0)<br>
|
|
192
|
+
speed: 速度,10<br><br>
|
|
193
|
+
《RiverCoveringMaterial材质》<br>
|
|
194
|
+
color: 材质颜色,Cesium.Color(1, 1, 1, 0.7)<br>
|
|
195
|
+
animationSpeed: 播放速度,0.01<br>
|
|
196
|
+
image: 材质图片,CustomMaterial.DefaultImageId<br>
|
|
197
|
+
repeat: 重复次数,2.0<br><br></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Cesium.Viewer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Cesium.Viewer.html">Viewer</a><span style="display: none;"><p>重写Cesium.Viewer的方法</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CesiumHeatmap"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CesiumHeatmap.html">CesiumHeatmap</a><span style="display: none;"><p>热力图</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CesiumTerrainProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CesiumTerrainProvider.html">CesiumTerrainProvider</a><span style="display: none;"><p>Cesium地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CircleWaveMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CircleWaveMaterialProperty.html">CircleWaveMaterialProperty</a><span style="display: none;"><p>动态圆波纹材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CollisionDetectionByRender"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CollisionDetectionByRender.html">CollisionDetectionByRender</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CompatibleFunc"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CompatibleFunc.html">CompatibleFunc</a><span style="display: none;"><p>适配不同版本Cesium接口方法类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="createColorTexture"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="createColorTexture.html">createColorTexture</a><span style="display: none;"><p>天际线分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CustomProjection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CustomProjection.html">CustomProjection</a><span style="display: none;"><p>实现自定义投影坐标系与地理坐标系经纬度(弧度表示)之间的投影变换</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CustomTilingScheme"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CustomTilingScheme.html">CustomTilingScheme</a><span style="display: none;"><p>自定义瓦片平铺方案,在使用时有如下限制:</p>
|
|
198
|
+
<ol>
|
|
199
|
+
<li>裁图原点必须在地图范围的左上角区域;</li>
|
|
200
|
+
<li>仅支持如同谷歌地图的瓦片组织方式,即Y轴编号从上到下递增,X轴编号从左到右递增;</li>
|
|
201
|
+
</ol></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CutFillAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CutFillAnalysis.html">CutFillAnalysis</a><span style="display: none;"><p>填挖方分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="CuttingTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="CuttingTool.html">CuttingTool</a><span style="display: none;"><p>三维场景裁剪工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DrawElement"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DrawElement.html">DrawElement</a><span style="display: none;"><p>几何绘制类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DrawTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DrawTool.html">DrawTool</a><span style="display: none;"><p>绘制工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="DynamicEntityVisualizer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="DynamicEntityVisualizer.html">DynamicEntityVisualizer</a><span style="display: none;"><p>动态实体视图类封装
|
|
202
|
+
1、支持BillBoard、Label、GroundPrimitive等动态显示,处理覆盖问题
|
|
203
|
+
2、动态显隐效果
|
|
204
|
+
3、视窗内性能优化</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EditTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EditTool.html">EditTool</a><span style="display: none;"><p>标绘编辑工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FloodAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FloodAnalysis.html">FloodAnalysis</a><span style="display: none;"><p>洪水淹没分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FloodAnalysisReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FloodAnalysisReflection.html">FloodAnalysisReflection</a><span style="display: none;"><p>创建反射水面淹没分析的实例化对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GlobeIndependentTranslucency"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GlobeIndependentTranslucency.html">GlobeIndependentTranslucency</a><span style="display: none;"><p>单独控制地表透明度和影像图层的透明度,能够在开启地表透明后使部分影像图层不受地表透明的影响。</p>
|
|
205
|
+
<p>实例化该类的对象同时也能够使用原生的地表透明参数,能够直接在实例化对象上修改 <code>GlobeTranslucency</code> 的参数(原生的
|
|
206
|
+
viewer.scene.globe.translucency依然能够使用,但两者同时使用时会造成相互干扰,推荐仅使用GlobeIndependentTranslucency来实现地表透明),
|
|
207
|
+
使用原生的地表透明方式还是该类的地表透明方式由 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 数组是否为空来区分。</p>
|
|
208
|
+
<p>1. 当 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 不为空数组时,使用该类的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
209
|
+
<ul>
|
|
210
|
+
<li><code>globeFaceAlpha</code>:地表的透明度,若设置该参数则<code>globeFaceAlphaByDistance</code>不生效;</li>
|
|
211
|
+
<li><code>globeFaceAlphaByDistance</code>:地表的透明度根据视点距离的变化范围,当<code>globeFaceAlpha</code>为<code>undefined</code>时生效;</li>
|
|
212
|
+
</ul>
|
|
213
|
+
<p>2. 当 <a href="GlobeIndependentTranslucency.html#imageryLayers"><code>GlobeIndependentTranslucency#imageryLayers</code></a> 为空数组时,使用原生的地表透明方式,此时能够设置并生效的地表透明参数如下:</p>
|
|
214
|
+
<ul>
|
|
215
|
+
<li><code>frontFaceAlpha</code>:地表正面的透明度;</li>
|
|
216
|
+
<li><code>frontFaceAlphaByDistance </code>:地表正面的透明度根据视点距离的变化范围;</li>
|
|
217
|
+
<li><code>backFaceAlpha</code>:地表背面的透明度;</li>
|
|
218
|
+
<li><code>backFaceAlphaByDistance</code>:地表背面的透明度根据视点距离的变化范围;</li>
|
|
219
|
+
<li><code>rectangle</code>:将地表透明的区域限制在一个矩形范围内。</li>
|
|
220
|
+
</ul></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Graphic"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Graphic.html">Graphic</a><span style="display: none;"><p>标绘图元对象<br>
|
|
221
|
+
请参考以下示例:<br>
|
|
222
|
+
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
223
|
+
<a href='#example2'>2、添加一个多边形图元</a><br>
|
|
224
|
+
<a href='#example3'>3、新增一个类型为div的标绘对象</a><br>
|
|
225
|
+
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>4、更多示例</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicsLayer.html">GraphicsLayer</a><span style="display: none;"><p>标绘图层<br>
|
|
226
|
+
请参考以下示例:<br>
|
|
227
|
+
<a href='#example1'>1、初始化标绘图层</a><br>
|
|
228
|
+
<a href='#example2'>2、重写提示框对象</a><br>
|
|
229
|
+
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#tdGraphBase' target='_blank'>3、更多示例</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicTransformTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicTransformTool.html">GraphicTransformTool</a><span style="display: none;"><p>基础标绘变换工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="HeightLimited"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="HeightLimited.html">HeightLimited</a><span style="display: none;"><p>限高分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>构建实例化对象的配置参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="isCounterClockwise"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="isCounterClockwise.html">isCounterClockwise</a><span style="display: none;"><p>地形剖切工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="KeyboardCameraController"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="KeyboardCameraController.html">KeyboardCameraController</a><span style="display: none;"><p>场景相机漫游工具,可以实现沉浸式的鼠标键盘漫游功能,具体操作方法如下:</p>
|
|
230
|
+
<p>1. 相机平移操作,这类操作不会改变相机的朝向,只会改变相机的位置:</p>
|
|
231
|
+
<ul>
|
|
232
|
+
<li><code>W</code>:相机位置向前移动</li>
|
|
233
|
+
<li><code>S</code>:相机位置向后移动</li>
|
|
234
|
+
<li><code>A</code>:相机位置向左移动</li>
|
|
235
|
+
<li><code>D</code>:相机位置向右移动</li>
|
|
236
|
+
<li><code>Q</code>:相机位置升高</li>
|
|
237
|
+
<li><code>E</code>:相机位置降低</li>
|
|
238
|
+
</ul>
|
|
239
|
+
<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>
|
|
240
|
+
<ul>
|
|
241
|
+
<li><code>I</code>:相机视角靠近屏幕中心点</li>
|
|
242
|
+
<li><code>K</code>:相机视角远离屏幕中心点</li>
|
|
243
|
+
<li><code>J</code>:绕屏幕中心点向左旋转</li>
|
|
244
|
+
<li><code>L</code>:绕屏幕中心点向右旋转</li>
|
|
245
|
+
<li><code>U</code>:绕屏幕中心点向上旋转</li>
|
|
246
|
+
<li><code>O</code>:绕屏幕中心点向下旋转</li>
|
|
247
|
+
</ul>
|
|
248
|
+
<p>3. 相机自身操作,这类操作不会改变相机的位置,只会改变相机的朝向(在全屏状态下可使用鼠标调整相机视角):</p>
|
|
249
|
+
<ul>
|
|
250
|
+
<li><code>↑</code>:向上抬高视角</li>
|
|
251
|
+
<li><code>↓</code>:向下降低视角</li>
|
|
252
|
+
<li><code>←</code>:向左移动视角</li>
|
|
253
|
+
<li><code>→</code>:向右移动视角</li>
|
|
254
|
+
</ul>
|
|
255
|
+
<p>4. 鼠标操作:</p>
|
|
256
|
+
<ul>
|
|
257
|
+
<li>开启鼠标操作功能后,页面将进入全屏模式,此时相机视角可通过鼠标移动进行操作</li>
|
|
258
|
+
</ul>
|
|
259
|
+
<p>5. 辅助操作:</p>
|
|
260
|
+
<ul>
|
|
261
|
+
<li><code>Shift</code>:加速相机平移操作,调整移动步长为原来的两倍</li>
|
|
262
|
+
<li><code>R</code>:重置视角到初始视角,仅在参数<code>initView</code>定义时有效</li>
|
|
263
|
+
</ul></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISM3DSet"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISM3DSet.html">MapGISM3DSet</a><span style="display: none;"><p>MapGISM3DSet对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISMapServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISMapServerImageryProvider.html">MapGISMapServerImageryProvider</a><span style="display: none;"><p>MapGIS地图图片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTerrainProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTerrainProvider.html">MapGISTerrainProvider</a><span style="display: none;"><p>MapGIS地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTileAvailability"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileAvailability.html">MapGISTileAvailability</a><span style="display: none;"><p>MapGIS的TileAvailability类,重写了Cesium.TileAvailability的所有方法,支持在内部自动筛选要使用的地形图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISTileServerImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISTileServerImageryProvider.html">MapGISTileServerImageryProvider</a><span style="display: none;"><p>MapGIS瓦片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapGISVectorTileImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapGISVectorTileImageryProvider.html">MapGISVectorTileImageryProvider</a><span style="display: none;"><p>MapGIS矢量瓦片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureAreaTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureAreaTool.html">MeasureAreaTool</a><span style="display: none;"><p>面积测量工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureLengthTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureLengthTool.html">MeasureLengthTool</a><span style="display: none;"><p>距离测量</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MeasureSlopeTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MeasureSlopeTool.html">MeasureSlopeTool</a><span style="display: none;"><p>坡度测量</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelEditor.html">ModelEditor</a><span style="display: none;"><p>模型矩阵编辑工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelFilterTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelFilterTool.html">ModelFilterTool</a><span style="display: none;"><p>模型空间过滤工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ModelTransformTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ModelTransformTool.html">ModelTransformTool</a><span style="display: none;"><p>模型变换工具集</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="NavigationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="NavigationTool.html">NavigationTool</a><span style="display: none;"><p>A mixin which adds the Compass/Navigation widget to the Viewer widget.
|
|
264
|
+
Rather than being called directly, this function is normally passed as
|
|
265
|
+
a parameter to <code>Viewer#extend</code>, as shown in the example below.</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="OpenWeatherImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="OpenWeatherImageryProvider.html">OpenWeatherImageryProvider</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PolylineTrailLinkMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PolylineTrailLinkMaterialProperty.html">PolylineTrailLinkMaterialProperty</a><span style="display: none;"><p>流动纹理线材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="PostProcessStageLibrary"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="PostProcessStageLibrary.html">PostProcessStageLibrary</a><span style="display: none;"><p>用于创建后处理特效的扩展库</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="RadarMaterialProperty"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="RadarMaterialProperty.html">RadarMaterialProperty</a><span style="display: none;"><p>雷达扫描材质</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ReImg"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ReImg.html">ReImg</a><span style="display: none;"><p>截图(保存图片)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="RoamParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="RoamParticle.html">RoamParticle</a><span style="display: none;"><p>跟随模型移动粒子特效</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="S3MTileset"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="S3MTileset.html">S3MTileset</a><span style="display: none;"><p>S3MTileset类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SelectTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SelectTool.html">SelectTool</a><span style="display: none;"><p>绘制工具</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ShadowRateAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ShadowRateAnalysis.html">ShadowRateAnalysis</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="StableParticle"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="StableParticle.html">StableParticle</a><span style="display: none;"><p>固定位置粒子特效,可通过更改image与附加参数来实现火焰、喷泉、烟雾等粒子特效</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Style"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Style.html">Style</a><span style="display: none;"><p>标绘图元样式</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TerrainAnalyse"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TerrainAnalyse.html">TerrainAnalyse</a><span style="display: none;"><p>地形分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TerrainProfile"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TerrainProfile.html">TerrainProfile</a><span style="display: none;">undefined</span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ThemeManager"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ThemeManager.html">ThemeManager</a><span style="display: none;"><p>统计图</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TriangulationTool"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TriangulationTool.html">TriangulationTool</a><span style="display: none;"><p>三角测量</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="UrlTemplateImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="UrlTemplateImageryProvider.html">UrlTemplateImageryProvider</a><span style="display: none;"><p>网络瓦片图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VisiblityAnalysis"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VisiblityAnalysis.html">VisiblityAnalysis</a><span style="display: none;"><p>通视分析</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WaterReflection"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WaterReflection.html">WaterReflection</a><span style="display: none;"><p>创建反射水面的实例化对象</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceImageryProvider.html">WebMapServiceImageryProvider</a><span style="display: none;"><p>WMS图层,现已不支持通过构造函数(new WebMapServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceImageryProvider"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceImageryProvider.html">WebMapTileServiceImageryProvider</a><span style="display: none;"><p>WMTS图层,现已不支持通过构造函数(new WebMapTileServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Wind3D"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Wind3D.html">Wind3D</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 style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GeoJSONLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GeoJSONLayerUtil.html">GeoJSONLayerUtil</a><span style="display: none;"><p>GeoJSON图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="GraphicsLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="GraphicsLayerUtil.html">GraphicsLayerUtil</a><span style="display: none;"><p>几何图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSFeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSFeatureLayerUtil.html">IGSFeatureLayerUtil</a><span style="display: none;"><p>IGSFeature图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WFSLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="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 style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ISSceneLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ISSceneLayerUtil.html">ISSceneLayerUtil</a><span style="display: none;"><p>IS场景图层的工具类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>场景信息弹窗(cesium引擎)
|
|
266
|
+
参考示例:
|
|
267
|
+
<a href='#SceneView'>[初始化三维场景视图]</a>
|
|
268
|
+
<br>[ES5引入方式]:<br/>
|
|
269
|
+
zondy.cesium.SceneView() <br/>
|
|
270
|
+
[ES6引入方式]:<br/>
|
|
271
|
+
import { SceneView } from '@mapgis/webclient-cesium-plugin' <br/>
|
|
272
|
+
自定义样式说明:<br/>
|
|
273
|
+
zondy-popup__content 弹窗容器样式<br/>
|
|
274
|
+
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
275
|
+
zondy-popup__header 弹窗头部样式<br/>
|
|
276
|
+
zondy-popup__content 弹窗主体样式<br/>
|
|
277
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SceneView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SceneView.html">SceneView</a><span style="display: none;"><p>场景视图类<br/>
|
|
278
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SceneView.html' target='_blank'>zondy.SceneView</a></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="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 style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>Cesium引擎草图编辑类<br/>
|
|
279
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor3D.html' target='_blank'>zondy.SketchEditor3D</a><br/>
|
|
280
|
+
<br>[ES5引入方式]:<br/>
|
|
281
|
+
const { SketchEditor } = zondy.tool.sketch <br/>
|
|
282
|
+
[ES6引入方式]:<br/>
|
|
283
|
+
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul></div>
|
|
284
|
+
|
|
285
|
+
</nav>
|
|
286
|
+
</div>
|
|
287
|
+
<div class="core" id="main-content-wrapper">
|
|
288
|
+
<div class="content">
|
|
289
|
+
<header id="page-title" class="page-title">
|
|
290
|
+
<span class="page-title-main">类名</span>
|
|
291
|
+
<span class="page-title-sub">WebMapServiceImageryProvider</span>
|
|
292
|
+
</header>
|
|
293
|
+
|
|
8
294
|
|
|
9
295
|
|
|
10
296
|
|
|
@@ -25,7 +311,7 @@
|
|
|
25
311
|
<h4 class="name" id="WebMapServiceImageryProvider">
|
|
26
312
|
<a class="href-link" href="#WebMapServiceImageryProvider">#</a>
|
|
27
313
|
|
|
28
|
-
<span class="code-name"
|
|
314
|
+
<span class="code-name" style="font-size:30px">
|
|
29
315
|
|
|
30
316
|
new WebMapServiceImageryProvider<span class="signature">()</span>
|
|
31
317
|
|
|
@@ -35,7 +321,7 @@
|
|
|
35
321
|
|
|
36
322
|
|
|
37
323
|
<div class="description">
|
|
38
|
-
<p>WMS
|
|
324
|
+
<p>WMS图层,现已不支持通过构造函数(new WebMapServiceImageryProvider())的方式初始化图层,而是使用fromUrl方法构造图层</p>
|
|
39
325
|
</div>
|
|
40
326
|
|
|
41
327
|
|
|
@@ -105,18 +391,25 @@
|
|
|
105
391
|
|
|
106
392
|
|
|
107
393
|
|
|
108
|
-
<p class="summary"><h5
|
|
394
|
+
<p class="summary"><h5>请参考以下示例:</h5>
|
|
395
|
+
<a href='#example1'>1、添加一个WMS图层:原生接口开发</a><br>
|
|
396
|
+
<a href='#example2'>2、添加一个WMS图层:混合接口开发</a><br>
|
|
397
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/layer/layerControl/image-layer-elevation-mode-setting' target='_blank'>3、影像图层高程模式设置</a><br>
|
|
398
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/analyse/compareAnalyse/roller-shutter' target='_blank'>4、卷帘</a><br>
|
|
399
|
+
<a href='http://webclient.smaryun.com/#/modules/cesium/sceneControl/scene/globe-independent-translucency' target='_blank'>5、地表透明度独立控制</a><br>
|
|
400
|
+
<a href='http://webclient.smaryun.com/#/example-gallery/cesium#OGCLayer' target='_blank'>6、更多图层加载示例</a>
|
|
401
|
+
<h5>支持如下方法:</h5>
|
|
109
402
|
<a href='#fromUrl'>[1、通过WMS服务的url获取WebMapServiceImageryProvider对象]</a><br/></p>
|
|
110
403
|
|
|
111
404
|
|
|
112
405
|
|
|
113
406
|
<h5>示例</h5>
|
|
114
407
|
|
|
115
|
-
<p class="code-caption"><h7>添加一个WMS
|
|
408
|
+
<p class="code-caption"><h7 id='example1'>添加一个WMS图层:原生接口开发</h7></p>
|
|
116
409
|
|
|
117
410
|
|
|
118
411
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
119
|
-
const { WebMapServiceImageryProvider } = zondy
|
|
412
|
+
const { WebMapServiceImageryProvider } = zondy.cesium
|
|
120
413
|
// ES6引入方式
|
|
121
414
|
import { WebMapServiceImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
122
415
|
|
|
@@ -132,11 +425,11 @@ async function addWMSLayer() {
|
|
|
132
425
|
addWMSLayer(url)</code></pre>
|
|
133
426
|
|
|
134
427
|
|
|
135
|
-
<p class="code-caption"><h7>添加一个WMS
|
|
428
|
+
<p class="code-caption"><h7 id='example2'>添加一个WMS图层:混合接口开发</h7></p>
|
|
136
429
|
|
|
137
430
|
|
|
138
431
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
139
|
-
const { WMSLayer } = zondy.
|
|
432
|
+
const { WMSLayer } = zondy.layer
|
|
140
433
|
const { initializeOptions } = zondy.cesium.util
|
|
141
434
|
// ES6引入方式
|
|
142
435
|
import { initializeOptions } from "@mapgis/webclient-cesium-plugin"
|
|
@@ -187,43 +480,7 @@ wmsLayer.load().then((layer) => {
|
|
|
187
480
|
|
|
188
481
|
<div class='vertical-section'>
|
|
189
482
|
<h3 id='function'>方法</h3>
|
|
190
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法概述</h4>
|
|
191
483
|
<div class="members">
|
|
192
|
-
<div class="table-container">
|
|
193
|
-
<table class="params table">
|
|
194
|
-
<thead>
|
|
195
|
-
<tr>
|
|
196
|
-
<th>名称</th>
|
|
197
|
-
<th>返回值类型</th>
|
|
198
|
-
<th>描述</th>
|
|
199
|
-
</tr>
|
|
200
|
-
</thead>
|
|
201
|
-
<tbody>
|
|
202
|
-
|
|
203
|
-
<tr class="deep-level-0">
|
|
204
|
-
<td class="name"><code><a href="#fromUrl">fromUrl</a></code></td>
|
|
205
|
-
<td class="name">
|
|
206
|
-
<code>
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
<span class="param-type">
|
|
210
|
-
|
|
211
|
-
<a link="WebMapServiceImageryProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="WebMapServiceImageryProvider" WebMapServiceImageryProvider.html>WebMapServiceImageryProvider</a>
|
|
212
|
-
|
|
213
|
-
</span>
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
</code>
|
|
219
|
-
</td>
|
|
220
|
-
<td class="name"><code></code></td>
|
|
221
|
-
</tr>
|
|
222
|
-
|
|
223
|
-
</tbody>
|
|
224
|
-
</table>
|
|
225
|
-
</div>
|
|
226
|
-
<h4 style="margin-top: 20px;margin-bottom: 20px;">方法详情</h4>
|
|
227
484
|
|
|
228
485
|
<div class="member">
|
|
229
486
|
|
|
@@ -238,7 +495,7 @@ wmsLayer.load().then((layer) => {
|
|
|
238
495
|
<span class='tag'>static</span>
|
|
239
496
|
|
|
240
497
|
|
|
241
|
-
<span class="code-name"
|
|
498
|
+
<span class="code-name" style="font-size:30px">
|
|
242
499
|
|
|
243
500
|
fromUrl<span class="signature">(url, options)</span>
|
|
244
501
|
|
|
@@ -247,6 +504,10 @@ wmsLayer.load().then((layer) => {
|
|
|
247
504
|
|
|
248
505
|
|
|
249
506
|
|
|
507
|
+
<div class="description">
|
|
508
|
+
<p>通过WMS服务的url获取WebMapServiceImageryProvider对象</p>
|
|
509
|
+
</div>
|
|
510
|
+
|
|
250
511
|
|
|
251
512
|
|
|
252
513
|
|
|
@@ -256,7 +517,7 @@ wmsLayer.load().then((layer) => {
|
|
|
256
517
|
|
|
257
518
|
|
|
258
519
|
|
|
259
|
-
<h4
|
|
520
|
+
<h4>参数:</h4>
|
|
260
521
|
|
|
261
522
|
<div class="table-container">
|
|
262
523
|
<table class="params table">
|
|
@@ -269,6 +530,8 @@ wmsLayer.load().then((layer) => {
|
|
|
269
530
|
<th>类型</th>
|
|
270
531
|
|
|
271
532
|
|
|
533
|
+
<th style="min-width: 100px;">默认值</th>
|
|
534
|
+
|
|
272
535
|
|
|
273
536
|
<th class="last">描述</th>
|
|
274
537
|
</tr>
|
|
@@ -286,20 +549,19 @@ wmsLayer.load().then((layer) => {
|
|
|
286
549
|
<td class="type">
|
|
287
550
|
|
|
288
551
|
|
|
289
|
-
<span class="param-type">
|
|
290
|
-
|
|
291
|
-
String
|
|
292
|
-
|
|
293
|
-
</span>
|
|
294
|
-
|
|
552
|
+
<span class="param-type">String</span>
|
|
295
553
|
|
|
296
554
|
|
|
297
555
|
|
|
298
556
|
</td>
|
|
299
557
|
|
|
300
558
|
|
|
559
|
+
<td class="default">
|
|
560
|
+
|
|
561
|
+
</td>
|
|
562
|
+
|
|
301
563
|
|
|
302
|
-
<td class="description last"><p
|
|
564
|
+
<td class="description last"><p>服务的基地址,无标准格式</p></td>
|
|
303
565
|
</tr>
|
|
304
566
|
|
|
305
567
|
|
|
@@ -315,23 +577,575 @@ wmsLayer.load().then((layer) => {
|
|
|
315
577
|
<td class="type">
|
|
316
578
|
|
|
317
579
|
|
|
318
|
-
<span class="param-type">
|
|
580
|
+
<span class="param-type">Object</span>
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
</td>
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
<td class="default">
|
|
588
|
+
|
|
589
|
+
</td>
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
<td class="description last"><p>实例化对象时提供的额外配置参数,若该对象中包含构造参数则会覆盖对应的构造参数</p></td>
|
|
593
|
+
</tr>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
<tr class="deep-level-1">
|
|
599
|
+
|
|
600
|
+
<td class="name"><code>layers</code></td>
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
<td class="type">
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
<span class="param-type">string</span>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
</td>
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
<td class="default">
|
|
614
|
+
|
|
615
|
+
null
|
|
616
|
+
|
|
617
|
+
</td>
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
<td class="description last"><p>要显示的子图层id,多个子图层以逗号分隔,'layer1,layer2,...'</p></td>
|
|
621
|
+
</tr>
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
319
625
|
|
|
320
|
-
|
|
626
|
+
<tr class="deep-level-1">
|
|
627
|
+
|
|
628
|
+
<td class="name"><code>crs</code></td>
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
<td class="type">
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
<span class="param-type">string</span>
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
</td>
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
<td class="default">
|
|
642
|
+
|
|
643
|
+
null
|
|
644
|
+
|
|
645
|
+
</td>
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
<td class="description last"><p>坐标系名称(CRS),当WMS版本大于等于1.3.0时,使用该值</p></td>
|
|
649
|
+
</tr>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
321
653
|
|
|
322
|
-
|
|
654
|
+
<tr class="deep-level-1">
|
|
655
|
+
|
|
656
|
+
<td class="name"><code>srs</code></td>
|
|
657
|
+
|
|
323
658
|
|
|
659
|
+
<td class="type">
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
<span class="param-type">string</span>
|
|
324
663
|
|
|
325
664
|
|
|
326
665
|
|
|
327
666
|
</td>
|
|
328
667
|
|
|
329
668
|
|
|
669
|
+
<td class="default">
|
|
670
|
+
|
|
671
|
+
null
|
|
672
|
+
|
|
673
|
+
</td>
|
|
674
|
+
|
|
330
675
|
|
|
331
|
-
<td class="description last"><p
|
|
676
|
+
<td class="description last"><p>坐标系名称(SRS),当WMS版本是1.1.0或者1.1.1时,使用该值</p></td>
|
|
677
|
+
</tr>
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
<tr class="deep-level-1">
|
|
683
|
+
|
|
684
|
+
<td class="name"><code>rectangle</code></td>
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
<td class="type">
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
<span class="param-type">Cesium.Rectangle</span>
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
</td>
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
<td class="default">
|
|
698
|
+
|
|
699
|
+
Rectangle.MAX_VALUE
|
|
700
|
+
|
|
701
|
+
</td>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
<td class="description last"><p>图层显示范围,超出范围不会额外请求瓦片,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=Rectangle' target='_blank'>详见Cesium.Rectangle</a></p></td>
|
|
332
705
|
</tr>
|
|
333
706
|
|
|
334
707
|
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
<tr class="deep-level-1">
|
|
711
|
+
|
|
712
|
+
<td class="name"><code>tilingScheme</code></td>
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
<td class="type">
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
<span class="param-type">Cesium.TilingScheme</span>
|
|
719
|
+
|
|
|
720
|
+
|
|
721
|
+
<span class="param-type"><a href="CustomTilingScheme.html">CustomTilingScheme</a></span>
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
</td>
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
<td class="default">
|
|
729
|
+
|
|
730
|
+
new Cesium.GeographicTilingScheme()
|
|
731
|
+
|
|
732
|
+
</td>
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
<td class="description last"><p>瓦片平铺方案,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=TilingScheme' target='_blank'>详见Cesium.TilingScheme</a></p></td>
|
|
736
|
+
</tr>
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
<tr class="deep-level-1">
|
|
742
|
+
|
|
743
|
+
<td class="name"><code>tileWidth</code></td>
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
<td class="type">
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
<span class="param-type">number</span>
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
</td>
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
<td class="default">
|
|
757
|
+
|
|
758
|
+
256
|
|
759
|
+
|
|
760
|
+
</td>
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
<td class="description last"><p>请求瓦片宽度</p></td>
|
|
764
|
+
</tr>
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
<tr class="deep-level-1">
|
|
770
|
+
|
|
771
|
+
<td class="name"><code>tileHeight</code></td>
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
<td class="type">
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
<span class="param-type">number</span>
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
</td>
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
<td class="default">
|
|
785
|
+
|
|
786
|
+
256
|
|
787
|
+
|
|
788
|
+
</td>
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
<td class="description last"><p>请求瓦片高度</p></td>
|
|
792
|
+
</tr>
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
<tr class="deep-level-1">
|
|
798
|
+
|
|
799
|
+
<td class="name"><code>minimumLevel</code></td>
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
<td class="type">
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
<span class="param-type">number</span>
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
</td>
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
<td class="default">
|
|
813
|
+
|
|
814
|
+
0
|
|
815
|
+
|
|
816
|
+
</td>
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
<td class="description last"><p>图层最小请求瓦片级别,小于该级别不再请求瓦片</p></td>
|
|
820
|
+
</tr>
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
<tr class="deep-level-1">
|
|
826
|
+
|
|
827
|
+
<td class="name"><code>maximumLevel</code></td>
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
<td class="type">
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
<span class="param-type">number</span>
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
</td>
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
<td class="default">
|
|
841
|
+
|
|
842
|
+
</td>
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
<td class="description last"><p>图层最大请求瓦片级别,大于该级别不再请求瓦片</p></td>
|
|
846
|
+
</tr>
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
<tr class="deep-level-1">
|
|
852
|
+
|
|
853
|
+
<td class="name"><code>ellipsoid</code></td>
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
<td class="type">
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
<span class="param-type">Cesium.Ellipsoid</span>
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
</td>
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
<td class="default">
|
|
867
|
+
|
|
868
|
+
Cesium.Ellipsoid.default
|
|
869
|
+
|
|
870
|
+
</td>
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
<td class="description last"><p>椭球体对象,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=Ellipsoid' target='_blank'>详见Cesium.Ellipsoid</a></p></td>
|
|
874
|
+
</tr>
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
<tr class="deep-level-1">
|
|
880
|
+
|
|
881
|
+
<td class="name"><code>parameters</code></td>
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
<td class="type">
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
<span class="param-type">object</span>
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
</td>
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
<td class="default">
|
|
895
|
+
|
|
896
|
+
Cesium.WebMapServiceImageryProvider.DefaultParameters
|
|
897
|
+
|
|
898
|
+
</td>
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
<td class="description last"><p>额外要添加在出图请求中的参数</p></td>
|
|
902
|
+
</tr>
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
<tr class="deep-level-1">
|
|
908
|
+
|
|
909
|
+
<td class="name"><code>getFeatureInfoParameters</code></td>
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
<td class="type">
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
<span class="param-type">object</span>
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
</td>
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
<td class="default">
|
|
923
|
+
|
|
924
|
+
WebMapServiceImageryProvider.GetFeatureInfoDefaultParameters
|
|
925
|
+
|
|
926
|
+
</td>
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
<td class="description last"><p>额外要添加在请求元信息链接中的参数</p></td>
|
|
930
|
+
</tr>
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
<tr class="deep-level-1">
|
|
936
|
+
|
|
937
|
+
<td class="name"><code>credit</code></td>
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
<td class="type">
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
<span class="param-type">Cesium.Credit</span>
|
|
944
|
+
|
|
|
945
|
+
|
|
946
|
+
<span class="param-type">string</span>
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
</td>
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
<td class="default">
|
|
954
|
+
|
|
955
|
+
null
|
|
956
|
+
|
|
957
|
+
</td>
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
<td class="description last"><p>场景上显示的数据源的信息,当使用MapGIS发布的Cesium库时,该功能失效,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=Credit' target='_blank'>详见Cesium.Credit</a></p></td>
|
|
961
|
+
</tr>
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
<tr class="deep-level-1">
|
|
967
|
+
|
|
968
|
+
<td class="name"><code>enablePickFeatures</code></td>
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
<td class="type">
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
<span class="param-type">boolean</span>
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
</td>
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
<td class="default">
|
|
982
|
+
|
|
983
|
+
true
|
|
984
|
+
|
|
985
|
+
</td>
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
<td class="description last"><p>If true, <code>WebMapServiceImageryProvider#pickFeatures</code> will invoke
|
|
989
|
+
the GetFeatureInfo operation on the WMS server and return the features included in the response. If false,
|
|
990
|
+
<code>WebMapServiceImageryProvider#pickFeatures</code> will immediately return undefined (indicating no pickable features)
|
|
991
|
+
without communicating with the server. Set this property to false if you know your WMS server does not support
|
|
992
|
+
GetFeatureInfo or if you don't want this provider's features to be pickable. Note that this can be dynamically
|
|
993
|
+
overridden by modifying the WebMapServiceImageryProvider#enablePickFeatures property.</p></td>
|
|
994
|
+
</tr>
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
<tr class="deep-level-1">
|
|
1000
|
+
|
|
1001
|
+
<td class="name"><code>getFeatureInfoFormats</code></td>
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
<td class="type">
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
<span class="param-type">Array.<Cesium.GetFeatureInfoFormat></span>
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
</td>
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
<td class="default">
|
|
1015
|
+
|
|
1016
|
+
Cesium.WebMapServiceImageryProvider.DefaultGetFeatureInfoFormats
|
|
1017
|
+
|
|
1018
|
+
</td>
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
<td class="description last"><p>The formats
|
|
1022
|
+
in which to try WMS GetFeatureInfo requests.
|
|
1023
|
+
this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
|
|
1024
|
+
parameter is specified, the WGS84 ellipsoid is used.</p></td>
|
|
1025
|
+
</tr>
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
<tr class="deep-level-1">
|
|
1031
|
+
|
|
1032
|
+
<td class="name"><code>subdomains</code></td>
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
<td class="type">
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
<span class="param-type">string</span>
|
|
1039
|
+
|
|
|
1040
|
+
|
|
1041
|
+
<span class="param-type">Array.<string></span>
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
</td>
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
<td class="default">
|
|
1049
|
+
|
|
1050
|
+
'abc'
|
|
1051
|
+
|
|
1052
|
+
</td>
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
<td class="description last"><p>The subdomains to use for the <code>{s}</code> placeholder in the URL template.
|
|
1056
|
+
If this parameter is a single string, each character in the string is a subdomain. If it is
|
|
1057
|
+
an array, each element in the array is a subdomain.</p></td>
|
|
1058
|
+
</tr>
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
<tr class="deep-level-1">
|
|
1064
|
+
|
|
1065
|
+
<td class="name"><code>clock</code></td>
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
<td class="type">
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
<span class="param-type">Cesium.Clock</span>
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
</td>
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
<td class="default">
|
|
1079
|
+
|
|
1080
|
+
null
|
|
1081
|
+
|
|
1082
|
+
</td>
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
<td class="description last"><p>A Clock instance that is used when determining the value for the time dimension. Required when <code>times</code> is specified.,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=Clock' target='_blank'>详见Cesium.Clock</a></p></td>
|
|
1086
|
+
</tr>
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
<tr class="deep-level-1">
|
|
1092
|
+
|
|
1093
|
+
<td class="name"><code>times</code></td>
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
<td class="type">
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
<span class="param-type">Cesium.TimeIntervalCollection</span>
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
</td>
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
<td class="default">
|
|
1107
|
+
|
|
1108
|
+
null
|
|
1109
|
+
|
|
1110
|
+
</td>
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
<td class="description last"><p>TimeIntervalCollection with its data property being an object containing time dynamic dimension and their values.,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=TimeIntervalCollection' target='_blank'>详见Cesium.TimeIntervalCollection</a></p></td>
|
|
1114
|
+
</tr>
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
<tr class="deep-level-1">
|
|
1120
|
+
|
|
1121
|
+
<td class="name"><code>getFeatureInfoUrl</code></td>
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
<td class="type">
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
<span class="param-type">Cesium.Resource</span>
|
|
1128
|
+
|
|
|
1129
|
+
|
|
1130
|
+
<span class="param-type">string</span>
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
</td>
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
<td class="default">
|
|
1138
|
+
|
|
1139
|
+
</td>
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
<td class="description last"><p>The getFeatureInfo URL of the WMS service. If the property is not defined then we use the property value of url.,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=Resource' target='_blank'>详见Cesium.Resource</a></p></td>
|
|
1143
|
+
</tr>
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
|
|
335
1149
|
|
|
336
1150
|
|
|
337
1151
|
</tbody>
|
|
@@ -395,23 +1209,20 @@ wmsLayer.load().then((layer) => {
|
|
|
395
1209
|
|
|
396
1210
|
|
|
397
1211
|
<div class='columns method-parameter'>
|
|
398
|
-
<div class="column is-2"><label
|
|
1212
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
399
1213
|
<div class="column is-10">
|
|
400
1214
|
|
|
401
1215
|
|
|
402
1216
|
|
|
403
1217
|
<div class="columns">
|
|
404
1218
|
|
|
1219
|
+
<div class='param-desc column is-7'><p>初始化完毕后的WebMapServiceImageryProvider对象,<a href='http://webclient.smaryun.com/static/modules/cesium/api/cesium/index.html?classFilter=WebMapServiceImageryProvider' target='_blank'>详见Cesium.WebMapServiceImageryProvider</a></p></div>
|
|
1220
|
+
|
|
405
1221
|
|
|
406
1222
|
<div class='column is-5 has-text-left'>
|
|
407
1223
|
<label>类型: </label>
|
|
408
1224
|
|
|
409
|
-
<span class="param-type">
|
|
410
|
-
|
|
411
|
-
<a link="WebMapServiceImageryProvider.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="WebMapServiceImageryProvider" WebMapServiceImageryProvider.html>WebMapServiceImageryProvider</a>
|
|
412
|
-
|
|
413
|
-
</span>
|
|
414
|
-
|
|
1225
|
+
<span class="param-type">Cesium.WebMapServiceImageryProvider</span>
|
|
415
1226
|
|
|
416
1227
|
|
|
417
1228
|
</div>
|
|
@@ -432,7 +1243,12 @@ wmsLayer.load().then((layer) => {
|
|
|
432
1243
|
<p class="code-caption"><h7 id='fromUrl'>通过WMS服务的url获取WebMapServiceImageryProvider对象</h7></p>
|
|
433
1244
|
|
|
434
1245
|
|
|
435
|
-
<pre class="prettyprint"><code
|
|
1246
|
+
<pre class="prettyprint"><code>// ES5引入方式
|
|
1247
|
+
const { WebMapServiceImageryProvider } = zondy.cesium
|
|
1248
|
+
// ES6引入方式
|
|
1249
|
+
import { WebMapServiceImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
1250
|
+
|
|
1251
|
+
const url = 'http://localhost:8089/igs/rest/services/Map/example/WMSServer'
|
|
436
1252
|
const addImageryProvider = async (url) => {
|
|
437
1253
|
const imageryProvider = await WebMapServiceImageryProvider.fromUrl(url)
|
|
438
1254
|
viewer.imageryLayers.addImageryProvider(imageryProvider)
|
|
@@ -452,4 +1268,42 @@ addImageryProvider(url)</code></pre>
|
|
|
452
1268
|
|
|
453
1269
|
</article>
|
|
454
1270
|
|
|
455
|
-
</section>
|
|
1271
|
+
</section>
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
</div>
|
|
1277
|
+
|
|
1278
|
+
<footer class="footer">
|
|
1279
|
+
<div class="content has-text-centered">
|
|
1280
|
+
<p>文档生成<a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a></p>
|
|
1281
|
+
<p class="sidebar-created-by">
|
|
1282
|
+
<a href="http://www.smaryun.com" target="_blank">司马云</a> <span>© 2023 云生态圈</span>
|
|
1283
|
+
<a href="http://webclient.smaryun.com:8086/#/index" target="_blank">MapGIS Client for JavaScript</a>
|
|
1284
|
+
</p>
|
|
1285
|
+
</div>
|
|
1286
|
+
</footer>
|
|
1287
|
+
|
|
1288
|
+
</div>
|
|
1289
|
+
<div id="side-nav" class="side-nav">
|
|
1290
|
+
<div style="margin-bottom: 10px;">
|
|
1291
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#page-title">构造函数</a>
|
|
1292
|
+
</div>
|
|
1293
|
+
<div style="margin-bottom: 10px;">
|
|
1294
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#member">成员变量</a>
|
|
1295
|
+
</div>
|
|
1296
|
+
<div style="margin-bottom: 10px;">
|
|
1297
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#function">方法</a>
|
|
1298
|
+
</div>
|
|
1299
|
+
<div>
|
|
1300
|
+
<img style="vertical-align: middle;margin-right: 10px;width: 30px;" src="./styles/anchor.png"/><a href="#event">事件</a>
|
|
1301
|
+
</div>
|
|
1302
|
+
</div>
|
|
1303
|
+
</div>
|
|
1304
|
+
<script src="scripts/linenumber.js"> </script>
|
|
1305
|
+
|
|
1306
|
+
<script src="scripts/search.js"> </script>
|
|
1307
|
+
|
|
1308
|
+
</body>
|
|
1309
|
+
</html>
|