@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
@@ -207,7 +207,7 @@
207
207
 
208
208
 
209
209
  <pre class="prettyprint"><code>// ES5引入方式
210
- const { GeometryServer } = Zondy.Service
210
+ const { GeometryServer } = zondy.service
211
211
  // ES6引入方式
212
212
  import { GeometryServer } from "@mapgis/webclient-common"
213
213
  const geometryServer = new GeometryServer({
@@ -629,7 +629,7 @@ const geometryServer = new GeometryServer({
629
629
 
630
630
  <pre class="prettyprint"><code>//设置请求基地址
631
631
  // ES5引入方式
632
- const { BaseServer } = Zondy.Service
632
+ const { BaseServer } = zondy.service
633
633
  // ES6引入方式
634
634
  import { BaseServer } from "@mapgis/webclient-common"
635
635
  let BaseServer = new BaseServer({
@@ -730,7 +730,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
730
730
 
731
731
  <pre class="prettyprint"><code>//设置请求头参数
732
732
  // ES5引入方式
733
- const { BaseServer } = Zondy.Service
733
+ const { BaseServer } = zondy.service
734
734
  // ES6引入方式
735
735
  import { BaseServer } from "@mapgis/webclient-common"
736
736
  let BaseServer = new BaseServer({
@@ -832,7 +832,7 @@ BaseServer.headers.token = '新token';</code></pre>
832
832
 
833
833
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
834
834
  // ES5引入方式
835
- const { BaseServer,RequestInterceptor } = Zondy.Service
835
+ const { BaseServer,RequestInterceptor } = zondy.service
836
836
  // ES6引入方式
837
837
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
838
838
  let BaseServer = new BaseServer({
@@ -941,7 +941,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
941
941
  <pre class="prettyprint"><code>//设置超时时间
942
942
  //初始化AddressServer服务对象
943
943
  // ES5引入方式
944
- const { BaseServer } = Zondy.Service
944
+ const { BaseServer } = zondy.service
945
945
  // ES6引入方式
946
946
  import { BaseServer } from "@mapgis/webclient-common"
947
947
  let BaseServer = new BaseServer({
@@ -1038,7 +1038,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1038
1038
 
1039
1039
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1040
1040
  // ES5引入方式
1041
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1041
+ const { BaseServer,ResponseInterceptor } = zondy.service
1042
1042
  // ES6引入方式
1043
1043
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1044
1044
  let BaseServer = new BaseServer({
@@ -1148,8 +1148,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1148
1148
 
1149
1149
  <pre class="prettyprint"><code>//设置token值
1150
1150
  // ES5引入方式
1151
- const { BaseServer } = Zondy.Service
1152
- const { TokenAttachType } = Zondy.Enum
1151
+ const { BaseServer } = zondy.service
1152
+ const { TokenAttachType } = zondy.enum
1153
1153
  // ES6引入方式
1154
1154
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1155
1155
  let BaseServer = new BaseServer({
@@ -1250,7 +1250,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1250
1250
 
1251
1251
  <pre class="prettyprint"><code>//设置token名
1252
1252
  // ES5引入方式
1253
- const { BaseServer } = Zondy.Service
1253
+ const { BaseServer } = zondy.service
1254
1254
  // ES6引入方式
1255
1255
  import { BaseServer } from "@mapgis/webclient-common"
1256
1256
  let BaseServer = new BaseServer({
@@ -1347,7 +1347,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1347
1347
 
1348
1348
  <pre class="prettyprint"><code>//设置token值
1349
1349
  // ES5引入方式
1350
- const { BaseServer } = Zondy.Service
1350
+ const { BaseServer } = zondy.service
1351
1351
  // ES6引入方式
1352
1352
  import { BaseServer } from "@mapgis/webclient-common"
1353
1353
  let BaseServer = new BaseServer({
@@ -1444,7 +1444,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1444
1444
 
1445
1445
  <pre class="prettyprint"><code>//设置请求基地址
1446
1446
  // ES5引入方式
1447
- const { BaseServer } = Zondy.Service
1447
+ const { BaseServer } = zondy.service
1448
1448
  // ES6引入方式
1449
1449
  import { BaseServer } from "@mapgis/webclient-common"
1450
1450
  let BaseServer = new BaseServer({
@@ -1882,8 +1882,8 @@ BaseServer.url = '新URL';</code></pre>
1882
1882
 
1883
1883
  <pre class="prettyprint"><code>// 回调方式
1884
1884
  // ES5引入方式
1885
- const { Polygon } = Zondy.Geometry
1886
- const { FetchMethod } = Zondy.Enum
1885
+ const { Polygon } = zondy.geometry
1886
+ const { FetchMethod } = zondy.enum
1887
1887
  // ES6引入方式
1888
1888
  import { Polygon, FetchMethod } from "@mapgis/webclient-common"
1889
1889
  geometryServer.bufferAnalyse({
@@ -2428,7 +2428,7 @@ geometryServer.bufferAnalyse({
2428
2428
 
2429
2429
  <pre class="prettyprint"><code>// 回调方式
2430
2430
  // ES5引入方式
2431
- const { Polygon } = Zondy.Geometry
2431
+ const { Polygon } = zondy.geometry
2432
2432
  // ES6引入方式
2433
2433
  import { Polygon } from "@mapgis/webclient-common"
2434
2434
  geometryServer.calculateAreasAndLengths({
@@ -2751,7 +2751,7 @@ geometryServer.calculateAreasAndLengths({
2751
2751
 
2752
2752
  <pre class="prettyprint"><code>// 回调方式
2753
2753
  // ES5引入方式
2754
- const { Polygon } = Zondy.Geometry
2754
+ const { Polygon } = zondy.geometry
2755
2755
  // ES6引入方式
2756
2756
  import { Polygon } from "@mapgis/webclient-common"
2757
2757
  geometryServer.calculateDifference({
@@ -3096,12 +3096,12 @@ geometryServer.calculateDifference({
3096
3096
 
3097
3097
  <pre class="prettyprint"><code>// 回调方式
3098
3098
  // ES5引入方式
3099
- const { Point,LineString } = Zondy.Geometry
3100
- const { FetchMethod } = Zondy.Enum
3099
+ const { Point,LineString } = zondy.geometry
3100
+ const { FetchMethod } = zondy.enum
3101
3101
  // ES6引入方式
3102
3102
  import { Point,LineString,FetchMethod } from "@mapgis/webclient-common"
3103
3103
  geometryServer.calculateDistance({
3104
- geometry1: new Zondy.Geometry.Point({
3104
+ geometry1: new zondy.geometry.Point({
3105
3105
  coordinates: [
3106
3106
  105.380859375, 31.57853542647338
3107
3107
  ]
@@ -3414,8 +3414,8 @@ geometryServer.calculateDistance({
3414
3414
 
3415
3415
 
3416
3416
  <pre class="prettyprint"><code>// ES5引入方式
3417
- const { Polygon } = Zondy.Geometry
3418
- const { Polygon,FetchMethod } = Zondy.Enum
3417
+ const { Polygon } = zondy.geometry
3418
+ const { Polygon,FetchMethod } = zondy.enum
3419
3419
  // ES6引入方式
3420
3420
  import { Polygon,FetchMethod } from "@mapgis/webclient-common"
3421
3421
  geometryServer.calculateIntersect({
@@ -3675,8 +3675,8 @@ geometryServer.calculateIntersect({
3675
3675
 
3676
3676
  <pre class="prettyprint"><code>// 回调方式
3677
3677
  // ES5引入方式
3678
- const { Polygon } = Zondy.Geometry
3679
- const { Polygon,FetchMethod } = Zondy.Enum
3678
+ const { Polygon } = zondy.geometry
3679
+ const { Polygon,FetchMethod } = zondy.enum
3680
3680
  // ES6引入方式
3681
3681
  import { Polygon,FetchMethod } from "@mapgis/webclient-common"
3682
3682
  geometryServer.calculateLabelPoints({
@@ -4208,8 +4208,8 @@ geometryServer.calculateLabelPoints({
4208
4208
 
4209
4209
  <pre class="prettyprint"><code>// 回调方式
4210
4210
  // ES5引入方式
4211
- const { LineString } = Zondy.Geometry
4212
- const { FetchMethod } = Zondy.Enum
4211
+ const { LineString } = zondy.geometry
4212
+ const { FetchMethod } = zondy.enum
4213
4213
  // ES6引入方式
4214
4214
  import { LineString,FetchMethod } from "@mapgis/webclient-common"
4215
4215
  geometryServer.calculateLengths({
@@ -4517,8 +4517,8 @@ geometryServer.calculateLengths({
4517
4517
 
4518
4518
  <pre class="prettyprint"><code>// 回调方式
4519
4519
  // ES5引入方式
4520
- const { LineString,Polygon } = Zondy.Geometry
4521
- const { FetchMethod } = Zondy.Enum
4520
+ const { LineString,Polygon } = zondy.geometry
4521
+ const { FetchMethod } = zondy.enum
4522
4522
  // ES6引入方式
4523
4523
  import { LineString,Polygon,FetchMethod } from "@mapgis/webclient-common"
4524
4524
  geometryServer.calculateTopologyRelation({
@@ -4832,8 +4832,8 @@ geometryServer.calculateTopologyRelation({
4832
4832
 
4833
4833
  <pre class="prettyprint"><code>// 回调方式
4834
4834
  // ES5引入方式
4835
- const { Polygon } = Zondy.Geometry
4836
- const { FetchMethod } = Zondy.Enum
4835
+ const { Polygon } = zondy.geometry
4836
+ const { FetchMethod } = zondy.enum
4837
4837
  // ES6引入方式
4838
4838
  import { Polygon,FetchMethod } from "@mapgis/webclient-common"
4839
4839
  geometryServer.calculateUnion({
@@ -5147,8 +5147,8 @@ geometryServer.calculateUnion({
5147
5147
 
5148
5148
  <pre class="prettyprint"><code>// 回调方式
5149
5149
  // ES5引入方式
5150
- const { LineString } = Zondy.Geometry
5151
- const { FetchMethod } = Zondy.Enum
5150
+ const { LineString } = zondy.geometry
5151
+ const { FetchMethod } = zondy.enum
5152
5152
  // ES6引入方式
5153
5153
  import { Polygon,FetchMethod } from "@mapgis/webclient-common"
5154
5154
  geometryServer.geometryProject({
@@ -38,7 +38,7 @@
38
38
  <p>图形图层,不支持在线数据,仅支持传入多个几何对象并绘制<br/>
39
39
  目前二维和三维上支持4326(包括4490,4214以及4610),3857以及EPSG支持的自定义坐标系,若是想要绘制非4326坐标系几何,需要在初始化要素对象的几何时,指定具体坐标系
40
40
  <br><br>[ES5引入方式]:<br/>
41
- Zondy.Layer.GraphicsLayer() <br/>
41
+ zondy.layer.GraphicsLayer() <br/>
42
42
  [ES6引入方式]:<br/>
43
43
  import { GraphicsLayer } from &quot;@mapgis/webclient-common&quot; <br/>
44
44
  <br/>
@@ -401,10 +401,10 @@ if(layer.loadStatus === 'loaded') {<br/>
401
401
 
402
402
 
403
403
  <pre class="prettyprint"><code>// ES5引入方式
404
- const { Feature,Color} = Zondy
405
- const { Circle } = Zondy.Geometry
406
- const { SimpleFillSymbol } = Zondy.Symbol
407
- const { GraphicsLayer } = Zondy.Layer
404
+ const { Feature,Color} = zondy
405
+ const { Circle } = zondy.geometry
406
+ const { SimpleFillSymbol } = zondy.symbol
407
+ const { GraphicsLayer } = zondy.layer
408
408
  // ES6引入方式
409
409
  import { Color,Feature,Circle, GraphicsLayer,SimpleFillSymbol} from "@mapgis/webclient-common"
410
410
  // 创建一个要素
@@ -442,10 +442,10 @@ const graphicsLayer = new GraphicsLayer({
442
442
 
443
443
 
444
444
  <pre class="prettyprint"><code>// ES5引入方式
445
- const { Feature,Color} = Zondy
446
- const { Circle } = Zondy.Geometry
447
- const { SimpleFillSymbol } = Zondy.Symbol
448
- const { GraphicsLayer } = Zondy.Layer
445
+ const { Feature,Color} = zondy
446
+ const { Circle } = zondy.geometry
447
+ const { SimpleFillSymbol } = zondy.symbol
448
+ const { GraphicsLayer } = zondy.layer
449
449
  // ES6引入方式
450
450
  import { Feature,Color,Circle, GraphicsLayer,SimpleFillSymbol} from "@mapgis/webclient-common"
451
451
  // 创建一个要素
@@ -477,10 +477,10 @@ graphicsLayer.add(feature)</code></pre>
477
477
 
478
478
 
479
479
  <pre class="prettyprint"><code>// ES5引入方式
480
- const { Feature,SpatialReference,Color} = Zondy
481
- const { Circle } = Zondy.Geometry
482
- const { SimpleFillSymbol } = Zondy.Symbol
483
- const { GraphicsLayer } = Zondy.Layer
480
+ const { Feature,SpatialReference,Color} = zondy
481
+ const { Circle } = zondy.geometry
482
+ const { SimpleFillSymbol } = zondy.symbol
483
+ const { GraphicsLayer } = zondy.layer
484
484
  // ES6引入方式
485
485
  import { Feature,SpatialReference,Color,Circle, GraphicsLayer,SimpleFillSymbol} from "@mapgis/webclient-common"
486
486
  // 创建一个要素
@@ -512,7 +512,7 @@ graphicsLayer.add(feature)</code></pre>
512
512
 
513
513
 
514
514
  <pre class="prettyprint"><code> // ES5引入方式
515
- const { GraphicsLayer } = Zondy.Layer
515
+ const { GraphicsLayer } = zondy.layer
516
516
  // ES6引入方式
517
517
  import { GraphicsLayer } from "@mapgis/webclient-common"
518
518
  // 创建图层时设置可见性
@@ -529,7 +529,7 @@ graphicsLayer.visible = !graphicsLayer.visible</code></pre>
529
529
 
530
530
 
531
531
  <pre class="prettyprint"><code>// ES5引入方式
532
- const { GraphicsLayer } = Zondy.Layer
532
+ const { GraphicsLayer } = zondy.layer
533
533
  // ES6引入方式
534
534
  import { GraphicsLayer } from "@mapgis/webclient-common"
535
535
  // 创建图层时设置透明度
@@ -3221,9 +3221,9 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
3221
3221
 
3222
3222
 
3223
3223
  <pre class="prettyprint"><code>// ES5引入方式
3224
- const { Feature } = Zondy
3225
- const { Circle } = Zondy.Geometry
3226
- const { GraphicsLayer } = Zondy.Layer
3224
+ const { Feature } = zondy
3225
+ const { Circle } = zondy.geometry
3226
+ const { GraphicsLayer } = zondy.layer
3227
3227
  // ES6引入方式
3228
3228
  import { Feature,Circle,GraphicsLayer } from "@mapgis/webclient-common"
3229
3229
  // 创建一个要素
@@ -3556,9 +3556,9 @@ const graphicsLayer = new GraphicsLayer.fromJSON(json)</code></pre>
3556
3556
 
3557
3557
 
3558
3558
  <pre class="prettyprint"><code>// ES5引入方式
3559
- const { Feature } = Zondy
3560
- const { Circle } = Zondy.Geometry
3561
- const { GraphicsLayer } = Zondy.Layer
3559
+ const { Feature } = zondy
3560
+ const { Circle } = zondy.geometry
3561
+ const { GraphicsLayer } = zondy.layer
3562
3562
  // ES6引入方式
3563
3563
  import { Feature,Circle,GraphicsLayer } from "@mapgis/webclient-common"
3564
3564
  // 创建一个要素
@@ -4207,10 +4207,10 @@ graphicsLayer.addMany([feature1, feature2])</code></pre>
4207
4207
 
4208
4208
 
4209
4209
  <pre class="prettyprint"><code>// ES5引入方式
4210
- const { Feature,Color } = Zondy
4211
- const { Circle } = Zondy.Geometry
4212
- const { GraphicsLayer } = Zondy.Layer
4213
- const { SimpleFillSymbol } = Zondy.Symbol
4210
+ const { Feature,Color } = zondy
4211
+ const { Circle } = zondy.geometry
4212
+ const { GraphicsLayer } = zondy.layer
4213
+ const { SimpleFillSymbol } = zondy.symbol
4214
4214
  // ES6引入方式
4215
4215
  import { Feature,Color,Circle,GraphicsLayer,SimpleFillSymbol } from "@mapgis/webclient-common"
4216
4216
  // 创建一个要素
@@ -4338,9 +4338,9 @@ graphicsLayer.remove(feature)</code></pre>
4338
4338
 
4339
4339
 
4340
4340
  <pre class="prettyprint"><code>// ES5引入方式
4341
- const { Feature } = Zondy
4342
- const { Circle } = Zondy.Geometry
4343
- const { GraphicsLayer } = Zondy.Layer
4341
+ const { Feature } = zondy
4342
+ const { Circle } = zondy.geometry
4343
+ const { GraphicsLayer } = zondy.layer
4344
4344
  // ES6引入方式
4345
4345
  import { Feature,Color,Circle,GraphicsLayer } from "@mapgis/webclient-common"
4346
4346
  // 创建一个要素
@@ -4523,9 +4523,9 @@ graphicsLayer.removeAll()</code></pre>
4523
4523
 
4524
4524
 
4525
4525
  <pre class="prettyprint"><code>// ES5引入方式
4526
- const { Feature } = Zondy
4527
- const { Circle } = Zondy.Geometry
4528
- const { GraphicsLayer } = Zondy.Layer
4526
+ const { Feature } = zondy
4527
+ const { Circle } = zondy.geometry
4528
+ const { GraphicsLayer } = zondy.layer
4529
4529
  // ES6引入方式
4530
4530
  import { Feature,Circle,GraphicsLayer } from "@mapgis/webclient-common"
4531
4531
  // 创建一个要素
@@ -36,7 +36,7 @@
36
36
 
37
37
  <div class="description">
38
38
  <p><br><br>[ES5引入方式]:<br/>
39
- Zondy.Layer.GroupLayer() <br/>
39
+ zondy.layer.GroupLayer() <br/>
40
40
  [ES6引入方式]:<br/>
41
41
  import { GroupLayer } from &quot;@mapgis/webclient-common&quot; <br/>
42
42
  <br/></p>
@@ -280,7 +280,7 @@ import { GroupLayer } from &quot;@mapgis/webclient-common&quot; <br/>
280
280
 
281
281
  <pre class="prettyprint"><code>// 初始化图层管理容器
282
282
  // ES5引入方式
283
- const { IGSMapImageLayer,WMTSLayer,GroupLayer } = Zondy.Layer
283
+ const { IGSMapImageLayer,WMTSLayer,GroupLayer } = zondy.layer
284
284
  // ES6引入方式
285
285
  import { IGSMapImageLayer,WMTSLayer,GroupLayer} from "@mapgis/webclient-common"
286
286
  // 创建一个矢量图层
@@ -38,7 +38,7 @@
38
38
  <p>IGS要素图层,<br>
39
39
  目前二维和三维上支持4326(包括4490,4214以及4610),3857以及EPSG支持的自定义坐标系,要素服务会自动读取元信息上的坐标系,不需要用户指定
40
40
  <br><br>[ES5引入方式]:<br/>
41
- Zondy.Layer.IGSFeatureLayer() <br/>
41
+ zondy.layer.IGSFeatureLayer() <br/>
42
42
  [ES6引入方式]:<br/>
43
43
  import { IGSFeatureLayer } from &quot;@mapgis/webclient-common&quot; <br/>
44
44
  <br/>
@@ -765,7 +765,7 @@ if(layer.loadStatus === 'loaded') {<br/>
765
765
 
766
766
 
767
767
  <pre class="prettyprint"><code>// ES5引入方式
768
- const { IGSFeatureLayer } = Zondy.Layer
768
+ const { IGSFeatureLayer } = zondy.layer
769
769
  // ES6引入方式
770
770
  import { IGSFeatureLayer} from "@mapgis/webclient-common"
771
771
  // 添加图层
@@ -779,7 +779,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
779
779
 
780
780
 
781
781
  <pre class="prettyprint"><code>// ES5引入方式
782
- const { IGSFeatureLayer } = Zondy.Layer
782
+ const { IGSFeatureLayer } = zondy.layer
783
783
  // ES6引入方式
784
784
  import { IGSFeatureLayer} from "@mapgis/webclient-common"
785
785
  // 添加图层
@@ -794,7 +794,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
794
794
 
795
795
  <pre class="prettyprint"><code>&lt;caption>&lt;h7 id='IGSFeatureLayer-url'>添加IGS要素图层-在基地址中指定图层id&lt;/h7>&lt;/caption
796
796
  // ES5引入方式
797
- const { IGSFeatureLayer } = Zondy.Layer
797
+ const { IGSFeatureLayer } = zondy.layer
798
798
  // ES6引入方式
799
799
  import { IGSFeatureLayer} from "@mapgis/webclient-common"
800
800
  const igsFeatureLayer = new IGSFeatureLayer({
@@ -807,7 +807,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
807
807
 
808
808
 
809
809
  <pre class="prettyprint"><code>// ES5引入方式
810
- const { IGSFeatureLayer } = Zondy.Layer
810
+ const { IGSFeatureLayer } = zondy.layer
811
811
  // ES6引入方式
812
812
  import { IGSFeatureLayer} from "@mapgis/webclient-common"
813
813
  const igsFeatureLayer = new IGSFeatureLayer({
@@ -828,7 +828,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
828
828
 
829
829
 
830
830
  <pre class="prettyprint"><code>// ES5引入方式
831
- const { IGSFeatureLayer } = Zondy.Layer
831
+ const { IGSFeatureLayer } = zondy.layer
832
832
  // ES6引入方式
833
833
  import { IGSFeatureLayer} from "@mapgis/webclient-common"
834
834
  // 在初始化时设置
@@ -847,7 +847,7 @@ igsFeatureLayer.opacity = 0.5</code></pre>
847
847
 
848
848
 
849
849
  <pre class="prettyprint"><code>// ES5引入方式
850
- const { IGSFeatureLayer } = Zondy.Layer
850
+ const { IGSFeatureLayer } = zondy.layer
851
851
  // ES6引入方式
852
852
  import { IGSFeatureLayer} from "@mapgis/webclient-common"
853
853
  // 在初始化时设置
@@ -873,10 +873,10 @@ map.reorder(igsFeatureLayer, '要移动到的index');</code></pre>
873
873
 
874
874
 
875
875
  <pre class="prettyprint"><code>// ES5引入方式
876
- const { IGSFeatureLayer } = Zondy.Layer
877
- const { UniqueValueRenderer } = Zondy.Renderer
878
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
879
- const { Color } = Zondy
876
+ const { IGSFeatureLayer } = zondy.layer
877
+ const { UniqueValueRenderer } = zondy.renderer
878
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
879
+ const { Color } = zondy
880
880
  // ES6引入方式
881
881
  import { IGSFeatureLayer,UniqueValueRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
882
882
  const igsFeatureLayer = new IGSFeatureLayer({
@@ -931,10 +931,10 @@ const igsFeatureLayer = new IGSFeatureLayer({
931
931
 
932
932
 
933
933
  <pre class="prettyprint"><code>// ES5引入方式
934
- const { IGSFeatureLayer } = Zondy.Layer
935
- const { ClassBreakRenderer } = Zondy.Renderer
936
- const { SimpleLineSymbol } = Zondy.Symbol
937
- const { Color } = Zondy
934
+ const { IGSFeatureLayer } = zondy.layer
935
+ const { ClassBreakRenderer } = zondy.renderer
936
+ const { SimpleLineSymbol } = zondy.symbol
937
+ const { Color } = zondy
938
938
  // ES6引入方式
939
939
  import { IGSFeatureLayer,ClassBreakRenderer,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
940
940
  const igsFeatureLayer = new IGSFeatureLayer({
@@ -1033,10 +1033,10 @@ const igsFeatureLayer = new IGSFeatureLayer({
1033
1033
 
1034
1034
 
1035
1035
  <pre class="prettyprint"><code>// ES5引入方式
1036
- const { IGSFeatureLayer } = Zondy.Layer
1037
- const { SimpleRenderer } = Zondy.Renderer
1038
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
1039
- const { Color } = Zondy
1036
+ const { IGSFeatureLayer } = zondy.layer
1037
+ const { SimpleRenderer } = zondy.renderer
1038
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
1039
+ const { Color } = zondy
1040
1040
  // ES6引入方式
1041
1041
  import { IGSFeatureLayer,SimpleRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
1042
1042
  const igsFeatureLayer = new IGSFeatureLayer({
@@ -1064,7 +1064,7 @@ const igsFeatureLayer = new IGSFeatureLayer({
1064
1064
 
1065
1065
 
1066
1066
  <pre class="prettyprint"><code>// ES5引入方式
1067
- const { IGSFeatureLayer } = Zondy.Layer
1067
+ const { IGSFeatureLayer } = zondy.layer
1068
1068
  // ES6引入方式
1069
1069
  import { IGSFeatureLayer } from "@mapgis/webclient-common"
1070
1070
  const igsFeatureLayer = new IGSFeatureLayer({
@@ -1079,9 +1079,9 @@ const igsFeatureLayer = new IGSFeatureLayer({
1079
1079
 
1080
1080
 
1081
1081
  <pre class="prettyprint"><code>// ES5引入方式
1082
- const { igsFeatureLayer } = Zondy.Layer
1083
- const { LabelClass ,Font} = Zondy
1084
- const { TextSymbol } = Zondy.Symbol
1082
+ const { igsFeatureLayer } = zondy.layer
1083
+ const { LabelClass ,Font} = zondy
1084
+ const { TextSymbol } = zondy.symbol
1085
1085
  // ES6引入方式
1086
1086
  import { igsFeatureLayer,LabelClass,Font,TextSymbol } from "@mapgis/webclient-common"
1087
1087
  // 初始化LabelClass
@@ -2613,7 +2613,7 @@ const igsFeatureLayer = new igsFeatureLayer({
2613
2613
  // 服务基地址
2614
2614
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/FeatureServer',
2615
2615
  }
2616
- const igsFeatureLayer = new Zondy.Layer.IGSFeatureLayer.fromJSON(json)</code></pre>
2616
+ const igsFeatureLayer = new zondy.layer.IGSFeatureLayer.fromJSON(json)</code></pre>
2617
2617
 
2618
2618
 
2619
2619
 
@@ -2868,7 +2868,7 @@ const igsFeatureLayer = new Zondy.Layer.IGSFeatureLayer.fromJSON(json)</code></p
2868
2868
 
2869
2869
 
2870
2870
  <pre class="prettyprint"><code>// 初始化图层
2871
- const igsFeatureLayer = new Zondy.Layer.IGSFeatureLayer({
2871
+ const igsFeatureLayer = new zondy.layer.IGSFeatureLayer({
2872
2872
  // 服务基地址
2873
2873
  url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/FeatureServer',
2874
2874
  });