@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
@@ -440,6 +440,42 @@
440
440
  </thead>
441
441
  <tbody>
442
442
 
443
+ <tr class="deep-level-0">
444
+ <td class="name"><code><a href="#extendOptions">extendOptions</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
+
461
+ <tr class="deep-level-0">
462
+ <td class="name"><code><a href="#extendProps">extendProps</a></code></td>
463
+ <td class="name">
464
+ <code>
465
+
466
+ <span class="param-type">
467
+
468
+ Object
469
+
470
+ </span>
471
+
472
+
473
+
474
+ </code>
475
+ </td>
476
+ <td class="name"><code><p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
477
+ </tr>
478
+
443
479
  <tr class="deep-level-0">
444
480
  <td class="name"><code><a href="#id">id</a></code></td>
445
481
  <td class="name">
@@ -526,6 +562,24 @@
526
562
  <td class="name"><code><p>矢量瓦片子图层专题图渲染样式</p></code></td>
527
563
  </tr>
528
564
 
565
+ <tr class="deep-level-0">
566
+ <td class="name"><code><a href="#spatialReference">spatialReference</a></code></td>
567
+ <td class="name">
568
+ <code>
569
+
570
+ <span class="param-type">
571
+
572
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
573
+
574
+ </span>
575
+
576
+
577
+
578
+ </code>
579
+ </td>
580
+ <td class="name"><code><p>子图层空间参考系</p></code></td>
581
+ </tr>
582
+
529
583
  <tr class="deep-level-0">
530
584
  <td class="name"><code><a href="#sublayers">sublayers</a></code></td>
531
585
  <td class="name">
@@ -627,6 +681,176 @@
627
681
  <span class="method-parameter is-pulled-right">
628
682
  <label>类型:</label>
629
683
 
684
+ <span class="param-type">
685
+
686
+ Object
687
+
688
+ </span>
689
+
690
+
691
+
692
+ </span>
693
+
694
+ <h4 class="name" id="extendOptions">
695
+ <a class="href-link" href="#extendOptions">#</a>
696
+
697
+ <span class="code-name">
698
+ extendOptions
699
+ </span>
700
+
701
+ </h4>
702
+
703
+
704
+
705
+
706
+ <div class="description">
707
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
708
+ </div>
709
+
710
+
711
+
712
+
713
+
714
+ <dl class="details">
715
+
716
+
717
+
718
+
719
+
720
+
721
+ <dt class="inherited-from">Inherited From:</dt>
722
+ <dd class="inherited-from"><ul class="dummy"><li>
723
+ <a goto="extendOptions" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendOptions" SubLayer.html#extendOptions>SubLayer#extendOptions</a>
724
+ </li></ul></dd>
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+ <dt class="tag-default">Default Value:</dt>
745
+ <dd class="tag-default"><ul class="dummy">
746
+ <li>{}</li>
747
+ </ul></dd>
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+ </dl>
757
+
758
+
759
+
760
+
761
+
762
+ </div>
763
+
764
+ <div class="member">
765
+
766
+ <span class="method-parameter is-pulled-right">
767
+ <label>类型:</label>
768
+
769
+ <span class="param-type">
770
+
771
+ Object
772
+
773
+ </span>
774
+
775
+
776
+
777
+ </span>
778
+
779
+ <h4 class="name" id="extendProps">
780
+ <a class="href-link" href="#extendProps">#</a>
781
+
782
+ <span class="code-name">
783
+ extendProps
784
+ </span>
785
+
786
+ </h4>
787
+
788
+
789
+
790
+
791
+ <div class="description">
792
+ <p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
793
+ </div>
794
+
795
+
796
+
797
+
798
+
799
+ <dl class="details">
800
+
801
+
802
+
803
+
804
+
805
+
806
+ <dt class="inherited-from">Inherited From:</dt>
807
+ <dd class="inherited-from"><ul class="dummy"><li>
808
+ <a goto="extendProps" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendProps" SubLayer.html#extendProps>SubLayer#extendProps</a>
809
+ </li></ul></dd>
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+ <dt class="tag-default">Default Value:</dt>
830
+ <dd class="tag-default"><ul class="dummy">
831
+ <li>{}</li>
832
+ </ul></dd>
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+ </dl>
842
+
843
+
844
+
845
+
846
+
847
+ </div>
848
+
849
+ <div class="member">
850
+
851
+ <span class="method-parameter is-pulled-right">
852
+ <label>类型:</label>
853
+
630
854
  <span class="param-type">
631
855
 
632
856
  String
@@ -927,6 +1151,86 @@
927
1151
 
928
1152
 
929
1153
 
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+
1165
+ </dl>
1166
+
1167
+
1168
+
1169
+
1170
+
1171
+ </div>
1172
+
1173
+ <div class="member">
1174
+
1175
+ <span class="method-parameter is-pulled-right">
1176
+ <label>类型:</label>
1177
+
1178
+ <span class="param-type">
1179
+
1180
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
1181
+
1182
+ </span>
1183
+
1184
+
1185
+
1186
+ </span>
1187
+
1188
+ <h4 class="name" id="spatialReference">
1189
+ <a class="href-link" href="#spatialReference">#</a>
1190
+
1191
+ <span class="code-name">
1192
+ spatialReference
1193
+ </span>
1194
+
1195
+ </h4>
1196
+
1197
+
1198
+
1199
+
1200
+ <div class="description">
1201
+ <p>子图层空间参考系</p>
1202
+ </div>
1203
+
1204
+
1205
+
1206
+
1207
+
1208
+ <dl class="details">
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+ <dt class="inherited-from">Inherited From:</dt>
1216
+ <dd class="inherited-from"><ul class="dummy"><li>
1217
+ <a goto="spatialReference" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#spatialReference" SubLayer.html#spatialReference>SubLayer#spatialReference</a>
1218
+ </li></ul></dd>
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+
1232
+
1233
+
930
1234
 
931
1235
 
932
1236
 
@@ -266,7 +266,7 @@
266
266
 
267
267
 
268
268
  <pre class="prettyprint"><code>// ES5引入方式
269
- const { Map, VideoMapView } = Zondy
269
+ const { Map, VideoMapView } = zondy
270
270
  // ES6引入方式
271
271
  import { Map, VideoMapView } from "@mapgis/webclient-common"
272
272
  // 新建一个map容器
@@ -684,7 +684,7 @@ videoMapView.init(data)</code></pre>
684
684
 
685
685
 
686
686
  <pre class="prettyprint"><code>// ES5引入方式
687
- const { Point } = Zondy.Geometry
687
+ const { Point } = zondy.geometry
688
688
  // ES6引入方式
689
689
  import { Point } from "@mapgis/webclient-common"
690
690
  const pixelCoord = videoMapView.geoCoordToPixelCoord(new Point({ coordinates: [longitude, latitude] }))</code></pre>
@@ -864,7 +864,7 @@ const pixelCoord = videoMapView.geoCoordToPixelCoord(new Point({ coordinates: [l
864
864
 
865
865
 
866
866
  <pre class="prettyprint"><code>// ES5引入方式
867
- const { Map, VideoMapView } = Zondy
867
+ const { Map, VideoMapView } = zondy
868
868
  // ES6引入方式
869
869
  import { Map, VideoMapView } from "@mapgis/webclient-common"
870
870
  // 新建一个map容器
@@ -1092,7 +1092,7 @@ videoMapView.init(mockData)</code></pre>
1092
1092
 
1093
1093
 
1094
1094
  <pre class="prettyprint"><code>// ES5引入方式
1095
- const { Point } = Zondy.Geometry
1095
+ const { Point } = zondy.geometry
1096
1096
  // ES6引入方式
1097
1097
  import { Point } from "@mapgis/webclient-common"
1098
1098
  const geoCoord = videoMapView.pixelCoordToGeoCoord(new Point({ coordinates: [0, 0] }))</code></pre>
@@ -598,7 +598,7 @@
598
598
 
599
599
  <pre class="prettyprint"><code>//设置请求基地址
600
600
  // ES5引入方式
601
- const { BaseServer } = Zondy.Service
601
+ const { BaseServer } = zondy.service
602
602
  // ES6引入方式
603
603
  import { BaseServer } from "@mapgis/webclient-common"
604
604
  let BaseServer = new BaseServer({
@@ -699,7 +699,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
699
699
 
700
700
  <pre class="prettyprint"><code>//设置请求头参数
701
701
  // ES5引入方式
702
- const { BaseServer } = Zondy.Service
702
+ const { BaseServer } = zondy.service
703
703
  // ES6引入方式
704
704
  import { BaseServer } from "@mapgis/webclient-common"
705
705
  let BaseServer = new BaseServer({
@@ -801,7 +801,7 @@ BaseServer.headers.token = '新token';</code></pre>
801
801
 
802
802
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
803
803
  // ES5引入方式
804
- const { BaseServer,RequestInterceptor } = Zondy.Service
804
+ const { BaseServer,RequestInterceptor } = zondy.service
805
805
  // ES6引入方式
806
806
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
807
807
  let BaseServer = new BaseServer({
@@ -910,7 +910,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
910
910
  <pre class="prettyprint"><code>//设置超时时间
911
911
  //初始化AddressServer服务对象
912
912
  // ES5引入方式
913
- const { BaseServer } = Zondy.Service
913
+ const { BaseServer } = zondy.service
914
914
  // ES6引入方式
915
915
  import { BaseServer } from "@mapgis/webclient-common"
916
916
  let BaseServer = new BaseServer({
@@ -1007,7 +1007,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1007
1007
 
1008
1008
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1009
1009
  // ES5引入方式
1010
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1010
+ const { BaseServer,ResponseInterceptor } = zondy.service
1011
1011
  // ES6引入方式
1012
1012
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1013
1013
  let BaseServer = new BaseServer({
@@ -1117,8 +1117,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1117
1117
 
1118
1118
  <pre class="prettyprint"><code>//设置token值
1119
1119
  // ES5引入方式
1120
- const { BaseServer } = Zondy.Service
1121
- const { TokenAttachType } = Zondy.Enum
1120
+ const { BaseServer } = zondy.service
1121
+ const { TokenAttachType } = zondy.enum
1122
1122
  // ES6引入方式
1123
1123
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1124
1124
  let BaseServer = new BaseServer({
@@ -1219,7 +1219,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1219
1219
 
1220
1220
  <pre class="prettyprint"><code>//设置token名
1221
1221
  // ES5引入方式
1222
- const { BaseServer } = Zondy.Service
1222
+ const { BaseServer } = zondy.service
1223
1223
  // ES6引入方式
1224
1224
  import { BaseServer } from "@mapgis/webclient-common"
1225
1225
  let BaseServer = new BaseServer({
@@ -1316,7 +1316,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1316
1316
 
1317
1317
  <pre class="prettyprint"><code>//设置token值
1318
1318
  // ES5引入方式
1319
- const { BaseServer } = Zondy.Service
1319
+ const { BaseServer } = zondy.service
1320
1320
  // ES6引入方式
1321
1321
  import { BaseServer } from "@mapgis/webclient-common"
1322
1322
  let BaseServer = new BaseServer({
@@ -1413,7 +1413,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1413
1413
 
1414
1414
  <pre class="prettyprint"><code>//设置请求基地址
1415
1415
  // ES5引入方式
1416
- const { BaseServer } = Zondy.Service
1416
+ const { BaseServer } = zondy.service
1417
1417
  // ES6引入方式
1418
1418
  import { BaseServer } from "@mapgis/webclient-common"
1419
1419
  let BaseServer = new BaseServer({