@mapgis/webclient-common 17.2.7 → 17.2.10

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 (222) hide show
  1. package/README.md +28 -0
  2. package/dist/es5/webclient-common.min.js +3 -3
  3. package/dist/webclient-common-es6.min.js +3 -3
  4. package/documention/AddressServer.html +20 -20
  5. package/documention/ArcGISFeatureServer.html +14 -14
  6. package/documention/ArcGISGeometryServer.html +18 -18
  7. package/documention/ArcGISMapImageLayer.html +34 -122
  8. package/documention/ArcGISMapImageSubLayer.html +23 -23
  9. package/documention/ArcGISMapServer.html +15 -15
  10. package/documention/ArcGISTileLayer.html +75 -75
  11. package/documention/ArcGISVectorTileLayer.html +57 -57
  12. package/documention/ArcGISVectorTileServer.html +14 -14
  13. package/documention/BaseRenderer.html +2 -2
  14. package/documention/BaseScene.html +70 -70
  15. package/documention/BaseServer.html +5 -5
  16. package/documention/BaseView.html +57 -57
  17. package/documention/Basemap.html +30 -30
  18. package/documention/Callout3D.html +9 -9
  19. package/documention/Cesium3DTilesCacheLayer.html +68 -68
  20. package/documention/Cesium3DTilesServer.html +14 -14
  21. package/documention/Circle.html +26 -26
  22. package/documention/ClassBreakClusterInfo.html +7 -7
  23. package/documention/ClassBreakInfo.html +5 -5
  24. package/documention/ClassBreakRenderer.html +29 -29
  25. package/documention/ClusterRenderer.html +19 -19
  26. package/documention/Collection.html +54 -54
  27. package/documention/Color.html +13 -13
  28. package/documention/ColorMaterial.html +7 -7
  29. package/documention/ColorStop.html +7 -7
  30. package/documention/ColorVariable.html +4 -4
  31. package/documention/Config.html +1 -1
  32. package/documention/CursorChangeEventInfo.html +2 -2
  33. package/documention/EchartsLayer.html +6 -6
  34. package/documention/Edges3D.html +7 -7
  35. package/documention/ElevationInfo.html +5 -5
  36. package/documention/Extent.html +41 -41
  37. package/documention/ExtrudeSymbol3DLayer.html +21 -21
  38. package/documention/Feature.html +145 -19
  39. package/documention/FeatureExpressionInfo.html +2 -2
  40. package/documention/FeatureFilter.html +71 -71
  41. package/documention/FeatureLayer.html +77 -77
  42. package/documention/FeatureServer.html +109 -90
  43. package/documention/FeatureSet.html +7 -7
  44. package/documention/FillSymbol.html +14 -14
  45. package/documention/FillSymbol3DLayer.html +17 -17
  46. package/documention/FillSymbol3DOutline.html +10 -10
  47. package/documention/Font.html +6 -6
  48. package/documention/GeoJSONLayer.html +84 -84
  49. package/documention/Geometry.html +11 -11
  50. package/documention/GeometryEngine.html +131 -131
  51. package/documention/GeometryFilter.html +12 -12
  52. package/documention/GeometryServer.html +39 -39
  53. package/documention/GraphicsLayer.html +106 -106
  54. package/documention/GroupLayer.html +77 -77
  55. package/documention/HeatmapColorStop.html +7 -7
  56. package/documention/HeatmapRenderer.html +10 -10
  57. package/documention/IGSFeatureLayer.html +24 -24
  58. package/documention/IGSMapImageLayer.html +152 -54
  59. package/documention/IGSMapImageSubLayer.html +25 -25
  60. package/documention/IGSSceneLayer.html +10 -10
  61. package/documention/IGSSceneSubLayer.html +26 -26
  62. package/documention/IGSTileLayer.html +85 -85
  63. package/documention/IGSVectorTileLayer.html +61 -61
  64. package/documention/IGSVectorTileSubLayer.html +21 -21
  65. package/documention/ISScene.html +426 -74
  66. package/documention/ISSceneLayer.html +72 -72
  67. package/documention/ISSceneServer.html +81 -81
  68. package/documention/ISSceneSubLayer.html +81 -214
  69. package/documention/IconResource.html +6 -6
  70. package/documention/IconSymbol3DLayer.html +30 -30
  71. package/documention/ImageServer.html +14 -14
  72. package/documention/LOD.html +4 -4
  73. package/documention/LabelClass.html +13 -13
  74. package/documention/LabelSymbol3D.html +17 -17
  75. package/documention/Layer.html +45 -45
  76. package/documention/LineCallout3D.html +14 -14
  77. package/documention/LineString.html +34 -34
  78. package/documention/LineStyleMarker3D.html +13 -13
  79. package/documention/LineStylePattern3D.html +7 -7
  80. package/documention/LineSymbol.html +11 -11
  81. package/documention/LineSymbol3D.html +11 -11
  82. package/documention/LineSymbol3DLayer.html +30 -30
  83. package/documention/LineSymbolMarker.html +6 -6
  84. package/documention/M3DModelCacheLayer.html +75 -75
  85. package/documention/M3DServer.html +14 -14
  86. package/documention/Map.html +26 -26
  87. package/documention/MapGISTextSymbol.html +45 -45
  88. package/documention/MapImageLayer.html +354 -168
  89. package/documention/MapServer.html +33 -33
  90. package/documention/MapVLayer.html +36 -36
  91. package/documention/MapView.html +97 -97
  92. package/documention/MarkerSymbol.html +11 -11
  93. package/documention/ModelCacheLayer.html +67 -67
  94. package/documention/MoveEventInfo.html +2 -2
  95. package/documention/MultiLineString.html +39 -39
  96. package/documention/MultiPoint.html +33 -33
  97. package/documention/MultiPolygon.html +28 -28
  98. package/documention/OGCLayer.html +70 -70
  99. package/documention/ObjectSymbol3DLayer.html +25 -25
  100. package/documention/OpacityStop.html +4 -4
  101. package/documention/OpacityVariable.html +4 -4
  102. package/documention/OutStatistic.html +1 -1
  103. package/documention/OverlayLayer.html +72 -72
  104. package/documention/PathSymbol3DLayer.html +39 -39
  105. package/documention/PictureFillSymbol.html +15 -15
  106. package/documention/PictureMarkerSymbol.html +14 -14
  107. package/documention/PlotServer.html +15 -15
  108. package/documention/PoiServer.html +15 -15
  109. package/documention/Point.html +32 -32
  110. package/documention/PointSymbol3D.html +17 -17
  111. package/documention/PointSymbol3DOutline.html +8 -8
  112. package/documention/Polygon.html +40 -40
  113. package/documention/PolygonSymbol3D.html +11 -11
  114. package/documention/Projection.html +4 -4
  115. package/documention/RandomRenderer.html +10 -10
  116. package/documention/RankRenderer.html +13 -13
  117. package/documention/RendererInfo.html +4 -4
  118. package/documention/ResourceServer.html +17 -17
  119. package/documention/RootServer.html +14 -14
  120. package/documention/S3MTilesCacheLayer.html +136 -136
  121. package/documention/ScaleEventInfo.html +2 -2
  122. package/documention/Scene.html +12 -12
  123. package/documention/SceneLayer.html +72 -72
  124. package/documention/SceneServer.html +39 -39
  125. package/documention/SceneView.html +97 -97
  126. package/documention/SecurityServer.html +14 -14
  127. package/documention/SimpleFillSymbol.html +20 -20
  128. package/documention/SimpleLineSymbol.html +17 -17
  129. package/documention/SimpleMarkerSymbol.html +17 -17
  130. package/documention/SimpleRenderer.html +21 -21
  131. package/documention/SizeStop.html +4 -4
  132. package/documention/SizeVariable.html +4 -4
  133. package/documention/SketchBaseDrawTool.html +29 -29
  134. package/documention/SketchCircleDrawTool.html +56 -56
  135. package/documention/SketchEditor.html +57 -57
  136. package/documention/SketchEditor3D.html +7476 -0
  137. package/documention/SketchEditorCesium.html +96 -96
  138. package/documention/SketchEditorToolEventInfo.html +1 -1
  139. package/documention/SketchExtentDrawTool.html +56 -56
  140. package/documention/SketchFreehandPolygonDrawTool.html +54 -54
  141. package/documention/SketchFreehandPolylineDrawTool.html +55 -55
  142. package/documention/SketchPointDrawTool.html +59 -59
  143. package/documention/SketchPolygonDrawTool.html +105 -105
  144. package/documention/SketchPolylineDrawTool.html +108 -108
  145. package/documention/SketchStage.html +6 -6
  146. package/documention/SketchStyle.html +44 -44
  147. package/documention/SketchTopologyTool.html +2 -2
  148. package/documention/SpatialReference.html +8 -8
  149. package/documention/StylePattern3D.html +7 -7
  150. package/documention/SubLayer.html +13 -13
  151. package/documention/Symbol.html +5 -5
  152. package/documention/Symbol3D.html +3 -3
  153. package/documention/Symbol3DLayer.html +11 -11
  154. package/documention/Symbol3DVerticalOffset.html +13 -13
  155. package/documention/TerrainCacheLayer.html +72 -72
  156. package/documention/TerrainServer.html +14 -14
  157. package/documention/TextHalo.html +7 -7
  158. package/documention/TextSymbol.html +32 -32
  159. package/documention/TextSymbol3DLayer.html +33 -33
  160. package/documention/ThemeServer.html +14 -14
  161. package/documention/TileInfo.html +6 -6
  162. package/documention/TileLayer.html +78 -78
  163. package/documention/TileMatrixSet.html +12 -12
  164. package/documention/TileServer.html +14 -14
  165. package/documention/TimeExtent.html +65 -65
  166. package/documention/TimeInfo.html +68 -68
  167. package/documention/TimeInterval.html +67 -67
  168. package/documention/UniqueValueClusterInfo.html +7 -7
  169. package/documention/UniqueValueInfo.html +6 -6
  170. package/documention/UniqueValueRenderer.html +26 -26
  171. package/documention/UnknownLayer.html +72 -72
  172. package/documention/UrlUtil.html +575 -0
  173. package/documention/VectorTileGroupSubLayer.html +20 -20
  174. package/documention/VectorTileLayer.html +89 -89
  175. package/documention/VectorTileServer.html +14 -14
  176. package/documention/VectorTileSubLayer.html +28 -28
  177. package/documention/VertexChangeEventInfo.html +2 -2
  178. package/documention/VisualVariable.html +7 -7
  179. package/documention/VoxelFilter.html +65 -65
  180. package/documention/WCSServer.html +14 -14
  181. package/documention/WFSLayer.html +82 -82
  182. package/documention/WFSServer.html +14 -14
  183. package/documention/WMSLayer.html +96 -96
  184. package/documention/WMSServer.html +14 -14
  185. package/documention/WMSSubLayer.html +21 -21
  186. package/documention/WMTSLayer.html +95 -95
  187. package/documention/WMTSServer.html +14 -14
  188. package/documention/WMTSStyle.html +5 -5
  189. package/documention/WMTSSubLayer.html +73 -73
  190. package/documention/WPSServer.html +14 -14
  191. package/documention/WaterSymbol3DLayer.html +22 -22
  192. package/documention/WebTileLayer.html +91 -91
  193. package/documention/WorkFlowServer.html +16 -16
  194. package/documention/WorkFlowServer600227.html +18 -18
  195. package/documention/WorkFlowServer600228.html +21 -21
  196. package/documention/WorkFlowServer600229.html +18 -18
  197. package/documention/WorkFlowServer600230.html +18 -18
  198. package/documention/WorkFlowServer600231.html +18 -18
  199. package/documention/WorkFlowServer600232.html +18 -18
  200. package/documention/WorkFlowServer600233.html +24 -24
  201. package/documention/WorkFlowServer600235.html +18 -18
  202. package/documention/WorkFlowServer600237.html +21 -21
  203. package/documention/WorkFlowServer600238.html +18 -18
  204. package/documention/WorkFlowServer600239.html +18 -18
  205. package/documention/WorkFlowServer600307.html +24 -24
  206. package/documention/WorkFlowServer600308.html +1 -1
  207. package/documention/WorkFlowServer600309.html +18 -18
  208. package/documention/WorkFlowServer600314.html +18 -18
  209. package/documention/WorkFlowServer600334.html +18 -18
  210. package/documention/WorkFlowServer600336.html +18 -18
  211. package/documention/WorkFlowServer600340.html +18 -18
  212. package/documention/WorkFlowServer600354.html +18 -18
  213. package/documention/WorkFlowServer600368.html +18 -18
  214. package/documention/WorkFlowServer600369.html +18 -18
  215. package/documention/WorkFlowServer600370.html +18 -18
  216. package/documention/global.html +3 -3
  217. package/documention/index.html +61 -61
  218. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +2 -2
  219. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +2 -2
  220. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +1 -1
  221. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.html +27 -27
  222. package/package.json +1 -1
@@ -235,7 +235,7 @@ const featureServer = new FeatureServer({
235
235
 
236
236
 
237
237
  <ul>
238
- <li><a link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer" BaseServer.html>BaseServer</a></li>
238
+ <li><a link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html">BaseServer</a></li>
239
239
  </ul>
240
240
 
241
241
 
@@ -381,7 +381,7 @@ const featureServer = new FeatureServer({
381
381
 
382
382
  <span class="param-type">
383
383
 
384
- <a link="TokenAttachType.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TokenAttachType" global.html#TokenAttachType>TokenAttachType</a>
384
+ <a link="TokenAttachType.html" onclick="getTypeHTML(event)" href="global.html#TokenAttachType">TokenAttachType</a>
385
385
 
386
386
  </span>
387
387
 
@@ -496,7 +496,7 @@ const featureServer = new FeatureServer({
496
496
 
497
497
  <dt class="inherited-from">Inherited From:</dt>
498
498
  <dd class="inherited-from"><ul class="dummy"><li>
499
- <a goto="clientId" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#clientId" BaseServer.html#clientId>BaseServer#clientId</a>
499
+ <a goto="clientId" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#clientId">BaseServer#clientId</a>
500
500
  </li></ul></dd>
501
501
 
502
502
 
@@ -576,7 +576,7 @@ const featureServer = new FeatureServer({
576
576
 
577
577
  <dt class="inherited-from">Inherited From:</dt>
578
578
  <dd class="inherited-from"><ul class="dummy"><li>
579
- <a goto="enableGlobeFetch" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#enableGlobeFetch" BaseServer.html#enableGlobeFetch>BaseServer#enableGlobeFetch</a>
579
+ <a goto="enableGlobeFetch" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#enableGlobeFetch">BaseServer#enableGlobeFetch</a>
580
580
  </li></ul></dd>
581
581
 
582
582
 
@@ -677,7 +677,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
677
677
 
678
678
  <dt class="inherited-from">Inherited From:</dt>
679
679
  <dd class="inherited-from"><ul class="dummy"><li>
680
- <a goto="headers" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#headers" BaseServer.html#headers>BaseServer#headers</a>
680
+ <a goto="headers" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#headers">BaseServer#headers</a>
681
681
  </li></ul></dd>
682
682
 
683
683
 
@@ -779,7 +779,7 @@ BaseServer.headers.token = '新token';</code></pre>
779
779
 
780
780
  <dt class="inherited-from">Inherited From:</dt>
781
781
  <dd class="inherited-from"><ul class="dummy"><li>
782
- <a goto="requestInterceptor" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#requestInterceptor" BaseServer.html#requestInterceptor>BaseServer#requestInterceptor</a>
782
+ <a goto="requestInterceptor" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#requestInterceptor">BaseServer#requestInterceptor</a>
783
783
  </li></ul></dd>
784
784
 
785
785
 
@@ -887,7 +887,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
887
887
 
888
888
  <dt class="inherited-from">Inherited From:</dt>
889
889
  <dd class="inherited-from"><ul class="dummy"><li>
890
- <a goto="requestTimeout" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#requestTimeout" BaseServer.html#requestTimeout>BaseServer#requestTimeout</a>
890
+ <a goto="requestTimeout" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#requestTimeout">BaseServer#requestTimeout</a>
891
891
  </li></ul></dd>
892
892
 
893
893
 
@@ -985,7 +985,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
985
985
 
986
986
  <dt class="inherited-from">Inherited From:</dt>
987
987
  <dd class="inherited-from"><ul class="dummy"><li>
988
- <a goto="responseInterceptor" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#responseInterceptor" BaseServer.html#responseInterceptor>BaseServer#responseInterceptor</a>
988
+ <a goto="responseInterceptor" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#responseInterceptor">BaseServer#responseInterceptor</a>
989
989
  </li></ul></dd>
990
990
 
991
991
 
@@ -1058,7 +1058,7 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1058
1058
 
1059
1059
  <span class="param-type">
1060
1060
 
1061
- <a link="TokenAttachType.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="TokenAttachType" global.html#TokenAttachType>TokenAttachType</a>
1061
+ <a link="TokenAttachType.html" onclick="getTypeHTML(event)" href="global.html#TokenAttachType">TokenAttachType</a>
1062
1062
 
1063
1063
  </span>
1064
1064
 
@@ -1095,7 +1095,7 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1095
1095
 
1096
1096
  <dt class="inherited-from">Inherited From:</dt>
1097
1097
  <dd class="inherited-from"><ul class="dummy"><li>
1098
- <a goto="tokenAttachType" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#tokenAttachType" BaseServer.html#tokenAttachType>BaseServer#tokenAttachType</a>
1098
+ <a goto="tokenAttachType" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#tokenAttachType">BaseServer#tokenAttachType</a>
1099
1099
  </li></ul></dd>
1100
1100
 
1101
1101
 
@@ -1197,7 +1197,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1197
1197
 
1198
1198
  <dt class="inherited-from">Inherited From:</dt>
1199
1199
  <dd class="inherited-from"><ul class="dummy"><li>
1200
- <a goto="tokenKey" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#tokenKey" BaseServer.html#tokenKey>BaseServer#tokenKey</a>
1200
+ <a goto="tokenKey" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#tokenKey">BaseServer#tokenKey</a>
1201
1201
  </li></ul></dd>
1202
1202
 
1203
1203
 
@@ -1294,7 +1294,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1294
1294
 
1295
1295
  <dt class="inherited-from">Inherited From:</dt>
1296
1296
  <dd class="inherited-from"><ul class="dummy"><li>
1297
- <a goto="tokenValue" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#tokenValue" BaseServer.html#tokenValue>BaseServer#tokenValue</a>
1297
+ <a goto="tokenValue" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#tokenValue">BaseServer#tokenValue</a>
1298
1298
  </li></ul></dd>
1299
1299
 
1300
1300
 
@@ -1391,7 +1391,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1391
1391
 
1392
1392
  <dt class="inherited-from">Inherited From:</dt>
1393
1393
  <dd class="inherited-from"><ul class="dummy"><li>
1394
- <a goto="url" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#url" BaseServer.html#url>BaseServer#url</a>
1394
+ <a goto="url" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#url">BaseServer#url</a>
1395
1395
  </li></ul></dd>
1396
1396
 
1397
1397
 
@@ -2142,7 +2142,7 @@ const lineString = new Feature({
2142
2142
  //可填空或者和数据库中的表结构一一对应
2143
2143
  attributes: {},
2144
2144
  //可填空或者和系统库中的样式一一对应
2145
- symbol: {},
2145
+ styleInfo: {},
2146
2146
  //设置几何
2147
2147
  geometry: new zondy.geometry.LineString({
2148
2148
  coordinates: [
@@ -2206,21 +2206,7 @@ resourceServer.queryGDBPInfo({
2206
2206
  "mpLayer": "0"
2207
2207
  },
2208
2208
  //设置样式
2209
- symbol: {
2210
- SymID": 43,
2211
- SymHeight": 3.200000047683716,
2212
- SymWidth": 3.200000047683716,
2213
- Angle": 0,
2214
- Color": 1467,
2215
- Color1": 4,
2216
- Color2": 3,
2217
- Space": 1,
2218
- OutPenW": [
2219
- 0.1,
2220
- 0.05,
2221
- 0.05
2222
- ]
2223
- }
2209
+ styleInfo: {}
2224
2210
  })
2225
2211
  // 创建新增要素的结构体
2226
2212
  const featureSet = {
@@ -2285,21 +2271,7 @@ resourceServer.queryGDBPInfo({
2285
2271
  "mpLayer": "0"
2286
2272
  },
2287
2273
  // 设置样式
2288
- symbol: {
2289
- "SymID": 43,
2290
- "SymHeight": 3.200000047683716,
2291
- "SymWidth": 3.200000047683716,
2292
- "Angle": 0,
2293
- "Color": 1467,
2294
- "Color1": 4,
2295
- "Color2": 3,
2296
- "Space": 1,
2297
- "OutPenW": [
2298
- 0.1,
2299
- 0.05,
2300
- 0.05
2301
- ]
2302
- }
2274
+ styleInfo: {}
2303
2275
  })
2304
2276
 
2305
2277
  // 创建新增要素的结构体
@@ -2606,7 +2578,7 @@ resourceServer.queryGDBPInfo({
2606
2578
 
2607
2579
  <span class="param-type">
2608
2580
 
2609
- <a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
2581
+ <a link="Geometry.html" onclick="getTypeHTML(event)" href="Geometry.html">Geometry</a>
2610
2582
 
2611
2583
  </span>
2612
2584
 
@@ -3558,7 +3530,7 @@ featureServer.deleteFeature({
3558
3530
 
3559
3531
  <span class="param-type">
3560
3532
 
3561
- <a link="queryLayerInfoSuccess.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="queryLayerInfoSuccess" global.html#queryLayerInfoSuccess>queryLayerInfoSuccess</a>
3533
+ <a link="queryLayerInfoSuccess.html" onclick="getTypeHTML(event)" href="global.html#queryLayerInfoSuccess">queryLayerInfoSuccess</a>
3562
3534
 
3563
3535
  </span>
3564
3536
 
@@ -3589,7 +3561,7 @@ featureServer.deleteFeature({
3589
3561
 
3590
3562
  <span class="param-type">
3591
3563
 
3592
- <a link="queryFailure.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="queryFailure" global.html#queryFailure>queryFailure</a>
3564
+ <a link="queryFailure.html" onclick="getTypeHTML(event)" href="global.html#queryFailure">queryFailure</a>
3593
3565
 
3594
3566
  </span>
3595
3567
 
@@ -3620,7 +3592,7 @@ featureServer.deleteFeature({
3620
3592
 
3621
3593
  <span class="param-type">
3622
3594
 
3623
- <a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
3595
+ <a link="Geometry.html" onclick="getTypeHTML(event)" href="Geometry.html">Geometry</a>
3624
3596
 
3625
3597
  </span>
3626
3598
 
@@ -3901,7 +3873,7 @@ featureServer.deleteFeature({
3901
3873
 
3902
3874
  <span class="param-type">
3903
3875
 
3904
- <a link="SpatialRelation.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialRelation" global.html#SpatialRelation>SpatialRelation</a>
3876
+ <a link="SpatialRelation.html" onclick="getTypeHTML(event)" href="global.html#SpatialRelation">SpatialRelation</a>
3905
3877
 
3906
3878
  </span>
3907
3879
 
@@ -4616,7 +4588,7 @@ featureServer.deleteFeature({
4616
4588
 
4617
4589
  <span class="param-type">
4618
4590
 
4619
- <a link="queryLayerInfoSuccess.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="queryLayerInfoSuccess" global.html#queryLayerInfoSuccess>queryLayerInfoSuccess</a>
4591
+ <a link="queryLayerInfoSuccess.html" onclick="getTypeHTML(event)" href="global.html#queryLayerInfoSuccess">queryLayerInfoSuccess</a>
4620
4592
 
4621
4593
  </span>
4622
4594
 
@@ -4647,7 +4619,7 @@ featureServer.deleteFeature({
4647
4619
 
4648
4620
  <span class="param-type">
4649
4621
 
4650
- <a link="queryFailure.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="queryFailure" global.html#queryFailure>queryFailure</a>
4622
+ <a link="queryFailure.html" onclick="getTypeHTML(event)" href="global.html#queryFailure">queryFailure</a>
4651
4623
 
4652
4624
  </span>
4653
4625
 
@@ -4709,7 +4681,7 @@ featureServer.deleteFeature({
4709
4681
 
4710
4682
  <span class="param-type">
4711
4683
 
4712
- <a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
4684
+ <a link="Geometry.html" onclick="getTypeHTML(event)" href="Geometry.html">Geometry</a>
4713
4685
 
4714
4686
  </span>
4715
4687
 
@@ -4804,7 +4776,7 @@ featureServer.deleteFeature({
4804
4776
 
4805
4777
  <span class="param-type">
4806
4778
 
4807
- <a link="SpatialRelation.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialRelation" global.html#SpatialRelation>SpatialRelation</a>
4779
+ <a link="SpatialRelation.html" onclick="getTypeHTML(event)" href="global.html#SpatialRelation">SpatialRelation</a>
4808
4780
 
4809
4781
  </span>
4810
4782
 
@@ -5185,7 +5157,7 @@ featureServer.deleteFeature({
5185
5157
 
5186
5158
  <span class="param-type">
5187
5159
 
5188
- <a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
5160
+ <a link="Geometry.html" onclick="getTypeHTML(event)" href="Geometry.html">Geometry</a>
5189
5161
 
5190
5162
  </span>
5191
5163
 
@@ -5557,7 +5529,7 @@ CompareRectOnly表示是否仅比较要素的外包矩形,来判定是否与
5557
5529
 
5558
5530
  <span class="param-type">
5559
5531
 
5560
- <a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
5532
+ <a link="Geometry.html" onclick="getTypeHTML(event)" href="Geometry.html">Geometry</a>
5561
5533
 
5562
5534
  </span>
5563
5535
 
@@ -6426,7 +6398,7 @@ import { Polygon } from "@mapgis/webclient-common"
6426
6398
 
6427
6399
  <dt class="inherited-from">Inherited From:</dt>
6428
6400
  <dd class="inherited-from"><ul class="dummy"><li>
6429
- <a goto="queryServerInfo" link="BaseServer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseServer#queryServerInfo" BaseServer.html#queryServerInfo>BaseServer#queryServerInfo</a>
6401
+ <a goto="queryServerInfo" link="BaseServer.html" onclick="getTypeHTML(event)" href="BaseServer.html#queryServerInfo">BaseServer#queryServerInfo</a>
6430
6402
  </li></ul></dd>
6431
6403
 
6432
6404
 
@@ -6941,8 +6913,6 @@ import { Feature } from "@mapgis/webclient-common"
6941
6913
  const lineString = new Feature({
6942
6914
  // 更新要素时需要传一个FID来指定要素,其他的属性值可以根据需求来盖面
6943
6915
  attributes: { FID:'0' },
6944
- // 更新样式
6945
- symbol: {},
6946
6916
  // 更新几何,注意几何一定要是GDBP表对应的几何类型
6947
6917
  geometry: new LineString({
6948
6918
  coordinates: [
@@ -7001,22 +6971,6 @@ resourceServer.queryGDBPInfo({
7001
6971
  "CODE": "1",
7002
6972
  "NAME": "新的神龙架林区",
7003
6973
  "mpLayer": "0"
7004
- },
7005
- //更新样式
7006
- symbol: {
7007
- SymID": 43,
7008
- SymHeight": 3.200000047683716,
7009
- SymWidth": 3.200000047683716,
7010
- Angle": 0,
7011
- Color": 1467,
7012
- Color1": 4,
7013
- Color2": 3,
7014
- Space": 1,
7015
- OutPenW": [
7016
- 0.1,
7017
- 0.05,
7018
- 0.05
7019
- ]
7020
6974
  }
7021
6975
  })
7022
6976
  // 创建更新要素的结构体
@@ -7081,22 +7035,6 @@ resourceServer.queryGDBPInfo({
7081
7035
  "CODE": "0",
7082
7036
  "Name": "多点",
7083
7037
  "mpLayer": "0"
7084
- },
7085
- // 更新样式
7086
- symbol: {
7087
- "SymID": 43,
7088
- "SymHeight": 3.200000047683716,
7089
- "SymWidth": 3.200000047683716,
7090
- "Angle": 0,
7091
- "Color": 1467,
7092
- "Color1": 4,
7093
- "Color2": 3,
7094
- "Space": 1,
7095
- "OutPenW": [
7096
- 0.1,
7097
- 0.05,
7098
- 0.05
7099
- ]
7100
7038
  }
7101
7039
  })
7102
7040
 
@@ -7129,6 +7067,87 @@ resourceServer.queryGDBPInfo({
7129
7067
  })</code></pre>
7130
7068
 
7131
7069
 
7070
+ <p class="code-caption"><h5>更新要素样式</h5></p>
7071
+
7072
+
7073
+ <pre class="prettyprint"><code>// ES5引入方式
7074
+ const { ResourceServer, FeatureServer } = zondy.service
7075
+ const { Polygon } = zondy.geometry
7076
+ const { Feature } = zondy
7077
+ // ES6引入方式
7078
+ import { ResourceServer, FeatureServer, Polygon, Feature } from "@mapgis/webclient-common"
7079
+
7080
+ // 初始化资源服务对象
7081
+ const resourceServer = new ResourceServer({
7082
+ url: 'http://{ip}:{port}/igs/rest/services/system/ResourceServer'
7083
+ })
7084
+
7085
+ // 初始化要素服务对象
7086
+ const featureServer = new FeatureServer({
7087
+ url: 'http://{ip}:{port}/igs/rest/services/{要素服务名}/FeatureServer'
7088
+ })
7089
+
7090
+ // 查询要素图层信息
7091
+ featureServer.queryLayerInfo({
7092
+ // 要素图层ID
7093
+ layerId: '0'
7094
+ }).then(function (layerInfo) {
7095
+ // 通过gdbp地址查询系统库
7096
+ resourceServer.queryTempDataInfo({
7097
+ // gdbp地址
7098
+ url: layerInfo.data.url
7099
+ }).then(function (tempDataInfo) {
7100
+ // 获取系统库名称
7101
+ const systemLibGuid = tempDataInfo.data.systemLibGuid
7102
+ // 查询要素
7103
+ featureServer.queryFeaturesInLayers({
7104
+ // 图层id
7105
+ layerId: '0',
7106
+ // 返回要素样式
7107
+ returnStyle: true
7108
+ }).then(function (featureInfo) {
7109
+ // 获取要素
7110
+ const featureData = featureInfo.data.layers[0].features[0]
7111
+ // 当通过颜色查找色号时,MapGIS桌面会通过颜色值的模糊匹配去查找色号,两个不同的颜色,查找出的色号可能会一样,因此无法通过颜色查找色号
7112
+ // 因此推荐用户通过querySystemColorList查询到指定系统库的颜色列表,然后再前端根据自己的项目实际情况,写一个调色板来选择色号,注意该接口需要设置翻页参数
7113
+ // 此步骤是可选项,也可以像下方代码,直接更改色号
7114
+ resourceServer.querySystemColorList({
7115
+ // 系统库ID
7116
+ sysLib: systemLibGuid,
7117
+ // 查询第几页
7118
+ page: 1,
7119
+ // 每页数量
7120
+ pageSize: 20,
7121
+ }).then(function (colorList) {
7122
+ console.log("色号列表:", colorList)
7123
+ })
7124
+ // 直接更改色号
7125
+ featureData.styleInfo.fillColor = 112
7126
+ // 构造要更新的要素对象
7127
+ const feature = new Feature({
7128
+ // 更新属性,可以更新部分属性,但是FID是必选项,{FID:'xxx'}
7129
+ attributes: featureData.attributes,
7130
+ // 更新几何,必须更新几何
7131
+ geometry: new Polygon({
7132
+ coordinates: featureData.geometry.coordinates
7133
+ }),
7134
+ // 更新样式,可选项
7135
+ styleInfo: featureData.styleInfo
7136
+ })
7137
+ // 更新要素对象
7138
+ featureServer.updateFeature({
7139
+ // 请求方式
7140
+ method: 'POST',
7141
+ // 要更新的图层ID
7142
+ layerId: '0',
7143
+ // 要更新要素对象
7144
+ features: [feature]
7145
+ })
7146
+ })
7147
+ })
7148
+ })</code></pre>
7149
+
7150
+
7132
7151
 
7133
7152
  </div>
7134
7153
 
@@ -181,7 +181,7 @@ import { FeatureSet } from &quot;@mapgis/webclient-common&quot; <br/>
181
181
 
182
182
  <span class="param-type">
183
183
 
184
- <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
184
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" href="SpatialReference.html">SpatialReference</a>
185
185
 
186
186
  </span>
187
187
 
@@ -381,7 +381,7 @@ default 随机id</p></code></td>
381
381
 
382
382
  <span class="param-type">
383
383
 
384
- <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
384
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" href="SpatialReference.html">SpatialReference</a>
385
385
 
386
386
  </span>
387
387
 
@@ -577,7 +577,7 @@ default 随机id</p>
577
577
 
578
578
  <span class="param-type">
579
579
 
580
- <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
580
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" href="SpatialReference.html">SpatialReference</a>
581
581
 
582
582
  </span>
583
583
 
@@ -786,7 +786,7 @@ default FeatureCollection</p>
786
786
 
787
787
  <span class="param-type">
788
788
 
789
- <a link="FeatureSet.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FeatureSet" FeatureSet.html>FeatureSet</a>
789
+ <a link="FeatureSet.html" onclick="getTypeHTML(event)" href="FeatureSet.html">FeatureSet</a>
790
790
 
791
791
  </span>
792
792
 
@@ -927,7 +927,7 @@ default FeatureCollection</p>
927
927
 
928
928
  <span class="param-type">
929
929
 
930
- <a link="FeatureSet.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FeatureSet" FeatureSet.html>FeatureSet</a>
930
+ <a link="FeatureSet.html" onclick="getTypeHTML(event)" href="FeatureSet.html">FeatureSet</a>
931
931
 
932
932
  </span>
933
933
 
@@ -956,7 +956,7 @@ default FeatureCollection</p>
956
956
 
957
957
  <span class="param-type">
958
958
 
959
- <a link="FeatureSet.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FeatureSet" FeatureSet.html>FeatureSet</a>
959
+ <a link="FeatureSet.html" onclick="getTypeHTML(event)" href="FeatureSet.html">FeatureSet</a>
960
960
 
961
961
  </span>
962
962
 
@@ -1512,7 +1512,7 @@ const featureSet = new FeatureSet.fromJSON(json)</code></pre>
1512
1512
 
1513
1513
  <span class="param-type">
1514
1514
 
1515
- <a link="FeatureSet.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FeatureSet" FeatureSet.html>FeatureSet</a>
1515
+ <a link="FeatureSet.html" onclick="getTypeHTML(event)" href="FeatureSet.html">FeatureSet</a>
1516
1516
 
1517
1517
  </span>
1518
1518
 
@@ -112,7 +112,7 @@
112
112
 
113
113
  <span class="param-type">
114
114
 
115
- <a link="SimpleLineSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SimpleLineSymbol" SimpleLineSymbol.html>SimpleLineSymbol</a>
115
+ <a link="SimpleLineSymbol.html" onclick="getTypeHTML(event)" href="SimpleLineSymbol.html">SimpleLineSymbol</a>
116
116
 
117
117
  </span>
118
118
 
@@ -218,7 +218,7 @@
218
218
 
219
219
 
220
220
  <ul>
221
- <li><a link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol" Symbol.html>Symbol</a></li>
221
+ <li><a link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html">Symbol</a></li>
222
222
  </ul>
223
223
 
224
224
 
@@ -256,7 +256,7 @@
256
256
 
257
257
  <span class="param-type">
258
258
 
259
- <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
259
+ <a link="Color.html" onclick="getTypeHTML(event)" href="Color.html">Color</a>
260
260
 
261
261
  </span>
262
262
 
@@ -310,7 +310,7 @@
310
310
 
311
311
  <span class="param-type">
312
312
 
313
- <a link="SimpleLineSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SimpleLineSymbol" SimpleLineSymbol.html>SimpleLineSymbol</a>
313
+ <a link="SimpleLineSymbol.html" onclick="getTypeHTML(event)" href="SimpleLineSymbol.html">SimpleLineSymbol</a>
314
314
 
315
315
  </span>
316
316
 
@@ -352,7 +352,7 @@
352
352
 
353
353
  <span class="param-type">
354
354
 
355
- <a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
355
+ <a link="Color.html" onclick="getTypeHTML(event)" href="Color.html">Color</a>
356
356
 
357
357
  </span>
358
358
 
@@ -389,7 +389,7 @@
389
389
 
390
390
  <dt class="inherited-from">Inherited From:</dt>
391
391
  <dd class="inherited-from"><ul class="dummy"><li>
392
- <a goto="color" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#color" Symbol.html#color>Symbol#color</a>
392
+ <a goto="color" link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html#color">Symbol#color</a>
393
393
  </li></ul></dd>
394
394
 
395
395
 
@@ -469,7 +469,7 @@
469
469
 
470
470
  <dt class="inherited-from">Inherited From:</dt>
471
471
  <dd class="inherited-from"><ul class="dummy"><li>
472
- <a goto="extensionOptions" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#extensionOptions" Symbol.html#extensionOptions>Symbol#extensionOptions</a>
472
+ <a goto="extensionOptions" link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html#extensionOptions">Symbol#extensionOptions</a>
473
473
  </li></ul></dd>
474
474
 
475
475
 
@@ -558,7 +558,7 @@
558
558
 
559
559
  <dt class="inherited-from">Inherited From:</dt>
560
560
  <dd class="inherited-from"><ul class="dummy"><li>
561
- <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
561
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html#id">Symbol#id</a>
562
562
  </li></ul></dd>
563
563
 
564
564
 
@@ -601,7 +601,7 @@
601
601
 
602
602
  <span class="param-type">
603
603
 
604
- <a link="SimpleLineSymbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SimpleLineSymbol" SimpleLineSymbol.html>SimpleLineSymbol</a>
604
+ <a link="SimpleLineSymbol.html" onclick="getTypeHTML(event)" href="SimpleLineSymbol.html">SimpleLineSymbol</a>
605
605
 
606
606
  </span>
607
607
 
@@ -715,7 +715,7 @@
715
715
 
716
716
  <dt class="tag-overrides">Overrides:</dt>
717
717
  <dd class="tag-overrides"><ul class="dummy"><li>
718
- <a class="mapgis-link-name" title="Symbol#type" Symbol.html#type>Symbol#type</a>
718
+ <a href="Symbol.html#type">Symbol#type</a>
719
719
  </li></ul></dd>
720
720
 
721
721
 
@@ -777,7 +777,7 @@
777
777
 
778
778
  <span class="param-type">
779
779
 
780
- <a link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol" Symbol.html>Symbol</a>
780
+ <a link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html">Symbol</a>
781
781
 
782
782
  </span>
783
783
 
@@ -856,7 +856,7 @@
856
856
 
857
857
  <dt class="inherited-from">Inherited From:</dt>
858
858
  <dd class="inherited-from"><ul class="dummy"><li>
859
- <a goto="clone" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#clone" Symbol.html#clone>Symbol#clone</a>
859
+ <a goto="clone" link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html#clone">Symbol#clone</a>
860
860
  </li></ul></dd>
861
861
 
862
862
 
@@ -919,7 +919,7 @@
919
919
 
920
920
  <span class="param-type">
921
921
 
922
- <a link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol" Symbol.html>Symbol</a>
922
+ <a link="Symbol.html" onclick="getTypeHTML(event)" href="Symbol.html">Symbol</a>
923
923
 
924
924
  </span>
925
925
 
@@ -984,7 +984,7 @@
984
984
 
985
985
  <dt class="tag-overrides">Overrides:</dt>
986
986
  <dd class="tag-overrides"><ul class="dummy"><li>
987
- <a class="mapgis-link-name" title="Symbol#toJSON" Symbol.html#toJSON>Symbol#toJSON</a>
987
+ <a href="Symbol.html#toJSON">Symbol#toJSON</a>
988
988
  </li></ul></dd>
989
989
 
990
990