@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>WFS图层,<br>
39
39
  目前二维和三维上支持4326(包括4490,4214以及4610),3857以及EPSG支持的自定义坐标系,WFS服务会自动读取元信息上的坐标系,不需要用户指定
40
40
  <br><br>[ES5引入方式]:<br/>
41
- Zondy.Layer.WMTSLayer() <br/>
41
+ zondy.layer.WMTSLayer() <br/>
42
42
  [ES6引入方式]:<br/>
43
43
  import { WMTSLayer } from &quot;@mapgis/webclient-common&quot; <br/>
44
44
  <br/>
@@ -547,7 +547,7 @@ if(layer.loadStatus === 'loaded') {<br/>
547
547
 
548
548
 
549
549
  <pre class="prettyprint"><code>// ES5引入方式
550
- const { WFSLayer } = Zondy.Layer
550
+ const { WFSLayer } = zondy.layer
551
551
  // ES6引入方式
552
552
  import { WFSLayer } from "@mapgis/webclient-common"
553
553
  // 初始化WFS图层
@@ -560,7 +560,7 @@ const wfsLayer = new WFSLayer({
560
560
 
561
561
 
562
562
  <pre class="prettyprint"><code>// ES5引入方式
563
- const { WFSLayer } = Zondy.Layer
563
+ const { WFSLayer } = zondy.layer
564
564
  // ES6引入方式
565
565
  import { WFSLayer } from "@mapgis/webclient-common"
566
566
  // 初始化WFS图层
@@ -574,7 +574,7 @@ const wfsLayer = new WFSLayer({
574
574
 
575
575
 
576
576
  <pre class="prettyprint"><code>// ES5引入方式
577
- const { WFSLayer } = Zondy.Layer
577
+ const { WFSLayer } = zondy.layer
578
578
  // ES6引入方式
579
579
  import { WFSLayer } from "@mapgis/webclient-common"
580
580
  // 初始化WFS图层
@@ -590,10 +590,10 @@ const wfsLayer = new WFSLayer({
590
590
 
591
591
 
592
592
  <pre class="prettyprint"><code>// ES5引入方式
593
- const { WFSLayer } = Zondy.Layer
594
- const { UniqueValueRenderer } = Zondy.Renderer
595
- const { SimpleFillSymbol } = Zondy.Symbol
596
- const { Color } = Zondy
593
+ const { WFSLayer } = zondy.layer
594
+ const { UniqueValueRenderer } = zondy.renderer
595
+ const { SimpleFillSymbol } = zondy.symbol
596
+ const { Color } = zondy
597
597
  // ES6引入方式
598
598
  import { WFSLayer, UniqueValueRenderer, SimpleFillSymbol, Color } from "@mapgis/webclient-common"
599
599
  const wfsLayer = new WFSLayer({
@@ -648,10 +648,10 @@ const wfsLayer = new WFSLayer({
648
648
 
649
649
 
650
650
  <pre class="prettyprint"><code>// ES5引入方式
651
- const { WFSLayer } = Zondy.Layer
652
- const { ClassBreakRenderer } = Zondy.Renderer
653
- const { SimpleLineSymbol } = Zondy.Symbol
654
- const { Color } = Zondy
651
+ const { WFSLayer } = zondy.layer
652
+ const { ClassBreakRenderer } = zondy.renderer
653
+ const { SimpleLineSymbol } = zondy.symbol
654
+ const { Color } = zondy
655
655
  // ES6引入方式
656
656
  import { WFSLayer, UniqueValueRenderer, SimpleLineSymbol, Color } from "@mapgis/webclient-common"
657
657
  const wfsLayer = new WFSLayer({
@@ -750,10 +750,10 @@ const wfsLayer = new WFSLayer({
750
750
 
751
751
 
752
752
  <pre class="prettyprint"><code>// ES5引入方式
753
- const { WFSLayer } = Zondy.Layer
754
- const { SimpleRenderer } = Zondy.Renderer
755
- const { SimpleLineSymbol } = Zondy.Symbol
756
- const { Color } = Zondy
753
+ const { WFSLayer } = zondy.layer
754
+ const { SimpleRenderer } = zondy.renderer
755
+ const { SimpleLineSymbol } = zondy.symbol
756
+ const { Color } = zondy
757
757
  // ES6引入方式
758
758
  import { WFSLayer, SimpleRenderer, SimpleLineSymbol, Color } from "@mapgis/webclient-common"
759
759
  const wfsLayer = new WFSLayer({
@@ -781,9 +781,9 @@ const wfsLayer = new WFSLayer({
781
781
 
782
782
 
783
783
  <pre class="prettyprint"><code>// ES5引入方式
784
- const { LabelClass, Color, Font } = Zondy
785
- const { TextSymbol } = Zondy.Symbol
786
- const { WFSLayer } = Zondy.Layer
784
+ const { LabelClass, Color, Font } = zondy
785
+ const { TextSymbol } = zondy.symbol
786
+ const { WFSLayer } = zondy.layer
787
787
  // ES6引入方式
788
788
  import { LabelClass, Color, Font, TextSymbol, WFSLayer } from "@mapgis/webclient-common"
789
789
  // 初始化LabelClass
@@ -824,7 +824,7 @@ map.add(wfsLayer)</code></pre>
824
824
 
825
825
 
826
826
  <pre class="prettyprint"><code>// ES5引入方式
827
- const { IGSMapImageLayer, WFSLayer } = Zondy.Layer
827
+ const { IGSMapImageLayer, WFSLayer } = zondy.layer
828
828
  // ES6引入方式
829
829
  import { IGSMapImageLayer, WFSLayer } from "@mapgis/webclient-common"
830
830
  // 加载地图图片图层,设置index为3
@@ -851,7 +851,7 @@ const wfsLayer = new WFSLayer({
851
851
 
852
852
 
853
853
  <pre class="prettyprint"><code>// ES5引入方式
854
- const { WFSLayer } = Zondy.Layer
854
+ const { WFSLayer } = zondy.layer
855
855
  // ES6引入方式
856
856
  import { WFSLayer } from "@mapgis/webclient-common"
857
857
  // 初始化时指定透明度
@@ -872,7 +872,7 @@ wfsLayer.opacity = 0.5</code></pre>
872
872
 
873
873
 
874
874
  <pre class="prettyprint"><code>// ES5引入方式
875
- const { WFSLayer } = Zondy.Layer
875
+ const { WFSLayer } = zondy.layer
876
876
  // ES6引入方式
877
877
  import { WFSLayer } from "@mapgis/webclient-common"
878
878
  // 在初始化时设置
@@ -1021,7 +1021,7 @@ wfsLayer.visible = false</code></pre>
1021
1021
 
1022
1022
  </code>
1023
1023
  </td>
1024
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
1024
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
1025
1025
  </tr>
1026
1026
 
1027
1027
  <tr class="deep-level-0">
@@ -1039,7 +1039,7 @@ wfsLayer.visible = false</code></pre>
1039
1039
 
1040
1040
  </code>
1041
1041
  </td>
1042
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
1042
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
1043
1043
  </tr>
1044
1044
 
1045
1045
  <tr class="deep-level-0">
@@ -1103,7 +1103,7 @@ wfsLayer.visible = false</code></pre>
1103
1103
 
1104
1104
  <span class="param-type">
1105
1105
 
1106
- String
1106
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1107
1107
 
1108
1108
  </span>
1109
1109
 
@@ -1273,7 +1273,7 @@ wfsLayer.visible = false</code></pre>
1273
1273
 
1274
1274
  </code>
1275
1275
  </td>
1276
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
1276
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
1277
1277
  </tr>
1278
1278
 
1279
1279
  <tr class="deep-level-0">
@@ -1366,6 +1366,24 @@ wfsLayer.visible = false</code></pre>
1366
1366
  <td class="name"><code><p>图层名称</p></code></td>
1367
1367
  </tr>
1368
1368
 
1369
+ <tr class="deep-level-0">
1370
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
1371
+ <td class="name">
1372
+ <code>
1373
+
1374
+ <span class="param-type">
1375
+
1376
+ String
1377
+
1378
+ </span>
1379
+
1380
+
1381
+
1382
+ </code>
1383
+ </td>
1384
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
1385
+ </tr>
1386
+
1369
1387
  <tr class="deep-level-0">
1370
1388
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
1371
1389
  <td class="name">
@@ -1831,7 +1849,7 @@ wfsLayer.visible = false</code></pre>
1831
1849
 
1832
1850
 
1833
1851
  <div class="description">
1834
- <p>初始化图层的额外参数</p>
1852
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
1835
1853
  </div>
1836
1854
 
1837
1855
 
@@ -1868,6 +1886,11 @@ wfsLayer.visible = false</code></pre>
1868
1886
 
1869
1887
 
1870
1888
 
1889
+ <dt class="tag-default">Default Value:</dt>
1890
+ <dd class="tag-default"><ul class="dummy">
1891
+ <li>{}</li>
1892
+ </ul></dd>
1893
+
1871
1894
 
1872
1895
 
1873
1896
 
@@ -1911,7 +1934,7 @@ wfsLayer.visible = false</code></pre>
1911
1934
 
1912
1935
 
1913
1936
  <div class="description">
1914
- <p>存储额外参数的属性</p>
1937
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
1915
1938
  </div>
1916
1939
 
1917
1940
 
@@ -1948,6 +1971,11 @@ wfsLayer.visible = false</code></pre>
1948
1971
 
1949
1972
 
1950
1973
 
1974
+ <dt class="tag-default">Default Value:</dt>
1975
+ <dd class="tag-default"><ul class="dummy">
1976
+ <li>{}</li>
1977
+ </ul></dd>
1978
+
1951
1979
 
1952
1980
 
1953
1981
 
@@ -2213,7 +2241,7 @@ wfsLayer.visible = false</code></pre>
2213
2241
 
2214
2242
  <span class="param-type">
2215
2243
 
2216
- String
2244
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
2217
2245
 
2218
2246
  </span>
2219
2247
 
@@ -2976,7 +3004,7 @@ wfsLayer.visible = false</code></pre>
2976
3004
 
2977
3005
 
2978
3006
  <div class="description">
2979
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
3007
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
2980
3008
  </div>
2981
3009
 
2982
3010
 
@@ -3403,6 +3431,86 @@ wfsLayer.visible = false</code></pre>
3403
3431
 
3404
3432
 
3405
3433
 
3434
+
3435
+
3436
+
3437
+
3438
+
3439
+
3440
+ </dl>
3441
+
3442
+
3443
+
3444
+
3445
+
3446
+ </div>
3447
+
3448
+ <div class="member">
3449
+
3450
+ <span class="method-parameter is-pulled-right">
3451
+ <label>类型:</label>
3452
+
3453
+ <span class="param-type">
3454
+
3455
+ String
3456
+
3457
+ </span>
3458
+
3459
+
3460
+
3461
+ </span>
3462
+
3463
+ <h4 class="name" id="tokenAttachType">
3464
+ <a class="href-link" href="#tokenAttachType">#</a>
3465
+
3466
+ <span class="code-name">
3467
+ tokenAttachType
3468
+ </span>
3469
+
3470
+ </h4>
3471
+
3472
+
3473
+
3474
+
3475
+ <div class="description">
3476
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
3477
+ </div>
3478
+
3479
+
3480
+
3481
+
3482
+
3483
+ <dl class="details">
3484
+
3485
+
3486
+
3487
+
3488
+
3489
+
3490
+ <dt class="inherited-from">Inherited From:</dt>
3491
+ <dd class="inherited-from"><ul class="dummy"><li>
3492
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
3493
+ </li></ul></dd>
3494
+
3495
+
3496
+
3497
+
3498
+
3499
+
3500
+
3501
+
3502
+
3503
+
3504
+
3505
+
3506
+
3507
+
3508
+
3509
+
3510
+
3511
+
3512
+
3513
+
3406
3514
 
3407
3515
 
3408
3516
 
@@ -4236,7 +4344,7 @@ wfsLayer.visible = false</code></pre>
4236
4344
  // 服务基地址
4237
4345
  url: 'http://{ip}:{port}/igs/rest/services/{ServiceName}/WFSServer'
4238
4346
  }
4239
- const wfsLayer = new Zondy.Layer.WFSLayer.fromJSON(json)</code></pre>
4347
+ const wfsLayer = new zondy.layer.WFSLayer.fromJSON(json)</code></pre>
4240
4348
 
4241
4349
 
4242
4350
 
@@ -4709,7 +4817,7 @@ const wfsLayer = new Zondy.Layer.WFSLayer.fromJSON(json)</code></pre>
4709
4817
 
4710
4818
 
4711
4819
  <pre class="prettyprint"><code>// ES5引入方式
4712
- const { WFSLayer } = Zondy.Layer
4820
+ const { WFSLayer } = zondy.layer
4713
4821
  // ES6引入方式
4714
4822
  import { WFSLayer } from "@mapgis/webclient-common"
4715
4823
  // 初始化图层
@@ -238,7 +238,7 @@
238
238
 
239
239
 
240
240
  <pre class="prettyprint"><code>// ES5引入方式
241
- const { WFSServer } = Zondy.Service
241
+ const { WFSServer } = zondy.service
242
242
  // ES6引入方式
243
243
  import { WFSServer } from "@mapgis/webclient-common"
244
244
  WFSServer = new WFSServer({
@@ -678,7 +678,7 @@ WFSServer = new WFSServer({
678
678
 
679
679
  <pre class="prettyprint"><code>//设置请求基地址
680
680
  // ES5引入方式
681
- const { BaseServer } = Zondy.Service
681
+ const { BaseServer } = zondy.service
682
682
  // ES6引入方式
683
683
  import { BaseServer } from "@mapgis/webclient-common"
684
684
  let BaseServer = new BaseServer({
@@ -779,7 +779,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
779
779
 
780
780
  <pre class="prettyprint"><code>//设置请求头参数
781
781
  // ES5引入方式
782
- const { BaseServer } = Zondy.Service
782
+ const { BaseServer } = zondy.service
783
783
  // ES6引入方式
784
784
  import { BaseServer } from "@mapgis/webclient-common"
785
785
  let BaseServer = new BaseServer({
@@ -881,7 +881,7 @@ BaseServer.headers.token = '新token';</code></pre>
881
881
 
882
882
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
883
883
  // ES5引入方式
884
- const { BaseServer,RequestInterceptor } = Zondy.Service
884
+ const { BaseServer,RequestInterceptor } = zondy.service
885
885
  // ES6引入方式
886
886
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
887
887
  let BaseServer = new BaseServer({
@@ -990,7 +990,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
990
990
  <pre class="prettyprint"><code>//设置超时时间
991
991
  //初始化AddressServer服务对象
992
992
  // ES5引入方式
993
- const { BaseServer } = Zondy.Service
993
+ const { BaseServer } = zondy.service
994
994
  // ES6引入方式
995
995
  import { BaseServer } from "@mapgis/webclient-common"
996
996
  let BaseServer = new BaseServer({
@@ -1087,7 +1087,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1087
1087
 
1088
1088
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1089
1089
  // ES5引入方式
1090
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1090
+ const { BaseServer,ResponseInterceptor } = zondy.service
1091
1091
  // ES6引入方式
1092
1092
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1093
1093
  let BaseServer = new BaseServer({
@@ -1197,8 +1197,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1197
1197
 
1198
1198
  <pre class="prettyprint"><code>//设置token值
1199
1199
  // ES5引入方式
1200
- const { BaseServer } = Zondy.Service
1201
- const { TokenAttachType } = Zondy.Enum
1200
+ const { BaseServer } = zondy.service
1201
+ const { TokenAttachType } = zondy.enum
1202
1202
  // ES6引入方式
1203
1203
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1204
1204
  let BaseServer = new BaseServer({
@@ -1299,7 +1299,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1299
1299
 
1300
1300
  <pre class="prettyprint"><code>//设置token名
1301
1301
  // ES5引入方式
1302
- const { BaseServer } = Zondy.Service
1302
+ const { BaseServer } = zondy.service
1303
1303
  // ES6引入方式
1304
1304
  import { BaseServer } from "@mapgis/webclient-common"
1305
1305
  let BaseServer = new BaseServer({
@@ -1396,7 +1396,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1396
1396
 
1397
1397
  <pre class="prettyprint"><code>//设置token值
1398
1398
  // ES5引入方式
1399
- const { BaseServer } = Zondy.Service
1399
+ const { BaseServer } = zondy.service
1400
1400
  // ES6引入方式
1401
1401
  import { BaseServer } from "@mapgis/webclient-common"
1402
1402
  let BaseServer = new BaseServer({
@@ -1493,7 +1493,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1493
1493
 
1494
1494
  <pre class="prettyprint"><code>//设置请求基地址
1495
1495
  // ES5引入方式
1496
- const { BaseServer } = Zondy.Service
1496
+ const { BaseServer } = zondy.service
1497
1497
  // ES6引入方式
1498
1498
  import { BaseServer } from "@mapgis/webclient-common"
1499
1499
  let BaseServer = new BaseServer({