@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.
@@ -550,7 +550,7 @@
550
550
 
551
551
  <tr class="deep-level-1">
552
552
 
553
- <td class="name"><code>extendProps</code></td>
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>扩展参数,需要确保服务端支持</p></td>
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://webclient.smaryun.com:8089/igs/rest/services/Map/湖北省4326/MapServer'
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://webclient.smaryun.com:8089/igs/rest/services/Map/湖北省4326/MapServer'
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>extendProps参数的配置方法</h7></p>
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
- // extendProps参数为自定义扩展参数,需要确保服务端支持此类参数
838
+ // extensions参数为自定义扩展参数,需要确保服务端支持此类参数
839
839
  const imageryProvider = new MapGISMapServerImageryProvider({
840
840
  url,
841
841
  tilingScheme,
842
- extendProps: [
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' }