@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,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
  // 创建图层时设置透明度
@@ -664,7 +664,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
664
664
 
665
665
  </code>
666
666
  </td>
667
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
667
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
668
668
  </tr>
669
669
 
670
670
  <tr class="deep-level-0">
@@ -682,7 +682,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
682
682
 
683
683
  </code>
684
684
  </td>
685
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
685
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
686
686
  </tr>
687
687
 
688
688
  <tr class="deep-level-0">
@@ -746,7 +746,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
746
746
 
747
747
  <span class="param-type">
748
748
 
749
- String
749
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
750
750
 
751
751
  </span>
752
752
 
@@ -880,7 +880,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
880
880
 
881
881
  </code>
882
882
  </td>
883
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
883
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
884
884
  </tr>
885
885
 
886
886
  <tr class="deep-level-0">
@@ -919,6 +919,24 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
919
919
  <td class="name"><code><p>图层名称</p></code></td>
920
920
  </tr>
921
921
 
922
+ <tr class="deep-level-0">
923
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
924
+ <td class="name">
925
+ <code>
926
+
927
+ <span class="param-type">
928
+
929
+ String
930
+
931
+ </span>
932
+
933
+
934
+
935
+ </code>
936
+ </td>
937
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
938
+ </tr>
939
+
922
940
  <tr class="deep-level-0">
923
941
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
924
942
  <td class="name">
@@ -1268,7 +1286,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
1268
1286
 
1269
1287
 
1270
1288
  <div class="description">
1271
- <p>初始化图层的额外参数</p>
1289
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
1272
1290
  </div>
1273
1291
 
1274
1292
 
@@ -1305,6 +1323,11 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
1305
1323
 
1306
1324
 
1307
1325
 
1326
+ <dt class="tag-default">Default Value:</dt>
1327
+ <dd class="tag-default"><ul class="dummy">
1328
+ <li>{}</li>
1329
+ </ul></dd>
1330
+
1308
1331
 
1309
1332
 
1310
1333
 
@@ -1348,7 +1371,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
1348
1371
 
1349
1372
 
1350
1373
  <div class="description">
1351
- <p>存储额外参数的属性</p>
1374
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
1352
1375
  </div>
1353
1376
 
1354
1377
 
@@ -1385,6 +1408,11 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
1385
1408
 
1386
1409
 
1387
1410
 
1411
+ <dt class="tag-default">Default Value:</dt>
1412
+ <dd class="tag-default"><ul class="dummy">
1413
+ <li>{}</li>
1414
+ </ul></dd>
1415
+
1388
1416
 
1389
1417
 
1390
1418
 
@@ -1646,7 +1674,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
1646
1674
 
1647
1675
  <span class="param-type">
1648
1676
 
1649
- String
1677
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1650
1678
 
1651
1679
  </span>
1652
1680
 
@@ -2249,7 +2277,7 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
2249
2277
 
2250
2278
 
2251
2279
  <div class="description">
2252
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
2280
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
2253
2281
  </div>
2254
2282
 
2255
2283
 
@@ -2447,6 +2475,86 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
2447
2475
 
2448
2476
 
2449
2477
 
2478
+
2479
+
2480
+
2481
+
2482
+
2483
+
2484
+ </dl>
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+ </div>
2491
+
2492
+ <div class="member">
2493
+
2494
+ <span class="method-parameter is-pulled-right">
2495
+ <label>类型:</label>
2496
+
2497
+ <span class="param-type">
2498
+
2499
+ String
2500
+
2501
+ </span>
2502
+
2503
+
2504
+
2505
+ </span>
2506
+
2507
+ <h4 class="name" id="tokenAttachType">
2508
+ <a class="href-link" href="#tokenAttachType">#</a>
2509
+
2510
+ <span class="code-name">
2511
+ tokenAttachType
2512
+ </span>
2513
+
2514
+ </h4>
2515
+
2516
+
2517
+
2518
+
2519
+ <div class="description">
2520
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
2521
+ </div>
2522
+
2523
+
2524
+
2525
+
2526
+
2527
+ <dl class="details">
2528
+
2529
+
2530
+
2531
+
2532
+
2533
+
2534
+ <dt class="inherited-from">Inherited From:</dt>
2535
+ <dd class="inherited-from"><ul class="dummy"><li>
2536
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
2537
+ </li></ul></dd>
2538
+
2539
+
2540
+
2541
+
2542
+
2543
+
2544
+
2545
+
2546
+
2547
+
2548
+
2549
+
2550
+
2551
+
2552
+
2553
+
2554
+
2555
+
2556
+
2557
+
2450
2558
 
2451
2559
 
2452
2560
 
@@ -3113,9 +3221,9 @@ map.reorder(graphicsLayer, '要移动到的index');</code></pre>
3113
3221
 
3114
3222
 
3115
3223
  <pre class="prettyprint"><code>// ES5引入方式
3116
- const { Feature } = Zondy
3117
- const { Circle } = Zondy.Geometry
3118
- const { GraphicsLayer } = Zondy.Layer
3224
+ const { Feature } = zondy
3225
+ const { Circle } = zondy.geometry
3226
+ const { GraphicsLayer } = zondy.layer
3119
3227
  // ES6引入方式
3120
3228
  import { Feature,Circle,GraphicsLayer } from "@mapgis/webclient-common"
3121
3229
  // 创建一个要素
@@ -3448,9 +3556,9 @@ const graphicsLayer = new GraphicsLayer.fromJSON(json)</code></pre>
3448
3556
 
3449
3557
 
3450
3558
  <pre class="prettyprint"><code>// ES5引入方式
3451
- const { Feature } = Zondy
3452
- const { Circle } = Zondy.Geometry
3453
- const { GraphicsLayer } = Zondy.Layer
3559
+ const { Feature } = zondy
3560
+ const { Circle } = zondy.geometry
3561
+ const { GraphicsLayer } = zondy.layer
3454
3562
  // ES6引入方式
3455
3563
  import { Feature,Circle,GraphicsLayer } from "@mapgis/webclient-common"
3456
3564
  // 创建一个要素
@@ -4099,10 +4207,10 @@ graphicsLayer.addMany([feature1, feature2])</code></pre>
4099
4207
 
4100
4208
 
4101
4209
  <pre class="prettyprint"><code>// ES5引入方式
4102
- const { Feature,Color } = Zondy
4103
- const { Circle } = Zondy.Geometry
4104
- const { GraphicsLayer } = Zondy.Layer
4105
- const { SimpleFillSymbol } = Zondy.Symbol
4210
+ const { Feature,Color } = zondy
4211
+ const { Circle } = zondy.geometry
4212
+ const { GraphicsLayer } = zondy.layer
4213
+ const { SimpleFillSymbol } = zondy.symbol
4106
4214
  // ES6引入方式
4107
4215
  import { Feature,Color,Circle,GraphicsLayer,SimpleFillSymbol } from "@mapgis/webclient-common"
4108
4216
  // 创建一个要素
@@ -4230,9 +4338,9 @@ graphicsLayer.remove(feature)</code></pre>
4230
4338
 
4231
4339
 
4232
4340
  <pre class="prettyprint"><code>// ES5引入方式
4233
- const { Feature } = Zondy
4234
- const { Circle } = Zondy.Geometry
4235
- const { GraphicsLayer } = Zondy.Layer
4341
+ const { Feature } = zondy
4342
+ const { Circle } = zondy.geometry
4343
+ const { GraphicsLayer } = zondy.layer
4236
4344
  // ES6引入方式
4237
4345
  import { Feature,Color,Circle,GraphicsLayer } from "@mapgis/webclient-common"
4238
4346
  // 创建一个要素
@@ -4415,9 +4523,9 @@ graphicsLayer.removeAll()</code></pre>
4415
4523
 
4416
4524
 
4417
4525
  <pre class="prettyprint"><code>// ES5引入方式
4418
- const { Feature } = Zondy
4419
- const { Circle } = Zondy.Geometry
4420
- const { GraphicsLayer } = Zondy.Layer
4526
+ const { Feature } = zondy
4527
+ const { Circle } = zondy.geometry
4528
+ const { GraphicsLayer } = zondy.layer
4421
4529
  // ES6引入方式
4422
4530
  import { Feature,Circle,GraphicsLayer } from "@mapgis/webclient-common"
4423
4531
  // 创建一个要素