@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.
@@ -632,7 +632,7 @@
632
632
  <p class="code-caption"><h7>添加一个ArcGIS地图服务:混合接口开发</h7></p>
633
633
 
634
634
 
635
- <pre class="prettyprint"><code>// ES5引入方式
636
635
  // 服务基地址
637
636
  url: url
638
637
  // 获取provider的初始化参数
639
638
  const options = initializeOptions(layer, viewer)
640
639
  // 构造provider对象
641
640
  provider = new Cesium.ArcGisMapServerImageryProvider(options)
642
641
  // 添加图层到Cesium视图中
643
642
  cesiumLayer = viewer.imageryLayers.addImageryProvider(provider)
643
+ <pre class="prettyprint"><code>// ES5引入方式
644
644
  // 服务基地址
645
645
  url: url
646
646
  // 获取provider的初始化参数
647
647
  const options = initializeOptions(layer, viewer)
648
648
  // 构造provider对象
649
649
  provider = new Cesium.ArcGisMapServerImageryProvider(options)
650
650
  // 添加图层到Cesium视图中
651
651
  cesiumLayer = viewer.imageryLayers.addImageryProvider(provider)
652
652
 
653
653
 
654
654