@mapgis/webclient-common 17.2.0 → 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 (157) hide show
  1. package/README.md +11 -1
  2. package/dist/es5/webclient-common.min.js +5 -5
  3. package/dist/webclient-common-es6.min.js +6 -6
  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/ArcGISMapServer.html +10 -10
  9. package/documention/ArcGISTileLayer.html +5 -5
  10. package/documention/ArcGISVectorTileLayer.html +7 -7
  11. package/documention/ArcGISVectorTileServer.html +10 -10
  12. package/documention/BaseServer.html +10 -10
  13. package/documention/BaseView.html +1 -1
  14. package/documention/Basemap.html +3 -3
  15. package/documention/Cesium3DTilesCacheLayer.html +38 -112
  16. package/documention/Cesium3DTilesServer.html +11 -11
  17. package/documention/Circle.html +7 -7
  18. package/documention/ClassBreakRenderer.html +18 -18
  19. package/documention/ClusterRenderer.html +2 -2
  20. package/documention/Config.html +4 -4
  21. package/documention/Extent.html +15 -15
  22. package/documention/ExtrudeSymbol3DLayer.html +2 -2
  23. package/documention/Feature.html +7 -7
  24. package/documention/FeatureServer.html +27 -27
  25. package/documention/FeatureSet.html +7 -7
  26. package/documention/FillSymbol3DLayer.html +2 -2
  27. package/documention/Font.html +1 -1
  28. package/documention/GeoJSONLayer.html +26 -26
  29. package/documention/Geometry.html +7 -7
  30. package/documention/GeometryEngine.html +79 -79
  31. package/documention/GeometryServer.html +30 -30
  32. package/documention/GraphicsLayer.html +31 -31
  33. package/documention/GroupLayer.html +2 -2
  34. package/documention/IGSFeatureLayer.html +25 -25
  35. package/documention/IGSMapImageLayer.html +46 -46
  36. package/documention/IGSMapImageSubLayer.html +3 -3
  37. package/documention/IGSSceneLayer.html +11 -11
  38. package/documention/IGSTileLayer.html +10 -11
  39. package/documention/IGSVectorTileLayer.html +32 -29
  40. package/documention/IGSVectorTileSubLayer.html +5 -4
  41. package/documention/IconSymbol3DLayer.html +4 -4
  42. package/documention/ImageServer.html +11 -11
  43. package/documention/LabelClass.html +3 -3
  44. package/documention/LabelSymbol3D.html +2 -2
  45. package/documention/LineString.html +10 -10
  46. package/documention/LineSymbol3D.html +2 -2
  47. package/documention/LineSymbol3DLayer.html +2 -2
  48. package/documention/M3DModelCacheLayer.html +12 -12
  49. package/documention/M3DServer.html +11 -11
  50. package/documention/Map.html +4 -4
  51. package/documention/MapGISTextSymbol.html +3 -3
  52. package/documention/MapServer.html +14 -14
  53. package/documention/MapView.html +1 -1
  54. package/documention/MultiLineString.html +13 -13
  55. package/documention/MultiPoint.html +10 -10
  56. package/documention/MultiPolygon.html +9 -9
  57. package/documention/ObjectSymbol3DLayer.html +4 -4
  58. package/documention/OutStatistic.html +1 -1
  59. package/documention/PathSymbol3DLayer.html +2 -2
  60. package/documention/PictureFillSymbol.html +1 -1
  61. package/documention/PictureMarkerSymbol.html +3 -3
  62. package/documention/PlotServer.html +10 -10
  63. package/documention/PoiServer.html +11 -11
  64. package/documention/Point.html +12 -12
  65. package/documention/PointSymbol3D.html +2 -2
  66. package/documention/Polygon.html +14 -14
  67. package/documention/PolygonSymbol3D.html +2 -2
  68. package/documention/Projection.html +8 -8
  69. package/documention/RandomRenderer.html +1 -1
  70. package/documention/RankRenderer.html +2 -2
  71. package/documention/ResourceServer.html +150 -150
  72. package/documention/RootServer.html +11 -11
  73. package/documention/SceneServer.html +16 -16
  74. package/documention/SceneView.html +1 -1
  75. package/documention/SecurityServer.html +12 -12
  76. package/documention/SimpleFillSymbol.html +3 -3
  77. package/documention/SimpleLineSymbol.html +3 -3
  78. package/documention/SimpleMarkerSymbol.html +3 -3
  79. package/documention/SimpleRenderer.html +9 -9
  80. package/documention/SizeVariable.html +1 -1
  81. package/documention/SketchEditor.html +1 -1
  82. package/documention/SketchEditorVideo.html +2 -2
  83. package/documention/SketchEditorVideoBase.html +3 -3
  84. package/documention/SpatialReference.html +1 -1
  85. package/documention/Symbol.html +1 -1
  86. package/documention/TerrainCacheLayer.html +1 -1
  87. package/documention/TerrainServer.html +11 -11
  88. package/documention/TextSymbol.html +4 -4
  89. package/documention/TextSymbol3DLayer.html +2 -2
  90. package/documention/ThemeServer.html +12 -12
  91. package/documention/TileServer.html +11 -11
  92. package/documention/UniqueValueRenderer.html +18 -18
  93. package/documention/VectorTileLayer.html +1 -1
  94. package/documention/VectorTileServer.html +11 -11
  95. package/documention/VideoMapView.html +4 -4
  96. package/documention/WCSServer.html +10 -10
  97. package/documention/WFSLayer.html +24 -24
  98. package/documention/WFSServer.html +11 -11
  99. package/documention/WMSLayer.html +15 -15
  100. package/documention/WMSServer.html +11 -11
  101. package/documention/WMTSLayer.html +10 -10
  102. package/documention/WMTSServer.html +11 -11
  103. package/documention/WPSServer.html +10 -10
  104. package/documention/WebTileLayer.html +5 -5
  105. package/documention/WorkFlowServer.html +12 -12
  106. package/documention/WorkFlowServer600227.html +12 -12
  107. package/documention/WorkFlowServer600228.html +13 -13
  108. package/documention/WorkFlowServer600229.html +12 -12
  109. package/documention/WorkFlowServer600230.html +12 -12
  110. package/documention/WorkFlowServer600231.html +12 -12
  111. package/documention/WorkFlowServer600232.html +13 -13
  112. package/documention/WorkFlowServer600233.html +14 -14
  113. package/documention/WorkFlowServer600235.html +12 -12
  114. package/documention/WorkFlowServer600237.html +13 -13
  115. package/documention/WorkFlowServer600238.html +15 -15
  116. package/documention/WorkFlowServer600239.html +16 -16
  117. package/documention/WorkFlowServer600307.html +14 -14
  118. package/documention/WorkFlowServer600308.html +2 -2
  119. package/documention/WorkFlowServer600309.html +12 -12
  120. package/documention/WorkFlowServer600314.html +12 -12
  121. package/documention/WorkFlowServer600334.html +12 -12
  122. package/documention/WorkFlowServer600336.html +12 -12
  123. package/documention/WorkFlowServer600340.html +12 -12
  124. package/documention/WorkFlowServer600354.html +12 -12
  125. package/documention/WorkFlowServer600368.html +12 -12
  126. package/documention/WorkFlowServer600369.html +12 -12
  127. package/documention/WorkFlowServer600370.html +12 -12
  128. package/documention/global.html +344 -1644
  129. package/documention/index.html +40 -37
  130. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
  131. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
  132. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
  133. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
  134. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
  135. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
  136. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
  137. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
  138. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
  139. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
  140. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
  141. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
  142. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
  143. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
  144. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
  145. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
  146. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
  147. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
  148. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
  149. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
  150. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
  151. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
  152. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
  153. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
  154. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
  155. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
  156. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
  157. package/package.json +2 -1
@@ -37,7 +37,7 @@
37
37
  <div class="description">
38
38
  <p>几何范围对象,即左下角和右上角组成的矩形范围几何对象,参考示例:<a href='#Extent'>[几何范围对象]</a>
39
39
  <br><br>[ES5引入方式]:<br/>
40
- Zondy.Geometry.Extent() <br/>
40
+ zondy.geometry.Extent() <br/>
41
41
  [ES6引入方式]:<br/>
42
42
  import { Extent } from &quot;@mapgis/webclient-common&quot; <br/>
43
43
  <br/></p>
@@ -323,7 +323,7 @@ import { Extent } from &quot;@mapgis/webclient-common&quot; <br/>
323
323
 
324
324
  <td class="default">
325
325
 
326
- new Zondy.SpatialReference('EPSG:4326')
326
+ new zondy.SpatialReference('EPSG:4326')
327
327
 
328
328
  </td>
329
329
 
@@ -424,7 +424,7 @@ import { Extent } from &quot;@mapgis/webclient-common&quot; <br/>
424
424
 
425
425
 
426
426
  <pre class="prettyprint"><code>// ES5引入方式
427
- const { Extent } = Zondy.Geometry
427
+ const { Extent } = zondy.geometry
428
428
  // ES6引入方式
429
429
  import { Extent } from "@mapgis/webclient-common"
430
430
  new Extent({
@@ -439,8 +439,8 @@ new Extent({
439
439
 
440
440
 
441
441
  <pre class="prettyprint"><code>// ES5引入方式
442
- const { Extent } = Zondy.Geometry
443
- const { SpatialReference } = Zondy
442
+ const { Extent } = zondy.geometry
443
+ const { SpatialReference } = zondy
444
444
  // ES6引入方式
445
445
  import { Extent, SpatialReference } from "@mapgis/webclient-common"
446
446
  new Extent({
@@ -2319,7 +2319,7 @@ new Extent({
2319
2319
 
2320
2320
 
2321
2321
  <pre class="prettyprint"><code>// ES5引入方式
2322
- const { Extent } = Zondy.Geometry
2322
+ const { Extent } = zondy.geometry
2323
2323
  // ES6引入方式
2324
2324
  import { Extent } from "@mapgis/webclient-common"
2325
2325
  const json = {
@@ -2513,7 +2513,7 @@ const extent = Extent.fromJSON(json)</code></pre>
2513
2513
 
2514
2514
 
2515
2515
  <pre class="prettyprint"><code>// ES5引入方式
2516
- const { Extent, Point } = Zondy.Geometry
2516
+ const { Extent, Point } = zondy.geometry
2517
2517
  // ES6引入方式
2518
2518
  import { Extent, Point } from "@mapgis/webclient-common"
2519
2519
  const extent = new Extent({
@@ -2843,7 +2843,7 @@ const newConst = extent.centerAt(point)</code></pre>
2843
2843
 
2844
2844
 
2845
2845
  <pre class="prettyprint"><code>// ES5引入方式
2846
- const { Extent, Point } = Zondy.Geometry
2846
+ const { Extent, Point } = zondy.geometry
2847
2847
  // ES6引入方式
2848
2848
  import { Extent, Point } from "@mapgis/webclient-common"
2849
2849
  const extent = new Extent({
@@ -3040,7 +3040,7 @@ const isIn = extent.contains(point)</code></pre>
3040
3040
 
3041
3041
 
3042
3042
  <pre class="prettyprint"><code>// ES5引入方式
3043
- const { Extent } = Zondy.Geometry
3043
+ const { Extent } = zondy.geometry
3044
3044
  // ES6引入方式
3045
3045
  import { Extent } from "@mapgis/webclient-common"
3046
3046
  const extent = new Extent({
@@ -3240,7 +3240,7 @@ const isEqual = extent.equals(extent2)</code></pre>
3240
3240
 
3241
3241
 
3242
3242
  <pre class="prettyprint"><code>// ES5引入方式
3243
- const { Extent } = Zondy.Geometry
3243
+ const { Extent } = zondy.geometry
3244
3244
  // ES6引入方式
3245
3245
  import { Extent } from "@mapgis/webclient-common"
3246
3246
  const extent = new Extent({
@@ -3949,7 +3949,7 @@ extent.expand(1.5)</code></pre>
3949
3949
 
3950
3950
 
3951
3951
  <pre class="prettyprint"><code>// ES5引入方式
3952
- const { Extent } = Zondy.Geometry
3952
+ const { Extent } = zondy.geometry
3953
3953
  // ES6引入方式
3954
3954
  import { Extent } from "@mapgis/webclient-common"
3955
3955
  const extent = new Extent({
@@ -4149,7 +4149,7 @@ const newExtent = extent.intersection(extent2)</code></pre>
4149
4149
 
4150
4150
 
4151
4151
  <pre class="prettyprint"><code>// ES5引入方式
4152
- const { Extent, Point } = Zondy.Geometry
4152
+ const { Extent, Point } = zondy.geometry
4153
4153
  // ES6引入方式
4154
4154
  import { Extent, Point } from "@mapgis/webclient-common"
4155
4155
  const extent = new Extent({
@@ -4292,7 +4292,7 @@ const isIntersect = extent.intersects(point)</code></pre>
4292
4292
 
4293
4293
 
4294
4294
  <pre class="prettyprint"><code>// ES5引入方式
4295
- const { Extent } = Zondy.Geometry
4295
+ const { Extent } = zondy.geometry
4296
4296
  // ES6引入方式
4297
4297
  import { Extent } from "@mapgis/webclient-common"
4298
4298
  const extent = new Extent({
@@ -4544,7 +4544,7 @@ const normalize = extent.normalize()</code></pre>
4544
4544
 
4545
4545
 
4546
4546
  <pre class="prettyprint"><code>// ES5引入方式
4547
- const { Extent } = Zondy.Geometry
4547
+ const { Extent } = zondy.geometry
4548
4548
  // ES6引入方式
4549
4549
  import { Extent } from "@mapgis/webclient-common"
4550
4550
  const extent = new Extent({
@@ -5453,7 +5453,7 @@ extent.offset(0, 1, 0)</code></pre>
5453
5453
 
5454
5454
 
5455
5455
  <pre class="prettyprint"><code>// ES5引入方式
5456
- const { Extent } = Zondy.Geometry
5456
+ const { Extent } = zondy.geometry
5457
5457
  // ES6引入方式
5458
5458
  import { Extent } from "@mapgis/webclient-common"
5459
5459
  const extent = new Extent({
@@ -316,8 +316,8 @@ ColorMaterial: 纯色材质,通过设置纯色材质来改变拉伸区区的
316
316
 
317
317
 
318
318
  <pre class="prettyprint"><code>// ES5引入方式
319
- const { Color } = Zondy
320
- const { ExtrudeSymbol3DLayer, ColorMaterial } = Zondy.Symbol
319
+ const { Color } = zondy
320
+ const { ExtrudeSymbol3DLayer, ColorMaterial } = zondy.symbol
321
321
  // ES6引入方式
322
322
  import { ExtrudeSymbol3DLayer, ColorMaterial, Color } from "@mapgis/webclient-common"
323
323
 
@@ -37,7 +37,7 @@
37
37
  <div class="description">
38
38
  <p>要素对象,示例如下:<a id='add-Feature'>[初始化要素对象]</a>
39
39
  <br><br>[ES5引入方式]:<br/>
40
- Zondy.Feature() <br/>
40
+ zondy.Feature() <br/>
41
41
  [ES6引入方式]:<br/>
42
42
  import { Feature } from &quot;@mapgis/webclient-common&quot; <br/>
43
43
  <br/></p>
@@ -390,9 +390,9 @@ import { Feature } from &quot;@mapgis/webclient-common&quot; <br/>
390
390
 
391
391
 
392
392
  <pre class="prettyprint"><code>// ES5引入方式
393
- const { Feature, Color } = Zondy
394
- const { LineString } = Zondy.Geometry
395
- const { SimpleLineSymbol } = Zondy.Symbol
393
+ const { Feature, Color } = zondy
394
+ const { LineString } = zondy.geometry
395
+ const { SimpleLineSymbol } = zondy.symbol
396
396
  // ES6引入方式
397
397
  import { Feature, Color, LineString, SimpleLineSymbol } from "@mapgis/webclient-common"
398
398
  let feature = new Feature({
@@ -1543,8 +1543,8 @@ default = true</p>
1543
1543
 
1544
1544
  <pre class="prettyprint"><code>&lt;caption>&lt;h7>通过传入的json构造并返回一个新的几何对象&lt;/h7>&lt;/caption>\
1545
1545
  // ES5引入方式
1546
- const { LineString } = Zondy.Geometry
1547
- const { Feature } = Zondy
1546
+ const { LineString } = zondy.geometry
1547
+ const { Feature } = zondy
1548
1548
  // ES6引入方式
1549
1549
  import { LineString, Feature } from "@mapgis/webclient-common"
1550
1550
  const json = {
@@ -1821,7 +1821,7 @@ const feature = new Feature.fromJSON(json)</code></pre>
1821
1821
 
1822
1822
 
1823
1823
  <pre class="prettyprint"><code>// ES5引入方式
1824
- const { Feature } = Zondy
1824
+ const { Feature } = zondy
1825
1825
  // ES6引入方式
1826
1826
  import { Feature } from "@mapgis/webclient-common"
1827
1827
  //数据格式参考https://geojson.org/
@@ -196,7 +196,7 @@
196
196
 
197
197
  <pre class="prettyprint"><code>//igs2.0的要素服务
198
198
  // ES5引入方式
199
- const { FeatureServer } = Zondy.Service
199
+ const { FeatureServer } = zondy.service
200
200
  // ES6引入方式
201
201
  import { FeatureServer } from "@mapgis/webclient-common"
202
202
  const featureServer = new FeatureServer({
@@ -615,7 +615,7 @@ const featureServer = new FeatureServer({
615
615
 
616
616
  <pre class="prettyprint"><code>//设置请求基地址
617
617
  // ES5引入方式
618
- const { BaseServer } = Zondy.Service
618
+ const { BaseServer } = zondy.service
619
619
  // ES6引入方式
620
620
  import { BaseServer } from "@mapgis/webclient-common"
621
621
  let BaseServer = new BaseServer({
@@ -716,7 +716,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
716
716
 
717
717
  <pre class="prettyprint"><code>//设置请求头参数
718
718
  // ES5引入方式
719
- const { BaseServer } = Zondy.Service
719
+ const { BaseServer } = zondy.service
720
720
  // ES6引入方式
721
721
  import { BaseServer } from "@mapgis/webclient-common"
722
722
  let BaseServer = new BaseServer({
@@ -818,7 +818,7 @@ BaseServer.headers.token = '新token';</code></pre>
818
818
 
819
819
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
820
820
  // ES5引入方式
821
- const { BaseServer,RequestInterceptor } = Zondy.Service
821
+ const { BaseServer,RequestInterceptor } = zondy.service
822
822
  // ES6引入方式
823
823
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
824
824
  let BaseServer = new BaseServer({
@@ -927,7 +927,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
927
927
  <pre class="prettyprint"><code>//设置超时时间
928
928
  //初始化AddressServer服务对象
929
929
  // ES5引入方式
930
- const { BaseServer } = Zondy.Service
930
+ const { BaseServer } = zondy.service
931
931
  // ES6引入方式
932
932
  import { BaseServer } from "@mapgis/webclient-common"
933
933
  let BaseServer = new BaseServer({
@@ -1024,7 +1024,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1024
1024
 
1025
1025
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1026
1026
  // ES5引入方式
1027
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1027
+ const { BaseServer,ResponseInterceptor } = zondy.service
1028
1028
  // ES6引入方式
1029
1029
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1030
1030
  let BaseServer = new BaseServer({
@@ -1134,8 +1134,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1134
1134
 
1135
1135
  <pre class="prettyprint"><code>//设置token值
1136
1136
  // ES5引入方式
1137
- const { BaseServer } = Zondy.Service
1138
- const { TokenAttachType } = Zondy.Enum
1137
+ const { BaseServer } = zondy.service
1138
+ const { TokenAttachType } = zondy.enum
1139
1139
  // ES6引入方式
1140
1140
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1141
1141
  let BaseServer = new BaseServer({
@@ -1236,7 +1236,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1236
1236
 
1237
1237
  <pre class="prettyprint"><code>//设置token名
1238
1238
  // ES5引入方式
1239
- const { BaseServer } = Zondy.Service
1239
+ const { BaseServer } = zondy.service
1240
1240
  // ES6引入方式
1241
1241
  import { BaseServer } from "@mapgis/webclient-common"
1242
1242
  let BaseServer = new BaseServer({
@@ -1333,7 +1333,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1333
1333
 
1334
1334
  <pre class="prettyprint"><code>//设置token值
1335
1335
  // ES5引入方式
1336
- const { BaseServer } = Zondy.Service
1336
+ const { BaseServer } = zondy.service
1337
1337
  // ES6引入方式
1338
1338
  import { BaseServer } from "@mapgis/webclient-common"
1339
1339
  let BaseServer = new BaseServer({
@@ -1430,7 +1430,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1430
1430
 
1431
1431
  <pre class="prettyprint"><code>//设置请求基地址
1432
1432
  // ES5引入方式
1433
- const { BaseServer } = Zondy.Service
1433
+ const { BaseServer } = zondy.service
1434
1434
  // ES6引入方式
1435
1435
  import { BaseServer } from "@mapgis/webclient-common"
1436
1436
  let BaseServer = new BaseServer({
@@ -2135,7 +2135,7 @@ BaseServer.url = '新URL';</code></pre>
2135
2135
 
2136
2136
  <pre class="prettyprint"><code>// 创建一个线要素
2137
2137
  // ES5引入方式
2138
- const { Feature } = Zondy
2138
+ const { Feature } = zondy
2139
2139
  // ES6引入方式
2140
2140
  import { Feature } from "@mapgis/webclient-common"
2141
2141
  const lineString = new Feature({
@@ -2144,7 +2144,7 @@ const lineString = new Feature({
2144
2144
  //可填空或者和系统库中的样式一一对应
2145
2145
  symbol: {},
2146
2146
  //设置几何
2147
- geometry: new Zondy.Geometry.LineString({
2147
+ geometry: new zondy.geometry.LineString({
2148
2148
  coordinates: [
2149
2149
  [110.74, 32.41],
2150
2150
  [112.89, 31.06],
@@ -2175,9 +2175,9 @@ featureServer.addFeature({
2175
2175
 
2176
2176
  <pre class="prettyprint"><code>// 初始化资源服务
2177
2177
  // ES5引入方式
2178
- const { ResourceServer} = Zondy.Service
2179
- const { Point} = Zondy.Geometry
2180
- const { Feature } = Zondy
2178
+ const { ResourceServer} = zondy.service
2179
+ const { Point} = zondy.geometry
2180
+ const { Feature } = zondy
2181
2181
  // ES6引入方式
2182
2182
  import { ResourceServer,Point,Feature } from "@mapgis/webclient-common"
2183
2183
  const resourceServer = new ResourceServer({
@@ -2253,8 +2253,8 @@ resourceServer.queryGDBPInfo({
2253
2253
 
2254
2254
  <pre class="prettyprint"><code>// 初始化资源服务
2255
2255
  // ES5引入方式
2256
- const { MultiPoint} = Zondy.Geometry
2257
- const { Feature } = Zondy
2256
+ const { MultiPoint} = zondy.geometry
2257
+ const { Feature } = zondy
2258
2258
  // ES6引入方式
2259
2259
  import { MultiPoint,Feature } from "@mapgis/webclient-common"
2260
2260
  const resourceServer = new ResourceServer({
@@ -5936,7 +5936,7 @@ CompareRectOnly表示是否仅比较要素的外包矩形,来判定是否与
5936
5936
 
5937
5937
  <pre class="prettyprint"><code>featureServer.queryFeaturesInLayers({
5938
5938
  // ES5引入方式
5939
- const { Polygon } = Zondy.Geometry
5939
+ const { Polygon } = zondy.geometry
5940
5940
  // ES6引入方式
5941
5941
  import { Polygon } from "@mapgis/webclient-common"
5942
5942
  // 几何查询条件
@@ -6934,8 +6934,8 @@ import { Polygon } from "@mapgis/webclient-common"
6934
6934
 
6935
6935
  <pre class="prettyprint"><code>// 创建线要素
6936
6936
  // ES5引入方式
6937
- const { Feature } = Zondy
6938
- const { LineString } = Zondy.Geometry
6937
+ const { Feature } = zondy
6938
+ const { LineString } = zondy.geometry
6939
6939
  // ES6引入方式
6940
6940
  import { Feature } from "@mapgis/webclient-common"
6941
6941
  const lineString = new Feature({
@@ -6972,9 +6972,9 @@ featureServer.updateFeature({
6972
6972
 
6973
6973
  <pre class="prettyprint"><code>// 初始化资源服务
6974
6974
  // ES5引入方式
6975
- const { ResourceServer } = Zondy.Service
6976
- const { Feature } = Zondy
6977
- const { Point } = Zondy.Geometry
6975
+ const { ResourceServer } = zondy.service
6976
+ const { Feature } = zondy
6977
+ const { Point } = zondy.geometry
6978
6978
  // ES6引入方式
6979
6979
  import { ResourceServer,Feature, Point} from "@mapgis/webclient-common"
6980
6980
  const resourceServer = new ResourceServer({
@@ -7050,9 +7050,9 @@ resourceServer.queryGDBPInfo({
7050
7050
 
7051
7051
  <pre class="prettyprint"><code>// 初始化资源服务
7052
7052
  // ES5引入方式
7053
- const { ResourceServer } = Zondy.Service
7054
- const { Feature } = Zondy
7055
- const { MultiPoint } = Zondy.Geometry
7053
+ const { ResourceServer } = zondy.service
7054
+ const { Feature } = zondy
7055
+ const { MultiPoint } = zondy.geometry
7056
7056
  // ES6引入方式
7057
7057
  import { ResourceServer,Feature,MultiPoint } from "@mapgis/webclient-common"
7058
7058
  const resourceServer = new ResourceServer({
@@ -37,7 +37,7 @@
37
37
  <div class="description">
38
38
  <p>要素集合类,示例如下:<a id='add-FeatureSet'>[初始化要素集合对象]</a>
39
39
  <br><br>[ES5引入方式]:<br/>
40
- Zondy.FeatureSet() <br/>
40
+ zondy.FeatureSet() <br/>
41
41
  [ES6引入方式]:<br/>
42
42
  import { FeatureSet } from &quot;@mapgis/webclient-common&quot; <br/>
43
43
  <br/></p>
@@ -193,7 +193,7 @@ import { FeatureSet } from &quot;@mapgis/webclient-common&quot; <br/>
193
193
 
194
194
  <td class="default">
195
195
 
196
- new Zondy.SpatialReference('EPSG:4326')
196
+ new zondy.SpatialReference('EPSG:4326')
197
197
 
198
198
  </td>
199
199
 
@@ -288,7 +288,7 @@ import { FeatureSet } from &quot;@mapgis/webclient-common&quot; <br/>
288
288
 
289
289
 
290
290
  <pre class="prettyprint"><code>// ES5引入方式
291
- const { FeatureSet } = Zondy
291
+ const { FeatureSet } = zondy
292
292
  // ES6引入方式
293
293
  import { FeatureSet } from "@mapgis/webclient-common"
294
294
  //创建要素集合
@@ -390,7 +390,7 @@ default 随机id</p></code></td>
390
390
  </code>
391
391
  </td>
392
392
  <td class="name"><code><p>要素集合的参考系
393
- default new Zondy.SpatialReference('EPSG:4326')</p></code></td>
393
+ default new zondy.SpatialReference('EPSG:4326')</p></code></td>
394
394
  </tr>
395
395
 
396
396
  <tr class="deep-level-0">
@@ -599,7 +599,7 @@ default 随机id</p>
599
599
 
600
600
  <div class="description">
601
601
  <p>要素集合的参考系
602
- default new Zondy.SpatialReference('EPSG:4326')</p>
602
+ default new zondy.SpatialReference('EPSG:4326')</p>
603
603
  </div>
604
604
 
605
605
 
@@ -1061,7 +1061,7 @@ default FeatureCollection</p>
1061
1061
 
1062
1062
 
1063
1063
  <pre class="prettyprint"><code>// ES5引入方式
1064
- const { FeatureSet } = Zondy
1064
+ const { FeatureSet } = zondy
1065
1065
  // ES6引入方式
1066
1066
  import { FeatureSet } from "@mapgis/webclient-common"
1067
1067
  featureSet = FeatureSet.fromArray(
@@ -1397,7 +1397,7 @@ FeatureSet.fromGeoJSON({
1397
1397
 
1398
1398
 
1399
1399
  <pre class="prettyprint"><code>// ES5引入方式
1400
- const { FeatureSet } = Zondy
1400
+ const { FeatureSet } = zondy
1401
1401
  // ES6引入方式
1402
1402
  import { FeatureSet } from "@mapgis/webclient-common"
1403
1403
  const json = {
@@ -316,8 +316,8 @@ ColorMaterial: 纯色材质,通过设置纯色材质来改变平面区的颜
316
316
 
317
317
 
318
318
  <pre class="prettyprint"><code>// ES5引入方式
319
- const { Color } = Zondy
320
- const { FillSymbol3DLayer, ColorMaterial } = Zondy.Symbol
319
+ const { Color } = zondy
320
+ const { FillSymbol3DLayer, ColorMaterial } = zondy.symbol
321
321
  // ES6引入方式
322
322
  import { FillSymbol3DLayer, ColorMaterial, Color } from "@mapgis/webclient-common"
323
323
 
@@ -345,7 +345,7 @@
345
345
  <p class="code-caption"><h7 id='new-Font'>创建字体样式</h7></p>
346
346
 
347
347
 
348
- <pre class="prettyprint"><code>const font = new Zondy.Font({
348
+ <pre class="prettyprint"><code>const font = new zondy.symbol.Font({
349
349
  // 字体
350
350
  family: "微软雅黑",
351
351
  // 文字大小,单位像素
@@ -40,7 +40,7 @@
40
40
  参考示例:<br/>
41
41
  <a href='#add-GeoJSONLayer'>[加载GeoJSON图层]</a>
42
42
  <br><br>[ES5引入方式]:<br/>
43
- Zondy.Layer.GraphicsLayer() <br/>
43
+ zondy.layer.GraphicsLayer() <br/>
44
44
  [ES6引入方式]:<br/>
45
45
  import { GraphicsLayer } from &quot;@mapgis/webclient-common&quot;</p>
46
46
  </div>
@@ -677,7 +677,7 @@ import { GraphicsLayer } from &quot;@mapgis/webclient-common&quot;</p>
677
677
 
678
678
  <pre class="prettyprint"><code>// 初始化图层管理容器
679
679
  // ES5引入方式
680
- const { GeoJSONLayer } = Zondy.Layer
680
+ const { GeoJSONLayer } = zondy.layer
681
681
  // ES6引入方式
682
682
  import { GeoJSONLayer } from "@mapgis/webclient-common"
683
683
  // 创建图层
@@ -691,8 +691,8 @@ const geojsonLayer = new GeoJSONLayer({
691
691
 
692
692
 
693
693
  <pre class="prettyprint"><code>// ES5引入方式
694
- const { SpatialReference } = Zondy
695
- const { GeoJSONLayer } = Zondy.Layer
694
+ const { SpatialReference } = zondy
695
+ const { GeoJSONLayer } = zondy.layer
696
696
  // ES6引入方式
697
697
  import { SpatialReference, GeoJSONLayer } from "@mapgis/webclient-common"
698
698
  // 创建图层
@@ -717,10 +717,10 @@ map.remove(geojsonLayer)</code></pre>
717
717
 
718
718
 
719
719
  <pre class="prettyprint"><code>// ES5引入方式
720
- const { Color} = Zondy
721
- const { GeoJSONLayer } = Zondy.Layer
722
- const { UniqueValueRenderer } = Zondy.Renderer
723
- const { SimpleLineSymbol,SimpleFillSymbol } = Zondy.Symbol
720
+ const { Color} = zondy
721
+ const { GeoJSONLayer } = zondy.layer
722
+ const { UniqueValueRenderer } = zondy.renderer
723
+ const { SimpleLineSymbol,SimpleFillSymbol } = zondy.symbol
724
724
  // ES6引入方式
725
725
  import { Color,GeoJSONLayer,UniqueValueRenderer,SimpleLineSymbol,SimpleFillSymbol } from "@mapgis/webclient-common"
726
726
  // 创建图层
@@ -732,9 +732,9 @@ const geojsonLayer = new GeoJSONLayer({
732
732
  //字段名
733
733
  field: '你的字段名',
734
734
  // 默认符号,不在专题图指定范围内的会采用该样式,可不设置
735
- defaultSymbol: new Zondy.Symbol.SimpleFillSymbol({
735
+ defaultSymbol: new zondy.symbol.SimpleFillSymbol({
736
736
  // 填充颜色
737
- color: Zondy.Color(1 , 1, 252),
737
+ color: zondy.Color(1 , 1, 252),
738
738
  // 外边线样式
739
739
  outline: new SimpleLineSymbol({
740
740
  //线颜色
@@ -776,10 +776,10 @@ const geojsonLayer = new GeoJSONLayer({
776
776
 
777
777
 
778
778
  <pre class="prettyprint"><code>// ES5引入方式
779
- const { Color} = Zondy
780
- const { GeoJSONLayer } = Zondy.Layer
781
- const { ClassBreakRenderer } = Zondy.Renderer
782
- const { SimpleLineSymbol,SimpleFillSymbol } = Zondy.Symbol
779
+ const { Color} = zondy
780
+ const { GeoJSONLayer } = zondy.layer
781
+ const { ClassBreakRenderer } = zondy.renderer
782
+ const { SimpleLineSymbol,SimpleFillSymbol } = zondy.symbol
783
783
  // ES6引入方式
784
784
  import { Color,GeoJSONLayer,ClassBreakRenderer, SimpleLineSymbol,SimpleFillSymbol} from "@mapgis/webclient-common"
785
785
  // 创建图层
@@ -797,7 +797,7 @@ const geojsonLayer = new GeoJSONLayer({
797
797
  // 线符号样式
798
798
  outline: new SimpleLineSymbol({
799
799
  //线符号颜色
800
- color: new Zondy.Color(255, 1, 0),
800
+ color: new zondy.Color(255, 1, 0),
801
801
  //线宽
802
802
  width: 1
803
803
  })
@@ -829,10 +829,10 @@ const geojsonLayer = new GeoJSONLayer({
829
829
 
830
830
 
831
831
  <pre class="prettyprint"><code>// ES5引入方式
832
- const { GeoJSONLayer } = Zondy.Layer
833
- const { SimpleRenderer } = Zondy.Renderer
834
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
835
- const { Color } = Zondy
832
+ const { GeoJSONLayer } = zondy.layer
833
+ const { SimpleRenderer } = zondy.renderer
834
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
835
+ const { Color } = zondy
836
836
  // ES6引入方式
837
837
  import { Color,GeoJSONLayer, SimpleRenderer,SimpleLineSymbol,SimpleFillSymbol} from "@mapgis/webclient-common"
838
838
  const geojsonLayer = new GeoJSONLayer({
@@ -868,7 +868,7 @@ map.reorder(geojsonLayer, '要移动到的index');</code></pre>
868
868
 
869
869
  <pre class="prettyprint"><code>// 创建图层
870
870
  // ES5引入方式
871
- const { GeoJSONLayer } = Zondy.Layer
871
+ const { GeoJSONLayer } = zondy.layer
872
872
  // ES6引入方式
873
873
  import { GeoJSONLayer } from "@mapgis/webclient-common"
874
874
  const geojsonLayer = new GeoJSONLayer({
@@ -887,10 +887,10 @@ geojsonLayer.visible = !geojsonLayer.visible</code></pre>
887
887
 
888
888
  <pre class="prettyprint"><code>// 创建图层
889
889
  // ES5引入方式
890
- const { GeoJSONLayer } = Zondy.Layer
890
+ const { GeoJSONLayer } = zondy.layer
891
891
  // ES6引入方式
892
892
  import { GeoJSONLayer } from "@mapgis/webclient-common"
893
- const geojsonLayer = new Zondy.Layer.GeoJSONLayer({
893
+ const geojsonLayer = new zondy.layer.GeoJSONLayer({
894
894
  // 服务基地址
895
895
  url: 'json数据地址',
896
896
  // 设置图层透明度
@@ -905,9 +905,9 @@ geojsonLayer.opacity = 0.5</code></pre>
905
905
 
906
906
 
907
907
  <pre class="prettyprint"><code> // ES5引入方式
908
- const { LabelClass,Font } = Zondy
909
- const { TextSymbol } = Zondy.Symbol
910
- const { GeoJSONLayer } = Zondy.Layer
908
+ const { LabelClass,Font } = zondy
909
+ const { TextSymbol } = zondy.symbol
910
+ const { GeoJSONLayer } = zondy.layer
911
911
  // ES6引入方式
912
912
  import { LabelClass,Font,TextSymbol,GeoJSONLayer } from "@mapgis/webclient-common"
913
913
  // 初始化LabelClass
@@ -4063,7 +4063,7 @@ const geojsonLayer = new GeoJSONLayer({
4063
4063
  // 服务基地址
4064
4064
  url: 'json数据地址'
4065
4065
  }
4066
- const geojsonLayer = new Zondy.Layer.GeoJSONLayer.fromJSON(json)</code></pre>
4066
+ const geojsonLayer = new zondy.layer.GeoJSONLayer.fromJSON(json)</code></pre>
4067
4067
 
4068
4068
 
4069
4069
 
@@ -37,7 +37,7 @@
37
37
  <div class="description">
38
38
  <p>几何图形对象基类
39
39
  <br><br>[ES5引入方式]:<br/>
40
- Zondy.Geometry.Geometry() <br/>
40
+ zondy.geometry.Geometry() <br/>
41
41
  [ES6引入方式]:<br/>
42
42
  import { Geometry } from &quot;@mapgis/webclient-common&quot; <br/>
43
43
  <br/></p>
@@ -129,7 +129,7 @@ import { Geometry } from &quot;@mapgis/webclient-common&quot; <br/>
129
129
 
130
130
  <td class="default">
131
131
 
132
- new Zondy.SpatialReference('EPSG:4326')
132
+ new zondy.SpatialReference('EPSG:4326')
133
133
 
134
134
  </td>
135
135
 
@@ -1162,8 +1162,8 @@ import { Geometry } from &quot;@mapgis/webclient-common&quot; <br/>
1162
1162
 
1163
1163
 
1164
1164
  <pre class="prettyprint"><code>// ES5引入方式
1165
- const { Geometry } = Zondy
1166
- const { GeometryType } = Zondy.Enum
1165
+ const { Geometry } = zondy
1166
+ const { GeometryType } = zondy.enum
1167
1167
  // ES6引入方式
1168
1168
  import { Geometry, GeometryType } from "@mapgis/webclient-common"
1169
1169
  // 通过json构造一个几何对象
@@ -1401,7 +1401,7 @@ const polygon = Geometry.fromJSON({
1401
1401
 
1402
1402
 
1403
1403
  <pre class="prettyprint"><code>// ES5引入方式
1404
- const { Geometry} = Zondy.Geometry
1404
+ const { Geometry} = zondy.geometry
1405
1405
  // ES6引入方式
1406
1406
  import { Geometry } from "@mapgis/webclient-common"
1407
1407
  // 输入三维点数组
@@ -1437,7 +1437,7 @@ console.log("构建的多边形对象:", fromRings)</code></pre>
1437
1437
 
1438
1438
 
1439
1439
  <pre class="prettyprint"><code>// ES5引入方式
1440
- const { Geometry,SpatialReference} = Zondy.Geometry
1440
+ const { Geometry,SpatialReference} = zondy.geometry
1441
1441
  // ES6引入方式
1442
1442
  import { Geometry,SpatialReference } from "@mapgis/webclient-common"
1443
1443
  // 输入指定坐标系的点数组
@@ -1670,7 +1670,7 @@ console.log("构建的指定坐标系的多边形对象:", fromRings)</code></pr
1670
1670
 
1671
1671
 
1672
1672
  <pre class="prettyprint"><code>// ES5引入方式
1673
- const { Geometry } = Zondy.Geometry
1673
+ const { Geometry } = zondy.geometry
1674
1674
  // ES6引入方式
1675
1675
  import { Geometry } from "@mapgis/webclient-common"
1676
1676
  // 构造线几何对象