@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
@@ -207,13 +207,13 @@
207
207
 
208
208
 
209
209
  <pre class="prettyprint"><code>// ES5引入方式
210
- const { RootServer } = Zondy.Service
210
+ const { RootServer } = zondy.service
211
211
  // ES6引入方式
212
212
  import { RootServer } from "@mapgis/webclient-common"
213
213
  //初始化RootServer服务对象
214
214
  const rootServer = new RootServer({
215
215
  //服务基地址
216
- url: 'http://webclient.smaryun.com:8089/igs/rest/services'
216
+ url: 'http://192.168.82.89:8089/igs/rest/services'
217
217
  })</code></pre>
218
218
 
219
219
 
@@ -613,7 +613,7 @@ import { RootServer } from "@mapgis/webclient-common"
613
613
 
614
614
  <pre class="prettyprint"><code>//设置请求基地址
615
615
  // ES5引入方式
616
- const { BaseServer } = Zondy.Service
616
+ const { BaseServer } = zondy.service
617
617
  // ES6引入方式
618
618
  import { BaseServer } from "@mapgis/webclient-common"
619
619
  let BaseServer = new BaseServer({
@@ -714,7 +714,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
714
714
 
715
715
  <pre class="prettyprint"><code>//设置请求头参数
716
716
  // ES5引入方式
717
- const { BaseServer } = Zondy.Service
717
+ const { BaseServer } = zondy.service
718
718
  // ES6引入方式
719
719
  import { BaseServer } from "@mapgis/webclient-common"
720
720
  let BaseServer = new BaseServer({
@@ -816,7 +816,7 @@ BaseServer.headers.token = '新token';</code></pre>
816
816
 
817
817
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
818
818
  // ES5引入方式
819
- const { BaseServer,RequestInterceptor } = Zondy.Service
819
+ const { BaseServer,RequestInterceptor } = zondy.service
820
820
  // ES6引入方式
821
821
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
822
822
  let BaseServer = new BaseServer({
@@ -925,7 +925,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
925
925
  <pre class="prettyprint"><code>//设置超时时间
926
926
  //初始化AddressServer服务对象
927
927
  // ES5引入方式
928
- const { BaseServer } = Zondy.Service
928
+ const { BaseServer } = zondy.service
929
929
  // ES6引入方式
930
930
  import { BaseServer } from "@mapgis/webclient-common"
931
931
  let BaseServer = new BaseServer({
@@ -1022,7 +1022,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1022
1022
 
1023
1023
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1024
1024
  // ES5引入方式
1025
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1025
+ const { BaseServer,ResponseInterceptor } = zondy.service
1026
1026
  // ES6引入方式
1027
1027
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1028
1028
  let BaseServer = new BaseServer({
@@ -1132,8 +1132,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1132
1132
 
1133
1133
  <pre class="prettyprint"><code>//设置token值
1134
1134
  // ES5引入方式
1135
- const { BaseServer } = Zondy.Service
1136
- const { TokenAttachType } = Zondy.Enum
1135
+ const { BaseServer } = zondy.service
1136
+ const { TokenAttachType } = zondy.enum
1137
1137
  // ES6引入方式
1138
1138
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1139
1139
  let BaseServer = new BaseServer({
@@ -1234,7 +1234,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1234
1234
 
1235
1235
  <pre class="prettyprint"><code>//设置token名
1236
1236
  // ES5引入方式
1237
- const { BaseServer } = Zondy.Service
1237
+ const { BaseServer } = zondy.service
1238
1238
  // ES6引入方式
1239
1239
  import { BaseServer } from "@mapgis/webclient-common"
1240
1240
  let BaseServer = new BaseServer({
@@ -1331,7 +1331,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1331
1331
 
1332
1332
  <pre class="prettyprint"><code>//设置token值
1333
1333
  // ES5引入方式
1334
- const { BaseServer } = Zondy.Service
1334
+ const { BaseServer } = zondy.service
1335
1335
  // ES6引入方式
1336
1336
  import { BaseServer } from "@mapgis/webclient-common"
1337
1337
  let BaseServer = new BaseServer({
@@ -1428,7 +1428,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1428
1428
 
1429
1429
  <pre class="prettyprint"><code>//设置请求基地址
1430
1430
  // ES5引入方式
1431
- const { BaseServer } = Zondy.Service
1431
+ const { BaseServer } = zondy.service
1432
1432
  // ES6引入方式
1433
1433
  import { BaseServer } from "@mapgis/webclient-common"
1434
1434
  let BaseServer = new BaseServer({
@@ -362,7 +362,7 @@
362
362
 
363
363
  </code>
364
364
  </td>
365
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
365
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
366
366
  </tr>
367
367
 
368
368
  <tr class="deep-level-0">
@@ -380,7 +380,7 @@
380
380
 
381
381
  </code>
382
382
  </td>
383
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
383
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
384
384
  </tr>
385
385
 
386
386
  <tr class="deep-level-0">
@@ -426,7 +426,7 @@
426
426
 
427
427
  <span class="param-type">
428
428
 
429
- String
429
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
430
430
 
431
431
  </span>
432
432
 
@@ -560,7 +560,7 @@
560
560
 
561
561
  </code>
562
562
  </td>
563
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
563
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
564
564
  </tr>
565
565
 
566
566
  <tr class="deep-level-0">
@@ -599,6 +599,24 @@
599
599
  <td class="name"><code><p>图层名称</p></code></td>
600
600
  </tr>
601
601
 
602
+ <tr class="deep-level-0">
603
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
604
+ <td class="name">
605
+ <code>
606
+
607
+ <span class="param-type">
608
+
609
+ String
610
+
611
+ </span>
612
+
613
+
614
+
615
+ </code>
616
+ </td>
617
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
618
+ </tr>
619
+
602
620
  <tr class="deep-level-0">
603
621
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
604
622
  <td class="name">
@@ -891,7 +909,7 @@
891
909
 
892
910
 
893
911
  <div class="description">
894
- <p>初始化图层的额外参数</p>
912
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
895
913
  </div>
896
914
 
897
915
 
@@ -928,6 +946,11 @@
928
946
 
929
947
 
930
948
 
949
+ <dt class="tag-default">Default Value:</dt>
950
+ <dd class="tag-default"><ul class="dummy">
951
+ <li>{}</li>
952
+ </ul></dd>
953
+
931
954
 
932
955
 
933
956
 
@@ -971,7 +994,7 @@
971
994
 
972
995
 
973
996
  <div class="description">
974
- <p>存储额外参数的属性</p>
997
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
975
998
  </div>
976
999
 
977
1000
 
@@ -1008,6 +1031,11 @@
1008
1031
 
1009
1032
 
1010
1033
 
1034
+ <dt class="tag-default">Default Value:</dt>
1035
+ <dd class="tag-default"><ul class="dummy">
1036
+ <li>{}</li>
1037
+ </ul></dd>
1038
+
1011
1039
 
1012
1040
 
1013
1041
 
@@ -1194,7 +1222,7 @@
1194
1222
 
1195
1223
  <span class="param-type">
1196
1224
 
1197
- String
1225
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1198
1226
 
1199
1227
  </span>
1200
1228
 
@@ -1807,7 +1835,7 @@
1807
1835
 
1808
1836
 
1809
1837
  <div class="description">
1810
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
1838
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
1811
1839
  </div>
1812
1840
 
1813
1841
 
@@ -2005,6 +2033,86 @@
2005
2033
 
2006
2034
 
2007
2035
 
2036
+
2037
+
2038
+
2039
+
2040
+
2041
+
2042
+ </dl>
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+ </div>
2049
+
2050
+ <div class="member">
2051
+
2052
+ <span class="method-parameter is-pulled-right">
2053
+ <label>类型:</label>
2054
+
2055
+ <span class="param-type">
2056
+
2057
+ String
2058
+
2059
+ </span>
2060
+
2061
+
2062
+
2063
+ </span>
2064
+
2065
+ <h4 class="name" id="tokenAttachType">
2066
+ <a class="href-link" href="#tokenAttachType">#</a>
2067
+
2068
+ <span class="code-name">
2069
+ tokenAttachType
2070
+ </span>
2071
+
2072
+ </h4>
2073
+
2074
+
2075
+
2076
+
2077
+ <div class="description">
2078
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
2079
+ </div>
2080
+
2081
+
2082
+
2083
+
2084
+
2085
+ <dl class="details">
2086
+
2087
+
2088
+
2089
+
2090
+
2091
+
2092
+ <dt class="inherited-from">Inherited From:</dt>
2093
+ <dd class="inherited-from"><ul class="dummy"><li>
2094
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
2095
+ </li></ul></dd>
2096
+
2097
+
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+
2106
+
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+
2115
+
2008
2116
 
2009
2117
 
2010
2118
 
@@ -197,7 +197,7 @@
197
197
 
198
198
 
199
199
  <pre class="prettyprint"><code>// ES5引入方式
200
- const { SceneServer } = Zondy.Service
200
+ const { SceneServer } = zondy.service
201
201
  // ES6引入方式
202
202
  import { SceneServer } from "@mapgis/webclient-common
203
203
  const sceneServer = new SceneServer({
@@ -210,7 +210,7 @@ const sceneServer = new SceneServer({
210
210
 
211
211
 
212
212
  <pre class="prettyprint"><code>// ES5引入方式
213
- const { SceneServer } = Zondy.Service
213
+ const { SceneServer } = zondy.service
214
214
  // ES6引入方式
215
215
  import { SceneServer } from "@mapgis/webclient-common
216
216
  const sceneServer = new SceneServer({
@@ -223,7 +223,7 @@ const sceneServer = new SceneServer({
223
223
 
224
224
 
225
225
  <pre class="prettyprint"><code>// ES5引入方式
226
- const { SceneServer } = Zondy.Service
226
+ const { SceneServer } = zondy.service
227
227
  // ES6引入方式
228
228
  import { SceneServer } from "@mapgis/webclient-common
229
229
  const sceneServer = new SceneServer({
@@ -648,7 +648,7 @@ const sceneServer = new SceneServer({
648
648
 
649
649
  <pre class="prettyprint"><code>//设置请求基地址
650
650
  // ES5引入方式
651
- const { BaseServer } = Zondy.Service
651
+ const { BaseServer } = zondy.service
652
652
  // ES6引入方式
653
653
  import { BaseServer } from "@mapgis/webclient-common"
654
654
  let BaseServer = new BaseServer({
@@ -749,7 +749,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
749
749
 
750
750
  <pre class="prettyprint"><code>//设置请求头参数
751
751
  // ES5引入方式
752
- const { BaseServer } = Zondy.Service
752
+ const { BaseServer } = zondy.service
753
753
  // ES6引入方式
754
754
  import { BaseServer } from "@mapgis/webclient-common"
755
755
  let BaseServer = new BaseServer({
@@ -851,7 +851,7 @@ BaseServer.headers.token = '新token';</code></pre>
851
851
 
852
852
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
853
853
  // ES5引入方式
854
- const { BaseServer,RequestInterceptor } = Zondy.Service
854
+ const { BaseServer,RequestInterceptor } = zondy.service
855
855
  // ES6引入方式
856
856
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
857
857
  let BaseServer = new BaseServer({
@@ -960,7 +960,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
960
960
  <pre class="prettyprint"><code>//设置超时时间
961
961
  //初始化AddressServer服务对象
962
962
  // ES5引入方式
963
- const { BaseServer } = Zondy.Service
963
+ const { BaseServer } = zondy.service
964
964
  // ES6引入方式
965
965
  import { BaseServer } from "@mapgis/webclient-common"
966
966
  let BaseServer = new BaseServer({
@@ -1057,7 +1057,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1057
1057
 
1058
1058
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1059
1059
  // ES5引入方式
1060
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1060
+ const { BaseServer,ResponseInterceptor } = zondy.service
1061
1061
  // ES6引入方式
1062
1062
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1063
1063
  let BaseServer = new BaseServer({
@@ -1167,8 +1167,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1167
1167
 
1168
1168
  <pre class="prettyprint"><code>//设置token值
1169
1169
  // ES5引入方式
1170
- const { BaseServer } = Zondy.Service
1171
- const { TokenAttachType } = Zondy.Enum
1170
+ const { BaseServer } = zondy.service
1171
+ const { TokenAttachType } = zondy.enum
1172
1172
  // ES6引入方式
1173
1173
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1174
1174
  let BaseServer = new BaseServer({
@@ -1269,7 +1269,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1269
1269
 
1270
1270
  <pre class="prettyprint"><code>//设置token名
1271
1271
  // ES5引入方式
1272
- const { BaseServer } = Zondy.Service
1272
+ const { BaseServer } = zondy.service
1273
1273
  // ES6引入方式
1274
1274
  import { BaseServer } from "@mapgis/webclient-common"
1275
1275
  let BaseServer = new BaseServer({
@@ -1366,7 +1366,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1366
1366
 
1367
1367
  <pre class="prettyprint"><code>//设置token值
1368
1368
  // ES5引入方式
1369
- const { BaseServer } = Zondy.Service
1369
+ const { BaseServer } = zondy.service
1370
1370
  // ES6引入方式
1371
1371
  import { BaseServer } from "@mapgis/webclient-common"
1372
1372
  let BaseServer = new BaseServer({
@@ -1463,7 +1463,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1463
1463
 
1464
1464
  <pre class="prettyprint"><code>//设置请求基地址
1465
1465
  // ES5引入方式
1466
- const { BaseServer } = Zondy.Service
1466
+ const { BaseServer } = zondy.service
1467
1467
  // ES6引入方式
1468
1468
  import { BaseServer } from "@mapgis/webclient-common"
1469
1469
  let BaseServer = new BaseServer({
@@ -2045,7 +2045,7 @@ BaseServer.url = '新URL';</code></pre>
2045
2045
 
2046
2046
  <pre class="prettyprint"><code>//回调方式
2047
2047
  // ES5引入方式
2048
- const { Extent } = Zondy.Geometry
2048
+ const { Extent } = zondy.geometry
2049
2049
  // ES6引入方式
2050
2050
  import { Extent } from "@mapgis/webclient-common"
2051
2051
  sceneServer.getCoverings({
@@ -3733,7 +3733,7 @@ sceneServer.getSharedResources({
3733
3733
 
3734
3734
  <pre class="prettyprint"><code>// 回调方式
3735
3735
  // ES5引入方式
3736
- const { Point } = Zondy.Geometry
3736
+ const { Point } = zondy.geometry
3737
3737
  // ES6引入方式
3738
3738
  import { Point } from "@mapgis/webclient-common"
3739
3739
  sceneServer.queryFeatures({
@@ -4359,7 +4359,7 @@ sceneServer.queryFeatures({
4359
4359
 
4360
4360
  <pre class="prettyprint"><code>// 回调函数
4361
4361
  // ES5引入方式
4362
- const { Point } = Zondy.Geometry
4362
+ const { Point } = zondy.geometry
4363
4363
  // ES6引入方式
4364
4364
  import { Point } from "@mapgis/webclient-common"
4365
4365
  sceneServer.queryFeaturesInLayers({