@mapgis/webclient-common 17.0.7 → 17.2.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.
Files changed (196) hide show
  1. package/README.md +12 -37
  2. package/dist/es5/webclient-common.min.js +15 -4
  3. package/dist/webclient-common-es6.min.js +16 -5
  4. package/documention/AddressServer.html +12 -12
  5. package/documention/ArcGISFeatureServer.html +10 -10
  6. package/documention/ArcGISGeometryServer.html +10 -10
  7. package/documention/ArcGISMapImageLayer.html +10 -10
  8. package/documention/ArcGISMapImageSubLayer.html +311 -7
  9. package/documention/ArcGISMapServer.html +414 -10
  10. package/documention/ArcGISTileLayer.html +121 -13
  11. package/documention/ArcGISVectorTileLayer.html +7 -7
  12. package/documention/ArcGISVectorTileServer.html +10 -10
  13. package/documention/BaseRenderer.html +239 -0
  14. package/documention/BaseServer.html +11 -11
  15. package/documention/BaseView.html +458 -3
  16. package/documention/Basemap.html +3 -3
  17. package/documention/Callout3D.html +107 -0
  18. package/documention/Cesium3DTilesCacheLayer.html +149 -177
  19. package/documention/Cesium3DTilesServer.html +11 -11
  20. package/documention/Circle.html +110 -7
  21. package/documention/ClassBreakInfo.html +0 -217
  22. package/documention/ClassBreakRenderer.html +413 -23
  23. package/documention/ClusterRenderer.html +247 -7
  24. package/documention/Config.html +4 -4
  25. package/documention/Extent.html +118 -15
  26. package/documention/ExtrudeSymbol3DLayer.html +109 -2
  27. package/documention/Feature.html +7 -7
  28. package/documention/FeatureLayer.html +116 -8
  29. package/documention/FeatureServer.html +27 -27
  30. package/documention/FeatureSet.html +7 -7
  31. package/documention/FillSymbol.html +107 -0
  32. package/documention/FillSymbol3DLayer.html +109 -2
  33. package/documention/Font.html +4 -4
  34. package/documention/GeoJSONLayer.html +142 -34
  35. package/documention/Geometry.html +138 -7
  36. package/documention/GeometryEngine.html +79 -79
  37. package/documention/GeometryServer.html +30 -30
  38. package/documention/GraphicsLayer.html +147 -39
  39. package/documention/GroupLayer.html +120 -12
  40. package/documention/HeatmapRenderer.html +107 -0
  41. package/documention/IGSFeatureLayer.html +25 -25
  42. package/documention/IGSMapImageLayer.html +46 -46
  43. package/documention/IGSMapImageSubLayer.html +307 -3
  44. package/documention/IGSSceneLayer.html +11 -11
  45. package/documention/IGSSceneSubLayer.html +213 -33
  46. package/documention/IGSTileLayer.html +126 -19
  47. package/documention/IGSVectorTileLayer.html +230 -43
  48. package/documention/IGSVectorTileSubLayer.html +5 -4
  49. package/documention/IconSymbol3DLayer.html +111 -4
  50. package/documention/ImageServer.html +11 -11
  51. package/documention/LabelClass.html +10 -5
  52. package/documention/LabelSymbol3D.html +2 -2
  53. package/documention/Layer.html +244 -9
  54. package/documention/LineCallout3D.html +107 -0
  55. package/documention/LineString.html +113 -10
  56. package/documention/LineSymbol.html +107 -0
  57. package/documention/LineSymbol3D.html +2 -2
  58. package/documention/LineSymbol3DLayer.html +109 -2
  59. package/documention/M3DModelCacheLayer.html +133 -79
  60. package/documention/M3DServer.html +12 -12
  61. package/documention/Map.html +32 -5
  62. package/documention/MapGISTextSymbol.html +110 -3
  63. package/documention/MapImageLayer.html +527 -16
  64. package/documention/MapServer.html +14 -14
  65. package/documention/MapView.html +204 -3
  66. package/documention/MarkerSymbol.html +107 -0
  67. package/documention/MultiLineString.html +116 -13
  68. package/documention/MultiPoint.html +113 -10
  69. package/documention/MultiPolygon.html +112 -9
  70. package/documention/OGCLayer.html +116 -8
  71. package/documention/ObjectSymbol3DLayer.html +111 -4
  72. package/documention/OutStatistic.html +1 -1
  73. package/documention/OverlayLayer.html +116 -8
  74. package/documention/PathSymbol3DLayer.html +109 -2
  75. package/documention/PictureFillSymbol.html +169 -8
  76. package/documention/PictureMarkerSymbol.html +3 -3
  77. package/documention/PlotServer.html +10 -10
  78. package/documention/PoiServer.html +12 -12
  79. package/documention/Point.html +115 -12
  80. package/documention/PointSymbol3D.html +3 -3
  81. package/documention/Polygon.html +117 -14
  82. package/documention/PolygonSymbol3D.html +2 -2
  83. package/documention/Projection.html +429 -8
  84. package/documention/RandomRenderer.html +108 -1
  85. package/documention/RankRenderer.html +109 -2
  86. package/documention/ResourceServer.html +150 -150
  87. package/documention/RootServer.html +12 -12
  88. package/documention/SceneLayer.html +116 -8
  89. package/documention/SceneServer.html +16 -16
  90. package/documention/SceneView.html +10164 -130
  91. package/documention/SecurityServer.html +12 -12
  92. package/documention/SimpleFillSymbol.html +110 -3
  93. package/documention/SimpleLineSymbol.html +3 -3
  94. package/documention/SimpleMarkerSymbol.html +3 -3
  95. package/documention/SimpleRenderer.html +116 -9
  96. package/documention/SizeVariable.html +1 -1
  97. package/documention/SketchBaseDrawTool.html +181 -3
  98. package/documention/SketchCircleDrawTool.html +159 -3
  99. package/documention/SketchEditor.html +2 -2
  100. package/documention/SketchEditorCesium.html +1 -1
  101. package/documention/SketchEditorVideo.html +2 -2
  102. package/documention/SketchEditorVideoBase.html +3 -3
  103. package/documention/SketchExtentDrawTool.html +159 -3
  104. package/documention/SketchFreehandPolygonDrawTool.html +159 -3
  105. package/documention/SketchFreehandPolylineDrawTool.html +159 -3
  106. package/documention/SketchPointDrawTool.html +159 -3
  107. package/documention/SketchPolygonDrawTool.html +318 -6
  108. package/documention/SketchPolylineDrawTool.html +318 -6
  109. package/documention/SpatialReference.html +1 -1
  110. package/documention/SubLayer.html +296 -26
  111. package/documention/Symbol.html +134 -1
  112. package/documention/Symbol3DLayer.html +107 -0
  113. package/documention/Symbol3DVerticalOffset.html +107 -0
  114. package/documention/TerrainCacheLayer.html +133 -165
  115. package/documention/TerrainServer.html +11 -11
  116. package/documention/TextSymbol.html +111 -4
  117. package/documention/TextSymbol3DLayer.html +109 -2
  118. package/documention/ThemeServer.html +13 -13
  119. package/documention/TileLayer.html +116 -8
  120. package/documention/TileServer.html +12 -12
  121. package/documention/UniqueValueInfo.html +0 -217
  122. package/documention/UniqueValueRenderer.html +125 -18
  123. package/documention/UnknownLayer.html +116 -8
  124. package/documention/VectorTileLayer.html +117 -9
  125. package/documention/VectorTileServer.html +11 -11
  126. package/documention/VectorTileSubLayer.html +304 -0
  127. package/documention/VideoMapView.html +4 -4
  128. package/documention/WCSServer.html +10 -10
  129. package/documention/WFSLayer.html +140 -32
  130. package/documention/WFSServer.html +11 -11
  131. package/documention/WMSLayer.html +131 -23
  132. package/documention/WMSServer.html +12 -12
  133. package/documention/WMSSubLayer.html +218 -7
  134. package/documention/WMTSLayer.html +126 -18
  135. package/documention/WMTSServer.html +12 -12
  136. package/documention/WMTSSubLayer.html +116 -8
  137. package/documention/WPSServer.html +10 -10
  138. package/documention/WaterSymbol3DLayer.html +107 -0
  139. package/documention/WebTileLayer.html +121 -13
  140. package/documention/WorkFlowServer.html +12 -12
  141. package/documention/WorkFlowServer600227.html +12 -12
  142. package/documention/WorkFlowServer600228.html +13 -13
  143. package/documention/WorkFlowServer600229.html +12 -12
  144. package/documention/WorkFlowServer600230.html +12 -12
  145. package/documention/WorkFlowServer600231.html +12 -12
  146. package/documention/WorkFlowServer600232.html +13 -13
  147. package/documention/WorkFlowServer600233.html +14 -14
  148. package/documention/WorkFlowServer600235.html +12 -12
  149. package/documention/WorkFlowServer600237.html +13 -13
  150. package/documention/WorkFlowServer600238.html +15 -15
  151. package/documention/WorkFlowServer600239.html +16 -16
  152. package/documention/WorkFlowServer600307.html +14 -14
  153. package/documention/WorkFlowServer600308.html +2 -2
  154. package/documention/WorkFlowServer600309.html +12 -12
  155. package/documention/WorkFlowServer600314.html +12 -12
  156. package/documention/WorkFlowServer600334.html +12 -12
  157. package/documention/WorkFlowServer600336.html +12 -12
  158. package/documention/WorkFlowServer600340.html +12 -12
  159. package/documention/WorkFlowServer600354.html +12 -12
  160. package/documention/WorkFlowServer600368.html +12 -12
  161. package/documention/WorkFlowServer600369.html +12 -12
  162. package/documention/WorkFlowServer600370.html +12 -12
  163. package/documention/global.html +1024 -1874
  164. package/documention/index.html +84 -78
  165. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
  166. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
  167. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
  168. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
  169. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
  170. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
  171. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
  172. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
  173. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
  174. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
  175. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
  176. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
  177. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
  178. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
  179. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
  180. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
  181. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
  182. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
  183. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
  184. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
  185. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
  186. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
  187. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
  188. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
  189. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
  190. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
  191. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
  192. package/documention/scripts/sideBar.js +16 -2
  193. package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
  194. package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
  195. package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
  196. package/package.json +14 -13
@@ -38,7 +38,7 @@
38
38
  <p>WMS图层,<br/>
39
39
  目前二维上支持4326(包括4490,4214以及4610),3857以及EPSG支持的自定义坐标系,三维上仅支持4326(包括4490,4214以及4610)以及3857坐标系,会自动读取元信息上的坐标系,不需要用户指定,同时所有的WMS服务都支持动态投影,用户也可指定任意该服务支持的坐标系<br/>
40
40
  <br>[ES5引入方式]:<br/>
41
- Zondy.Layer.WMSLayer() <br/>
41
+ zondy.layer.WMSLayer() <br/>
42
42
  [ES6引入方式]:<br/>
43
43
  import { WMSLayer } from &quot;@mapgis/webclient-common&quot; <br/>
44
44
  <br/>
@@ -710,7 +710,7 @@ if(layer.loadStatus === 'loaded') {<br/>
710
710
 
711
711
 
712
712
  <pre class="prettyprint"><code>// ES5引入方式
713
- const { WMSLayer } = Zondy.Layer
713
+ const { WMSLayer } = zondy.layer
714
714
  // ES6引入方式
715
715
  import { WMSLayer } from "@mapgis/webclient-common"
716
716
  // 初始化wms图层
@@ -724,7 +724,7 @@ const wmsLayer = new WMSLayer({
724
724
 
725
725
 
726
726
  <pre class="prettyprint"><code>// ES5引入方式
727
- const { WMSLayer } = Zondy.Layer
727
+ const { WMSLayer } = zondy.layer
728
728
  // ES6引入方式
729
729
  import { WMSLayer } from "@mapgis/webclient-common"
730
730
  // 初始化时设置
@@ -740,7 +740,7 @@ const wmsLayer = new WMSLayer({
740
740
 
741
741
 
742
742
  <pre class="prettyprint"><code>// ES5引入方式
743
- const { WMSLayer } = Zondy.Layer
743
+ const { WMSLayer } = zondy.layer
744
744
  // ES6引入方式
745
745
  import { WMSLayer } from "@mapgis/webclient-common"
746
746
  // 初始化时设置
@@ -756,8 +756,8 @@ const wmsLayer = new WMSLayer({
756
756
 
757
757
 
758
758
  <pre class="prettyprint"><code>// ES5引入方式
759
- const { WMSLayer } = Zondy.Layer
760
- const { SpatialReference } = Zondy
759
+ const { WMSLayer } = zondy.layer
760
+ const { SpatialReference } = zondy
761
761
  // ES6引入方式
762
762
  import { WMSLayer, SpatialReference } from "@mapgis/webclient-common"
763
763
  // 初始化wms图层
@@ -782,14 +782,14 @@ const wmsLayer = new WMSLayer({
782
782
 
783
783
 
784
784
  <pre class="prettyprint"><code>// ES5引入方式
785
- const { WMSLayer } = Zondy.Layer
785
+ const { WMSLayer } = zondy.layer
786
786
  // ES6引入方式
787
787
  import { WMSLayer } from "@mapgis/webclient-common"
788
788
  // 初始化WMS图层
789
789
  const wmsLayer = new WMSLayer({
790
790
  url: 'http://219.142.81.85/arcgis/rest/services/10wanZH/MapServer/WMSServer',
791
791
  // 注意一个WMS图层可能支持多个坐标系,这里指定3857坐标系
792
- spatialReference: new Zondy.SpatialReference({
792
+ spatialReference: new zondy.SpatialReference({
793
793
  wkid: 3857
794
794
  })
795
795
  });</code></pre>
@@ -799,7 +799,7 @@ const wmsLayer = new WMSLayer({
799
799
 
800
800
 
801
801
  <pre class="prettyprint"><code>// ES5引入方式
802
- const { WMSLayer } = Zondy.Layer
802
+ const { WMSLayer } = zondy.layer
803
803
  // ES6引入方式
804
804
  import { WMSLayer } from "@mapgis/webclient-common"
805
805
  // 初始化WMS图层
@@ -821,7 +821,7 @@ const wmsLayer = new WMSLayer({
821
821
 
822
822
 
823
823
  <pre class="prettyprint"><code>// ES5引入方式
824
- const { WMSLayer } = Zondy.Layer
824
+ const { WMSLayer } = zondy.layer
825
825
  // ES6引入方式
826
826
  import { WMSLayer } from "@mapgis/webclient-common"
827
827
  // 初始化WMS图层
@@ -846,7 +846,7 @@ wmsLayer.setSubLayer({
846
846
 
847
847
 
848
848
  <pre class="prettyprint"><code>// ES5引入方式
849
- const { WMSLayer } = Zondy.Layer
849
+ const { WMSLayer } = zondy.layer
850
850
  // ES6引入方式
851
851
  import { WMSLayer } from "@mapgis/webclient-common"
852
852
  // 初始化WMS图层
@@ -1041,7 +1041,7 @@ wmsSubLayer.visible = false</code></pre>
1041
1041
 
1042
1042
  </code>
1043
1043
  </td>
1044
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
1044
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
1045
1045
  </tr>
1046
1046
 
1047
1047
  <tr class="deep-level-0">
@@ -1059,7 +1059,7 @@ wmsSubLayer.visible = false</code></pre>
1059
1059
 
1060
1060
  </code>
1061
1061
  </td>
1062
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
1062
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
1063
1063
  </tr>
1064
1064
 
1065
1065
  <tr class="deep-level-0">
@@ -1105,7 +1105,7 @@ wmsSubLayer.visible = false</code></pre>
1105
1105
 
1106
1106
  <span class="param-type">
1107
1107
 
1108
- String
1108
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1109
1109
 
1110
1110
  </span>
1111
1111
 
@@ -1347,7 +1347,7 @@ wmsSubLayer.visible = false</code></pre>
1347
1347
 
1348
1348
  </code>
1349
1349
  </td>
1350
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
1350
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
1351
1351
  </tr>
1352
1352
 
1353
1353
  <tr class="deep-level-0">
@@ -1440,6 +1440,24 @@ wmsSubLayer.visible = false</code></pre>
1440
1440
  <td class="name"><code><p>图层名称</p></code></td>
1441
1441
  </tr>
1442
1442
 
1443
+ <tr class="deep-level-0">
1444
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
1445
+ <td class="name">
1446
+ <code>
1447
+
1448
+ <span class="param-type">
1449
+
1450
+ String
1451
+
1452
+ </span>
1453
+
1454
+
1455
+
1456
+ </code>
1457
+ </td>
1458
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
1459
+ </tr>
1460
+
1443
1461
  <tr class="deep-level-0">
1444
1462
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
1445
1463
  <td class="name">
@@ -2008,7 +2026,7 @@ wmsSubLayer.visible = false</code></pre>
2008
2026
 
2009
2027
 
2010
2028
  <div class="description">
2011
- <p>初始化图层的额外参数</p>
2029
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
2012
2030
  </div>
2013
2031
 
2014
2032
 
@@ -2045,6 +2063,11 @@ wmsSubLayer.visible = false</code></pre>
2045
2063
 
2046
2064
 
2047
2065
 
2066
+ <dt class="tag-default">Default Value:</dt>
2067
+ <dd class="tag-default"><ul class="dummy">
2068
+ <li>{}</li>
2069
+ </ul></dd>
2070
+
2048
2071
 
2049
2072
 
2050
2073
 
@@ -2088,7 +2111,7 @@ wmsSubLayer.visible = false</code></pre>
2088
2111
 
2089
2112
 
2090
2113
  <div class="description">
2091
- <p>存储额外参数的属性</p>
2114
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
2092
2115
  </div>
2093
2116
 
2094
2117
 
@@ -2125,6 +2148,11 @@ wmsSubLayer.visible = false</code></pre>
2125
2148
 
2126
2149
 
2127
2150
 
2151
+ <dt class="tag-default">Default Value:</dt>
2152
+ <dd class="tag-default"><ul class="dummy">
2153
+ <li>{}</li>
2154
+ </ul></dd>
2155
+
2128
2156
 
2129
2157
 
2130
2158
 
@@ -2311,7 +2339,7 @@ wmsSubLayer.visible = false</code></pre>
2311
2339
 
2312
2340
  <span class="param-type">
2313
2341
 
2314
- String
2342
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
2315
2343
 
2316
2344
  </span>
2317
2345
 
@@ -3382,7 +3410,7 @@ wmsSubLayer.visible = false</code></pre>
3382
3410
 
3383
3411
 
3384
3412
  <div class="description">
3385
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
3413
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
3386
3414
  </div>
3387
3415
 
3388
3416
 
@@ -3805,6 +3833,86 @@ wmsSubLayer.visible = false</code></pre>
3805
3833
 
3806
3834
 
3807
3835
 
3836
+
3837
+
3838
+
3839
+
3840
+
3841
+
3842
+ </dl>
3843
+
3844
+
3845
+
3846
+
3847
+
3848
+ </div>
3849
+
3850
+ <div class="member">
3851
+
3852
+ <span class="method-parameter is-pulled-right">
3853
+ <label>类型:</label>
3854
+
3855
+ <span class="param-type">
3856
+
3857
+ String
3858
+
3859
+ </span>
3860
+
3861
+
3862
+
3863
+ </span>
3864
+
3865
+ <h4 class="name" id="tokenAttachType">
3866
+ <a class="href-link" href="#tokenAttachType">#</a>
3867
+
3868
+ <span class="code-name">
3869
+ tokenAttachType
3870
+ </span>
3871
+
3872
+ </h4>
3873
+
3874
+
3875
+
3876
+
3877
+ <div class="description">
3878
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
3879
+ </div>
3880
+
3881
+
3882
+
3883
+
3884
+
3885
+ <dl class="details">
3886
+
3887
+
3888
+
3889
+
3890
+
3891
+
3892
+ <dt class="inherited-from">Inherited From:</dt>
3893
+ <dd class="inherited-from"><ul class="dummy"><li>
3894
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
3895
+ </li></ul></dd>
3896
+
3897
+
3898
+
3899
+
3900
+
3901
+
3902
+
3903
+
3904
+
3905
+
3906
+
3907
+
3908
+
3909
+
3910
+
3911
+
3912
+
3913
+
3914
+
3915
+
3808
3916
 
3809
3917
 
3810
3918
 
@@ -4649,7 +4757,7 @@ wmsSubLayer.visible = false</code></pre>
4649
4757
 
4650
4758
 
4651
4759
  <pre class="prettyprint"><code>// ES5引入方式
4652
- const { WMSLayer } = Zondy.Layer
4760
+ const { WMSLayer } = zondy.layer
4653
4761
  // ES6引入方式
4654
4762
  import { WMSLayer } from "@mapgis/webclient-common"
4655
4763
  const json = {
@@ -5266,7 +5374,7 @@ const wmsLayer = new WMSLayer.fromJSON(json)</code></pre>
5266
5374
 
5267
5375
 
5268
5376
  <pre class="prettyprint"><code>// ES5引入方式
5269
- const { WMSLayer } = Zondy.Layer
5377
+ const { WMSLayer } = zondy.layer
5270
5378
  // ES6引入方式
5271
5379
  import { WMSLayer } from "@mapgis/webclient-common"
5272
5380
  // 初始化WMS图层
@@ -5503,7 +5611,7 @@ const wmsSubLayer = wmsLayer.findSublayerById(0)</code></pre>
5503
5611
 
5504
5612
 
5505
5613
  <pre class="prettyprint"><code>// ES5引入方式
5506
- const { WMSLayer } = Zondy.Layer
5614
+ const { WMSLayer } = zondy.layer
5507
5615
  // ES6引入方式
5508
5616
  import { WMSLayer } from "@mapgis/webclient-common"
5509
5617
  // 初始化图层
@@ -5772,7 +5880,7 @@ wmsLayer.load().then((result) => {
5772
5880
 
5773
5881
 
5774
5882
  <pre class="prettyprint"><code>// ES5引入方式
5775
- const { WMSLayer } = Zondy.Layer
5883
+ const { WMSLayer } = zondy.layer
5776
5884
  // ES6引入方式
5777
5885
  import { WMSLayer } from "@mapgis/webclient-common"
5778
5886
  // 初始化WMS图层
@@ -238,11 +238,11 @@
238
238
 
239
239
 
240
240
  <pre class="prettyprint"><code>// ES5引入方式
241
- const { WMSServer } = Zondy.Service
241
+ const { WMSServer } = zondy.service
242
242
  // ES6引入方式
243
243
  import { WMSServer } from "@mapgis/webclient-common"
244
244
  WMSServer = new WMSServer({
245
- url: 'http://webclient.smaryun.com:8089/igs/rest/services/Map/Hubei4326/WMSServer',
245
+ url: 'http://192.168.82.89:8089/igs/rest/services/Map/Hubei4326/WMSServer',
246
246
  requestInterceptor: {
247
247
  before: function (config) {
248
248
  return config;
@@ -660,7 +660,7 @@ WMSServer = new WMSServer({
660
660
 
661
661
  <pre class="prettyprint"><code>//设置请求基地址
662
662
  // ES5引入方式
663
- const { BaseServer } = Zondy.Service
663
+ const { BaseServer } = zondy.service
664
664
  // ES6引入方式
665
665
  import { BaseServer } from "@mapgis/webclient-common"
666
666
  let BaseServer = new BaseServer({
@@ -761,7 +761,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
761
761
 
762
762
  <pre class="prettyprint"><code>//设置请求头参数
763
763
  // ES5引入方式
764
- const { BaseServer } = Zondy.Service
764
+ const { BaseServer } = zondy.service
765
765
  // ES6引入方式
766
766
  import { BaseServer } from "@mapgis/webclient-common"
767
767
  let BaseServer = new BaseServer({
@@ -863,7 +863,7 @@ BaseServer.headers.token = '新token';</code></pre>
863
863
 
864
864
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
865
865
  // ES5引入方式
866
- const { BaseServer,RequestInterceptor } = Zondy.Service
866
+ const { BaseServer,RequestInterceptor } = zondy.service
867
867
  // ES6引入方式
868
868
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
869
869
  let BaseServer = new BaseServer({
@@ -972,7 +972,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
972
972
  <pre class="prettyprint"><code>//设置超时时间
973
973
  //初始化AddressServer服务对象
974
974
  // ES5引入方式
975
- const { BaseServer } = Zondy.Service
975
+ const { BaseServer } = zondy.service
976
976
  // ES6引入方式
977
977
  import { BaseServer } from "@mapgis/webclient-common"
978
978
  let BaseServer = new BaseServer({
@@ -1069,7 +1069,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1069
1069
 
1070
1070
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1071
1071
  // ES5引入方式
1072
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1072
+ const { BaseServer,ResponseInterceptor } = zondy.service
1073
1073
  // ES6引入方式
1074
1074
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1075
1075
  let BaseServer = new BaseServer({
@@ -1179,8 +1179,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1179
1179
 
1180
1180
  <pre class="prettyprint"><code>//设置token值
1181
1181
  // ES5引入方式
1182
- const { BaseServer } = Zondy.Service
1183
- const { TokenAttachType } = Zondy.Enum
1182
+ const { BaseServer } = zondy.service
1183
+ const { TokenAttachType } = zondy.enum
1184
1184
  // ES6引入方式
1185
1185
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1186
1186
  let BaseServer = new BaseServer({
@@ -1281,7 +1281,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1281
1281
 
1282
1282
  <pre class="prettyprint"><code>//设置token名
1283
1283
  // ES5引入方式
1284
- const { BaseServer } = Zondy.Service
1284
+ const { BaseServer } = zondy.service
1285
1285
  // ES6引入方式
1286
1286
  import { BaseServer } from "@mapgis/webclient-common"
1287
1287
  let BaseServer = new BaseServer({
@@ -1378,7 +1378,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1378
1378
 
1379
1379
  <pre class="prettyprint"><code>//设置token值
1380
1380
  // ES5引入方式
1381
- const { BaseServer } = Zondy.Service
1381
+ const { BaseServer } = zondy.service
1382
1382
  // ES6引入方式
1383
1383
  import { BaseServer } from "@mapgis/webclient-common"
1384
1384
  let BaseServer = new BaseServer({
@@ -1475,7 +1475,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1475
1475
 
1476
1476
  <pre class="prettyprint"><code>//设置请求基地址
1477
1477
  // ES5引入方式
1478
- const { BaseServer } = Zondy.Service
1478
+ const { BaseServer } = zondy.service
1479
1479
  // ES6引入方式
1480
1480
  import { BaseServer } from "@mapgis/webclient-common"
1481
1481
  let BaseServer = new BaseServer({
@@ -422,6 +422,42 @@
422
422
  <td class="name"><code><p>图层描述</p></code></td>
423
423
  </tr>
424
424
 
425
+ <tr class="deep-level-0">
426
+ <td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
427
+ <td class="name">
428
+ <code>
429
+
430
+ <span class="param-type">
431
+
432
+ Object
433
+
434
+ </span>
435
+
436
+
437
+
438
+ </code>
439
+ </td>
440
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
441
+ </tr>
442
+
443
+ <tr class="deep-level-0">
444
+ <td class="name"><code><a href="#extendProps">extendProps</a></code></td>
445
+ <td class="name">
446
+ <code>
447
+
448
+ <span class="param-type">
449
+
450
+ Object
451
+
452
+ </span>
453
+
454
+
455
+
456
+ </code>
457
+ </td>
458
+ <td class="name"><code><p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
459
+ </tr>
460
+
425
461
  <tr class="deep-level-0">
426
462
  <td class="name"><code><a href="#extent">extent</a></code></td>
427
463
  <td class="name">
@@ -599,7 +635,7 @@
599
635
 
600
636
  </code>
601
637
  </td>
602
- <td class="name"><code><p>图层可见性</p></code></td>
638
+ <td class="name"><code><p>子图层显示或隐藏</p></code></td>
603
639
  </tr>
604
640
 
605
641
  </tbody>
@@ -671,6 +707,176 @@
671
707
 
672
708
 
673
709
 
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+ </dl>
719
+
720
+
721
+
722
+
723
+
724
+ </div>
725
+
726
+ <div class="member">
727
+
728
+ <span class="method-parameter is-pulled-right">
729
+ <label>类型:</label>
730
+
731
+ <span class="param-type">
732
+
733
+ Object
734
+
735
+ </span>
736
+
737
+
738
+
739
+ </span>
740
+
741
+ <h4 class="name" id="extendOptions">
742
+ <a class="href-link" href="#extendOptions">#</a>
743
+
744
+ <span class="code-name">
745
+ extendOptions
746
+ </span>
747
+
748
+ </h4>
749
+
750
+
751
+
752
+
753
+ <div class="description">
754
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
755
+ </div>
756
+
757
+
758
+
759
+
760
+
761
+ <dl class="details">
762
+
763
+
764
+
765
+
766
+
767
+
768
+ <dt class="inherited-from">Inherited From:</dt>
769
+ <dd class="inherited-from"><ul class="dummy"><li>
770
+ <a goto="extendOptions" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendOptions" SubLayer.html#extendOptions>SubLayer#extendOptions</a>
771
+ </li></ul></dd>
772
+
773
+
774
+
775
+
776
+
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+ <dt class="tag-default">Default Value:</dt>
792
+ <dd class="tag-default"><ul class="dummy">
793
+ <li>{}</li>
794
+ </ul></dd>
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+ </dl>
804
+
805
+
806
+
807
+
808
+
809
+ </div>
810
+
811
+ <div class="member">
812
+
813
+ <span class="method-parameter is-pulled-right">
814
+ <label>类型:</label>
815
+
816
+ <span class="param-type">
817
+
818
+ Object
819
+
820
+ </span>
821
+
822
+
823
+
824
+ </span>
825
+
826
+ <h4 class="name" id="extendProps">
827
+ <a class="href-link" href="#extendProps">#</a>
828
+
829
+ <span class="code-name">
830
+ extendProps
831
+ </span>
832
+
833
+ </h4>
834
+
835
+
836
+
837
+
838
+ <div class="description">
839
+ <p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
840
+ </div>
841
+
842
+
843
+
844
+
845
+
846
+ <dl class="details">
847
+
848
+
849
+
850
+
851
+
852
+
853
+ <dt class="inherited-from">Inherited From:</dt>
854
+ <dd class="inherited-from"><ul class="dummy"><li>
855
+ <a goto="extendProps" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendProps" SubLayer.html#extendProps>SubLayer#extendProps</a>
856
+ </li></ul></dd>
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+
875
+
876
+ <dt class="tag-default">Default Value:</dt>
877
+ <dd class="tag-default"><ul class="dummy">
878
+ <li>{}</li>
879
+ </ul></dd>
674
880
 
675
881
 
676
882
 
@@ -1132,6 +1338,11 @@
1132
1338
 
1133
1339
 
1134
1340
 
1341
+ <dt class="tag-overrides">Overrides:</dt>
1342
+ <dd class="tag-overrides"><ul class="dummy"><li>
1343
+ <a class="mapgis-link-name" title="SubLayer#spatialReference" SubLayer.html#spatialReference>SubLayer#spatialReference</a>
1344
+ </li></ul></dd>
1345
+
1135
1346
 
1136
1347
 
1137
1348
 
@@ -1430,7 +1641,7 @@
1430
1641
 
1431
1642
 
1432
1643
  <div class="description">
1433
- <p>图层可见性</p>
1644
+ <p>子图层显示或隐藏</p>
1434
1645
  </div>
1435
1646
 
1436
1647
 
@@ -1444,11 +1655,9 @@
1444
1655
 
1445
1656
 
1446
1657
 
1447
-
1448
-
1449
- <dt class="tag-overrides">Overrides:</dt>
1450
- <dd class="tag-overrides"><ul class="dummy"><li>
1451
- <a class="mapgis-link-name" title="SubLayer#visible" SubLayer.html#visible>SubLayer#visible</a>
1658
+ <dt class="inherited-from">Inherited From:</dt>
1659
+ <dd class="inherited-from"><ul class="dummy"><li>
1660
+ <a goto="visible" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#visible" SubLayer.html#visible>SubLayer#visible</a>
1452
1661
  </li></ul></dd>
1453
1662
 
1454
1663
 
@@ -1467,6 +1676,8 @@
1467
1676
 
1468
1677
 
1469
1678
 
1679
+
1680
+
1470
1681
 
1471
1682
 
1472
1683