@mapgis/webclient-cesium-plugin 17.0.7 → 17.2.0
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 +9 -45
- package/dist/es5/webclient-cesium-plugin.min.js +6 -6
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-cesium-plugin-es6.min.js +6 -6
- package/documention/ArcGISMapServerImageryProvider.html +1 -1
- package/documention/ArcGISVectorTileImageryProvider.html +866 -0
- package/documention/CustomTilingScheme.html +5 -5
- package/documention/GeoJSONLayerUtil.html +1 -1
- package/documention/IGSFeatureLayerUtil.html +1 -1
- package/documention/IGSSceneLayerUtil.html +626 -29
- package/documention/MapGISMapServerImageryProvider.html +7 -7
- package/documention/MapGISTerrainProvider.html +499 -558
- package/documention/MapGISTileServerImageryProvider.html +154 -2
- package/documention/MapGISVectorTileImageryProvider.html +253 -0
- package/documention/SceneViewCesium.html +3 -129
- package/documention/Screenshot.html +0 -11
- package/documention/SketchEditorCesium.html +63 -1
- package/documention/UrlTemplateImageryProvider.html +45 -1
- package/documention/WFSLayerUtil.html +1 -1
- package/documention/WebMapServiceImageryProvider.html +2 -2
- package/documention/WebMapTileServiceImageryProvider.html +55 -2
- package/documention/index.html +5 -5
- package/documention/scripts/sideBar.js +16 -2
- package/package.json +2 -3
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
|
|
551
551
|
<tr class="deep-level-1">
|
|
552
552
|
|
|
553
|
-
<td class="name"><code>
|
|
553
|
+
<td class="name"><code>extensions</code></td>
|
|
554
554
|
|
|
555
555
|
|
|
556
556
|
<td class="type">
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
</td>
|
|
574
574
|
|
|
575
575
|
|
|
576
|
-
<td class="description last"><p
|
|
576
|
+
<td class="description last"><p>自定义扩展参数,将参数里面的对象解析出来拼装在出图地址后面</p></td>
|
|
577
577
|
</tr>
|
|
578
578
|
|
|
579
579
|
|
|
@@ -786,7 +786,7 @@ const { MapGISMapServerImageryProvider } = Zondy
|
|
|
786
786
|
import { MapGISMapServerImageryProvider } from "@mapgis/webclient-cesium-plugin"
|
|
787
787
|
|
|
788
788
|
// 定义IGS地图图片图层服务的基地址
|
|
789
|
-
const url = 'http://
|
|
789
|
+
const url = 'http://192.168.82.91:8089/igs/rest/services/Map/湖北省4326/MapServer'
|
|
790
790
|
|
|
791
791
|
// 添加IGS地图图片图层
|
|
792
792
|
async function addIGSMapImageLayer(url) {
|
|
@@ -809,7 +809,7 @@ import { MapGISMapServerImageryProvider, initializeOptions } from "@mapgis/webcl
|
|
|
809
809
|
import { IGSMapImageLayer } from "@mapgis/webclient-common"
|
|
810
810
|
|
|
811
811
|
// 定义IGS地图图片图层服务的基地址
|
|
812
|
-
const url = 'http://
|
|
812
|
+
const url = 'http://192.168.82.91:8089/igs/rest/services/Map/湖北省4326/MapServer'
|
|
813
813
|
|
|
814
814
|
// 创建地图图片图层对象
|
|
815
815
|
igsMapImageLayer = new IGSMapImageLayer({
|
|
@@ -827,7 +827,7 @@ igsMapImageLayer.load().then((layer) => {
|
|
|
827
827
|
})</code></pre>
|
|
828
828
|
|
|
829
829
|
|
|
830
|
-
<p class="code-caption"><h7>
|
|
830
|
+
<p class="code-caption"><h7>extensions参数的配置方法</h7></p>
|
|
831
831
|
|
|
832
832
|
|
|
833
833
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
@@ -835,11 +835,11 @@ const { MapGISMapServerImageryProvider } = Zondy
|
|
|
835
835
|
// ES6引入方式
|
|
836
836
|
import { MapGISMapServerImageryProvider } from "@mapgis/webclient-cesium-pulgin-mini"
|
|
837
837
|
|
|
838
|
-
//
|
|
838
|
+
// extensions参数为自定义扩展参数,需要确保服务端支持此类参数
|
|
839
839
|
const imageryProvider = new MapGISMapServerImageryProvider({
|
|
840
840
|
url,
|
|
841
841
|
tilingScheme,
|
|
842
|
-
|
|
842
|
+
extensions: [
|
|
843
843
|
{ key: 'token', value: 'example_token' },
|
|
844
844
|
{ key: 'filters', value: '1:ID>4,3:ID>1' },
|
|
845
845
|
{ key: 'proj', value: 'Web墨卡托_WGS1984' }
|