@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
@@ -160,60 +160,6 @@ M3D服务基地址格式(IGS2.0):http://{ip}:{port}/igs/rest/services/{服务
160
160
 
161
161
 
162
162
 
163
-
164
- <tr class="deep-level-1">
165
-
166
- <td class="name"><code>extendOptions</code></td>
167
-
168
-
169
- <td class="type">
170
-
171
-
172
- <span class="param-type">
173
-
174
- Object
175
-
176
- </span>
177
-
178
-
179
-
180
-
181
- </td>
182
-
183
-
184
-
185
- <td class="description last"><p>初始化场景图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></td>
186
- </tr>
187
-
188
-
189
-
190
-
191
- <tr class="deep-level-1">
192
-
193
- <td class="name"><code>extendProps</code></td>
194
-
195
-
196
- <td class="type">
197
-
198
-
199
- <span class="param-type">
200
-
201
- Object
202
-
203
- </span>
204
-
205
-
206
-
207
-
208
- </td>
209
-
210
-
211
-
212
- <td class="description last"><p>存储额外参数的属性</p></td>
213
- </tr>
214
-
215
-
216
-
217
163
 
218
164
 
219
165
 
@@ -296,7 +242,7 @@ M3D服务基地址格式(IGS2.0):http://{ip}:{port}/igs/rest/services/{服务
296
242
 
297
243
 
298
244
  <pre class="prettyprint"><code>// ES5引入方式
299
- const { M3DModelCacheLayer } = Zondy.Layer
245
+ const { M3DModelCacheLayer } = zondy.layer
300
246
  // ES6引入方式
301
247
  import { M3DModelCacheLayer } from "@mapgis/webclient-common"
302
248
  const layer = new M3DModelCacheLayer({
@@ -314,10 +260,10 @@ const layer = new M3DModelCacheLayer({
314
260
 
315
261
 
316
262
  <pre class="prettyprint"><code>// ES5引入方式
317
- const { M3DModelCacheLayer } = Zondy.Layer
318
- const { UniqueValueRenderer } = Zondy.Renderer
319
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
320
- const { Color } = Zondy
263
+ const { M3DModelCacheLayer } = zondy.layer
264
+ const { UniqueValueRenderer } = zondy.renderer
265
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
266
+ const { Color } = zondy
321
267
  // ES6引入方式
322
268
  import { M3DModelCacheLayer,UniqueValueRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
323
269
  // 构造单值渲染器
@@ -366,10 +312,10 @@ const layer = new M3DModelCacheLayer({
366
312
 
367
313
 
368
314
  <pre class="prettyprint"><code>// ES5引入方式
369
- const { M3DModelCacheLayer } = Zondy.Layer
370
- const { ClassBreakRenderer } = Zondy.Renderer
371
- const { SimpleFillSymbol } = Zondy.Symbol
372
- const { Color } = Zondy
315
+ const { M3DModelCacheLayer } = zondy.layer
316
+ const { ClassBreakRenderer } = zondy.renderer
317
+ const { SimpleFillSymbol } = zondy.symbol
318
+ const { Color } = zondy
373
319
  // ES6引入方式
374
320
  import { M3DModelCacheLayer,ClassBreakRenderer,SimpleFillSymbol,Color } from "@mapgis/webclient-common"
375
321
  // 构造分段渲染器
@@ -422,7 +368,7 @@ const layer = new M3DModelCacheLayer({
422
368
 
423
369
 
424
370
  <pre class="prettyprint"><code>// ES5引入方式
425
- const { M3DModelCacheLayer } = Zondy.Layer
371
+ const { M3DModelCacheLayer } = zondy.layer
426
372
  // ES6引入方式
427
373
  import { M3DModelCacheLayer } from "@mapgis/webclient-common"
428
374
  // 构造Cesium原生渲染器
@@ -472,7 +418,7 @@ const layer = new M3DModelCacheLayer({
472
418
 
473
419
 
474
420
  <pre class="prettyprint"><code>// ES5引入方式
475
- const { M3DModelCacheLayer } = Zondy.Layer
421
+ const { M3DModelCacheLayer } = zondy.layer
476
422
  // ES6引入方式
477
423
  import { M3DModelCacheLayer } from "@mapgis/webclient-common"
478
424
  // 构造Cesium原生渲染器
@@ -632,7 +578,7 @@ const layer = new M3DModelCacheLayer({
632
578
 
633
579
  </code>
634
580
  </td>
635
- <td class="name"><code><p>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></code></td>
581
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
636
582
  </tr>
637
583
 
638
584
  <tr class="deep-level-0">
@@ -650,7 +596,7 @@ const layer = new M3DModelCacheLayer({
650
596
 
651
597
  </code>
652
598
  </td>
653
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
599
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
654
600
  </tr>
655
601
 
656
602
  <tr class="deep-level-0">
@@ -714,7 +660,7 @@ const layer = new M3DModelCacheLayer({
714
660
 
715
661
  <span class="param-type">
716
662
 
717
- String
663
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
718
664
 
719
665
  </span>
720
666
 
@@ -848,7 +794,7 @@ const layer = new M3DModelCacheLayer({
848
794
 
849
795
  </code>
850
796
  </td>
851
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
797
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
852
798
  </tr>
853
799
 
854
800
  <tr class="deep-level-0">
@@ -941,6 +887,24 @@ const layer = new M3DModelCacheLayer({
941
887
  <td class="name"><code><p>图层名称</p></code></td>
942
888
  </tr>
943
889
 
890
+ <tr class="deep-level-0">
891
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
892
+ <td class="name">
893
+ <code>
894
+
895
+ <span class="param-type">
896
+
897
+ String
898
+
899
+ </span>
900
+
901
+
902
+
903
+ </code>
904
+ </td>
905
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
906
+ </tr>
907
+
944
908
  <tr class="deep-level-0">
945
909
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
946
910
  <td class="name">
@@ -1322,7 +1286,7 @@ const layer = new M3DModelCacheLayer({
1322
1286
 
1323
1287
 
1324
1288
  <div class="description">
1325
- <p>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</p>
1289
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
1326
1290
  </div>
1327
1291
 
1328
1292
 
@@ -1336,11 +1300,9 @@ const layer = new M3DModelCacheLayer({
1336
1300
 
1337
1301
 
1338
1302
 
1339
-
1340
-
1341
- <dt class="tag-overrides">Overrides:</dt>
1342
- <dd class="tag-overrides"><ul class="dummy"><li>
1343
- <a class="mapgis-link-name" title="Layer#extendOptions" Layer.html#extendOptions>Layer#extendOptions</a>
1303
+ <dt class="inherited-from">Inherited From:</dt>
1304
+ <dd class="inherited-from"><ul class="dummy"><li>
1305
+ <a goto="extendOptions" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#extendOptions" Layer.html#extendOptions>Layer#extendOptions</a>
1344
1306
  </li></ul></dd>
1345
1307
 
1346
1308
 
@@ -1359,6 +1321,13 @@ const layer = new M3DModelCacheLayer({
1359
1321
 
1360
1322
 
1361
1323
 
1324
+
1325
+
1326
+ <dt class="tag-default">Default Value:</dt>
1327
+ <dd class="tag-default"><ul class="dummy">
1328
+ <li>{}</li>
1329
+ </ul></dd>
1330
+
1362
1331
 
1363
1332
 
1364
1333
 
@@ -1402,7 +1371,7 @@ const layer = new M3DModelCacheLayer({
1402
1371
 
1403
1372
 
1404
1373
  <div class="description">
1405
- <p>存储额外参数的属性</p>
1374
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
1406
1375
  </div>
1407
1376
 
1408
1377
 
@@ -1439,6 +1408,11 @@ const layer = new M3DModelCacheLayer({
1439
1408
 
1440
1409
 
1441
1410
 
1411
+ <dt class="tag-default">Default Value:</dt>
1412
+ <dd class="tag-default"><ul class="dummy">
1413
+ <li>{}</li>
1414
+ </ul></dd>
1415
+
1442
1416
 
1443
1417
 
1444
1418
 
@@ -1700,7 +1674,7 @@ const layer = new M3DModelCacheLayer({
1700
1674
 
1701
1675
  <span class="param-type">
1702
1676
 
1703
- String
1677
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1704
1678
 
1705
1679
  </span>
1706
1680
 
@@ -2313,7 +2287,7 @@ const layer = new M3DModelCacheLayer({
2313
2287
 
2314
2288
 
2315
2289
  <div class="description">
2316
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
2290
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
2317
2291
  </div>
2318
2292
 
2319
2293
 
@@ -2736,6 +2710,86 @@ const layer = new M3DModelCacheLayer({
2736
2710
 
2737
2711
 
2738
2712
 
2713
+
2714
+
2715
+
2716
+
2717
+
2718
+
2719
+ </dl>
2720
+
2721
+
2722
+
2723
+
2724
+
2725
+ </div>
2726
+
2727
+ <div class="member">
2728
+
2729
+ <span class="method-parameter is-pulled-right">
2730
+ <label>类型:</label>
2731
+
2732
+ <span class="param-type">
2733
+
2734
+ String
2735
+
2736
+ </span>
2737
+
2738
+
2739
+
2740
+ </span>
2741
+
2742
+ <h4 class="name" id="tokenAttachType">
2743
+ <a class="href-link" href="#tokenAttachType">#</a>
2744
+
2745
+ <span class="code-name">
2746
+ tokenAttachType
2747
+ </span>
2748
+
2749
+ </h4>
2750
+
2751
+
2752
+
2753
+
2754
+ <div class="description">
2755
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
2756
+ </div>
2757
+
2758
+
2759
+
2760
+
2761
+
2762
+ <dl class="details">
2763
+
2764
+
2765
+
2766
+
2767
+
2768
+
2769
+ <dt class="inherited-from">Inherited From:</dt>
2770
+ <dd class="inherited-from"><ul class="dummy"><li>
2771
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
2772
+ </li></ul></dd>
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+
2782
+
2783
+
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+
2739
2793
 
2740
2794
 
2741
2795
 
@@ -4216,7 +4270,7 @@ const layer = new M3DModelCacheLayer({
4216
4270
 
4217
4271
 
4218
4272
  <pre class="prettyprint"><code>// ES5引入方式
4219
- const { M3DModelCacheLayer } = Zondy.Layer
4273
+ const { M3DModelCacheLayer } = zondy.layer
4220
4274
  // ES6引入方式
4221
4275
  import { M3DModelCacheLayer } from "@mapgis/webclient-common"
4222
4276
  // 初始化图层
@@ -208,12 +208,12 @@
208
208
 
209
209
  <pre class="prettyprint"><code>//初始化M3DServer服务对象
210
210
  // ES5引入方式
211
- const { M3DServer } = Zondy.Service
211
+ const { M3DServer } = zondy.service
212
212
  // ES6引入方式
213
213
  import { M3DServer } from "@mapgis/webclient-common"
214
214
  const m3dServer = new M3DServer({
215
215
  //服务基地址
216
- url: 'http://webclient.smaryun.com:8089/igs/rest/services/M3Dv2/武汉建筑轮廓白模/M3dServer'
216
+ url: 'http://192.168.82.89:8089/igs/rest/services/M3Dv2/武汉建筑轮廓白模/M3dServer'
217
217
  })</code></pre>
218
218
 
219
219
 
@@ -613,7 +613,7 @@ import { M3DServer } from "@mapgis/webclient-common"
613
613
 
614
614
  <pre class="prettyprint"><code>//设置请求基地址
615
615
  // ES5引入方式
616
- const { BaseServer } = Zondy.Service
616
+ const { BaseServer } = zondy.service
617
617
  // ES6引入方式
618
618
  import { BaseServer } from "@mapgis/webclient-common"
619
619
  let BaseServer = new BaseServer({
@@ -714,7 +714,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
714
714
 
715
715
  <pre class="prettyprint"><code>//设置请求头参数
716
716
  // ES5引入方式
717
- const { BaseServer } = Zondy.Service
717
+ const { BaseServer } = zondy.service
718
718
  // ES6引入方式
719
719
  import { BaseServer } from "@mapgis/webclient-common"
720
720
  let BaseServer = new BaseServer({
@@ -816,7 +816,7 @@ BaseServer.headers.token = '新token';</code></pre>
816
816
 
817
817
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
818
818
  // ES5引入方式
819
- const { BaseServer,RequestInterceptor } = Zondy.Service
819
+ const { BaseServer,RequestInterceptor } = zondy.service
820
820
  // ES6引入方式
821
821
  import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
822
822
  let BaseServer = new BaseServer({
@@ -925,7 +925,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
925
925
  <pre class="prettyprint"><code>//设置超时时间
926
926
  //初始化AddressServer服务对象
927
927
  // ES5引入方式
928
- const { BaseServer } = Zondy.Service
928
+ const { BaseServer } = zondy.service
929
929
  // ES6引入方式
930
930
  import { BaseServer } from "@mapgis/webclient-common"
931
931
  let BaseServer = new BaseServer({
@@ -1022,7 +1022,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
1022
1022
 
1023
1023
  <pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
1024
1024
  // ES5引入方式
1025
- const { BaseServer,ResponseInterceptor } = Zondy.Service
1025
+ const { BaseServer,ResponseInterceptor } = zondy.service
1026
1026
  // ES6引入方式
1027
1027
  import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
1028
1028
  let BaseServer = new BaseServer({
@@ -1132,8 +1132,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
1132
1132
 
1133
1133
  <pre class="prettyprint"><code>//设置token值
1134
1134
  // ES5引入方式
1135
- const { BaseServer } = Zondy.Service
1136
- const { TokenAttachType } = Zondy.Enum
1135
+ const { BaseServer } = zondy.service
1136
+ const { TokenAttachType } = zondy.enum
1137
1137
  // ES6引入方式
1138
1138
  import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
1139
1139
  let BaseServer = new BaseServer({
@@ -1234,7 +1234,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
1234
1234
 
1235
1235
  <pre class="prettyprint"><code>//设置token名
1236
1236
  // ES5引入方式
1237
- const { BaseServer } = Zondy.Service
1237
+ const { BaseServer } = zondy.service
1238
1238
  // ES6引入方式
1239
1239
  import { BaseServer } from "@mapgis/webclient-common"
1240
1240
  let BaseServer = new BaseServer({
@@ -1331,7 +1331,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
1331
1331
 
1332
1332
  <pre class="prettyprint"><code>//设置token值
1333
1333
  // ES5引入方式
1334
- const { BaseServer } = Zondy.Service
1334
+ const { BaseServer } = zondy.service
1335
1335
  // ES6引入方式
1336
1336
  import { BaseServer } from "@mapgis/webclient-common"
1337
1337
  let BaseServer = new BaseServer({
@@ -1428,7 +1428,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
1428
1428
 
1429
1429
  <pre class="prettyprint"><code>//设置请求基地址
1430
1430
  // ES5引入方式
1431
- const { BaseServer } = Zondy.Service
1431
+ const { BaseServer } = zondy.service
1432
1432
  // ES6引入方式
1433
1433
  import { BaseServer } from "@mapgis/webclient-common"
1434
1434
  let BaseServer = new BaseServer({
@@ -37,7 +37,7 @@
37
37
  <div class="description">
38
38
  <p>图层管理容器,和地图引擎无关,通过此对象而不是地图引擎来对图层进行管理
39
39
  <br>[ES5引入方式]:<br/>
40
- Zondy.Map() <br/>
40
+ zondy.Map() <br/>
41
41
  [ES6引入方式]:<br/>
42
42
  import { Map } from &quot;@mapgis/webclient-common&quot; <br/></p>
43
43
  </div>
@@ -121,7 +121,34 @@ import { Map } from &quot;@mapgis/webclient-common&quot; <br/></p>
121
121
 
122
122
 
123
123
 
124
- <td class="description last"><p>设置地图视图中的底图;<br/>
124
+ <td class="description last"><p>设置地图中的底图;<br/></p></td>
125
+ </tr>
126
+
127
+
128
+
129
+
130
+ <tr class="deep-level-1">
131
+
132
+ <td class="name"><code>layers</code></td>
133
+
134
+
135
+ <td class="type">
136
+
137
+
138
+ <span class="param-type">
139
+
140
+ Array.&lt;<a onclick="getTypeHTML(event)" link="Layer.html">Layer</a>>
141
+
142
+ </span>
143
+
144
+
145
+
146
+
147
+ </td>
148
+
149
+
150
+
151
+ <td class="description last"><p>设置地图中的图层数组;<br/>
125
152
  1、如果底图存在,则会使用底图上的参考系作为地图视图的参考系,如果没有,则使用常规图层上的坐标系;<br/>
126
153
  2、底图图层在常规图层的最下面;
127
154
  3、除GraphicsLayer外的二维地图都可以作为底图<br/></p></td>
@@ -234,7 +261,7 @@ import { Map } from &quot;@mapgis/webclient-common&quot; <br/></p>
234
261
 
235
262
 
236
263
  <pre class="prettyprint"><code>// ES5引入方式
237
- const { Map } = Zondy
264
+ const { Map } = zondy
238
265
  // ES6引入方式
239
266
  import { Map } from "@mapgis/webclient-common"
240
267
  //创建Map对象
@@ -245,8 +272,8 @@ let map = new Map();</code></pre>
245
272
 
246
273
 
247
274
  <pre class="prettyprint"><code>// ES5引入方式
248
- const { Map, Basemap, Collection } = Zondy
249
- const { IGSTileLayer } = Zondy.Layer
275
+ const { Map, Basemap, Collection } = zondy
276
+ const { IGSTileLayer } = zondy.layer
250
277
  // ES6引入方式
251
278
  import { Map, Basemap, Collection, IGSTileLayer } from "@mapgis/webclient-common"
252
279
  //创建Map对象
@@ -37,7 +37,7 @@
37
37
  <div class="description">
38
38
  <p>文本符号,支持点几何对象,参考示例:<a href='#new-MapGISTextSymbol'>[创建文本样式]</a>
39
39
  <br><br>[ES5引入方式]:<br/>
40
- Zondy.Symbol.MapGISTextSymbol() <br/>
40
+ zondy.symbol.MapGISTextSymbol() <br/>
41
41
  [ES6引入方式]:<br/>
42
42
  import { MapGISTextSymbol } from &quot;@mapgis/webclient-common&quot; <br/>
43
43
  <br/></p>
@@ -707,8 +707,8 @@ import { MapGISTextSymbol } from &quot;@mapgis/webclient-common&quot; <br/>
707
707
 
708
708
 
709
709
  <pre class="prettyprint"><code>// ES5引入方式
710
- const { MapGISTextSymbol } = Zondy.Symbol
711
- const { MapGISTextSymbol, Color } = Zondy
710
+ const { MapGISTextSymbol } = zondy.symbol
711
+ const { MapGISTextSymbol, Color } = zondy
712
712
  // ES6引入方式
713
713
  import { MapGISTextSymbol, Color } from "@mapgis/webclient-common"
714
714
  const textSymbol = new MapGISTextSymbol({
@@ -1000,6 +1000,24 @@ const textSymbol = new MapGISTextSymbol({
1000
1000
  <td class="name"><code><p>水平方向</p></code></td>
1001
1001
  </tr>
1002
1002
 
1003
+ <tr class="deep-level-0">
1004
+ <td class="name"><code><a href="#id">id</a></code></td>
1005
+ <td class="name">
1006
+ <code>
1007
+
1008
+ <span class="param-type">
1009
+
1010
+ String
1011
+
1012
+ </span>
1013
+
1014
+
1015
+
1016
+ </code>
1017
+ </td>
1018
+ <td class="name"><code><p>符号id</p></code></td>
1019
+ </tr>
1020
+
1003
1021
  <tr class="deep-level-0">
1004
1022
  <td class="name"><code><a href="#kerning">kerning</a></code></td>
1005
1023
  <td class="name">
@@ -2042,6 +2060,11 @@ const textSymbol = new MapGISTextSymbol({
2042
2060
 
2043
2061
 
2044
2062
 
2063
+ <dt class="tag-default">Default Value:</dt>
2064
+ <dd class="tag-default"><ul class="dummy">
2065
+ <li>{}</li>
2066
+ </ul></dd>
2067
+
2045
2068
 
2046
2069
 
2047
2070
 
@@ -2363,6 +2386,90 @@ const textSymbol = new MapGISTextSymbol({
2363
2386
 
2364
2387
 
2365
2388
 
2389
+
2390
+
2391
+
2392
+
2393
+
2394
+
2395
+ </dl>
2396
+
2397
+
2398
+
2399
+
2400
+
2401
+ </div>
2402
+
2403
+ <div class="member">
2404
+
2405
+ <span class="method-parameter is-pulled-right">
2406
+ <label>类型:</label>
2407
+
2408
+ <span class="param-type">
2409
+
2410
+ String
2411
+
2412
+ </span>
2413
+
2414
+
2415
+
2416
+ </span>
2417
+
2418
+ <h4 class="name" id="id">
2419
+ <a class="href-link" href="#id">#</a>
2420
+
2421
+
2422
+ <span class='tag'>readonly</span>
2423
+
2424
+
2425
+ <span class="code-name">
2426
+ id
2427
+ </span>
2428
+
2429
+ </h4>
2430
+
2431
+
2432
+
2433
+
2434
+ <div class="description">
2435
+ <p>符号id</p>
2436
+ </div>
2437
+
2438
+
2439
+
2440
+
2441
+
2442
+ <dl class="details">
2443
+
2444
+
2445
+
2446
+
2447
+
2448
+
2449
+ <dt class="inherited-from">Inherited From:</dt>
2450
+ <dd class="inherited-from"><ul class="dummy"><li>
2451
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
2452
+ </li></ul></dd>
2453
+
2454
+
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+
2461
+
2462
+
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+
2469
+
2470
+
2471
+
2472
+
2366
2473
 
2367
2474
 
2368
2475