@mapgis/webclient-common 17.0.7 → 17.2.0

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 (105) hide show
  1. package/README.md +9 -44
  2. package/dist/es5/webclient-common.min.js +15 -4
  3. package/dist/webclient-common-es6.min.js +16 -5
  4. package/documention/ArcGISMapImageSubLayer.html +311 -7
  5. package/documention/ArcGISMapServer.html +404 -0
  6. package/documention/ArcGISTileLayer.html +116 -8
  7. package/documention/BaseRenderer.html +239 -0
  8. package/documention/BaseServer.html +1 -1
  9. package/documention/BaseView.html +457 -2
  10. package/documention/Callout3D.html +107 -0
  11. package/documention/Cesium3DTilesCacheLayer.html +131 -85
  12. package/documention/Circle.html +103 -0
  13. package/documention/ClassBreakInfo.html +0 -217
  14. package/documention/ClassBreakRenderer.html +395 -5
  15. package/documention/ClusterRenderer.html +245 -5
  16. package/documention/Extent.html +103 -0
  17. package/documention/ExtrudeSymbol3DLayer.html +107 -0
  18. package/documention/FeatureLayer.html +116 -8
  19. package/documention/FillSymbol.html +107 -0
  20. package/documention/FillSymbol3DLayer.html +107 -0
  21. package/documention/Font.html +3 -3
  22. package/documention/GeoJSONLayer.html +116 -8
  23. package/documention/Geometry.html +131 -0
  24. package/documention/GraphicsLayer.html +116 -8
  25. package/documention/GroupLayer.html +118 -10
  26. package/documention/HeatmapRenderer.html +107 -0
  27. package/documention/IGSMapImageSubLayer.html +304 -0
  28. package/documention/IGSSceneSubLayer.html +213 -33
  29. package/documention/IGSTileLayer.html +116 -8
  30. package/documention/IGSVectorTileLayer.html +198 -14
  31. package/documention/IconSymbol3DLayer.html +107 -0
  32. package/documention/LabelClass.html +7 -2
  33. package/documention/Layer.html +244 -9
  34. package/documention/LineCallout3D.html +107 -0
  35. package/documention/LineString.html +103 -0
  36. package/documention/LineSymbol.html +107 -0
  37. package/documention/LineSymbol3DLayer.html +107 -0
  38. package/documention/M3DModelCacheLayer.html +121 -67
  39. package/documention/M3DServer.html +1 -1
  40. package/documention/Map.html +28 -1
  41. package/documention/MapGISTextSymbol.html +107 -0
  42. package/documention/MapImageLayer.html +527 -16
  43. package/documention/MapView.html +203 -2
  44. package/documention/MarkerSymbol.html +107 -0
  45. package/documention/MultiLineString.html +103 -0
  46. package/documention/MultiPoint.html +103 -0
  47. package/documention/MultiPolygon.html +103 -0
  48. package/documention/OGCLayer.html +116 -8
  49. package/documention/ObjectSymbol3DLayer.html +107 -0
  50. package/documention/OverlayLayer.html +116 -8
  51. package/documention/PathSymbol3DLayer.html +107 -0
  52. package/documention/PictureFillSymbol.html +168 -7
  53. package/documention/PoiServer.html +1 -1
  54. package/documention/Point.html +103 -0
  55. package/documention/PointSymbol3D.html +1 -1
  56. package/documention/Polygon.html +103 -0
  57. package/documention/Projection.html +421 -0
  58. package/documention/RandomRenderer.html +107 -0
  59. package/documention/RankRenderer.html +107 -0
  60. package/documention/RootServer.html +1 -1
  61. package/documention/SceneLayer.html +116 -8
  62. package/documention/SceneView.html +10164 -130
  63. package/documention/SimpleFillSymbol.html +107 -0
  64. package/documention/SimpleRenderer.html +107 -0
  65. package/documention/SketchBaseDrawTool.html +181 -3
  66. package/documention/SketchCircleDrawTool.html +159 -3
  67. package/documention/SketchEditor.html +1 -1
  68. package/documention/SketchEditorCesium.html +1 -1
  69. package/documention/SketchExtentDrawTool.html +159 -3
  70. package/documention/SketchFreehandPolygonDrawTool.html +159 -3
  71. package/documention/SketchFreehandPolylineDrawTool.html +159 -3
  72. package/documention/SketchPointDrawTool.html +159 -3
  73. package/documention/SketchPolygonDrawTool.html +318 -6
  74. package/documention/SketchPolylineDrawTool.html +318 -6
  75. package/documention/SubLayer.html +296 -26
  76. package/documention/Symbol.html +133 -0
  77. package/documention/Symbol3DLayer.html +107 -0
  78. package/documention/Symbol3DVerticalOffset.html +107 -0
  79. package/documention/TerrainCacheLayer.html +132 -164
  80. package/documention/TextSymbol.html +107 -0
  81. package/documention/TextSymbol3DLayer.html +107 -0
  82. package/documention/ThemeServer.html +1 -1
  83. package/documention/TileLayer.html +116 -8
  84. package/documention/TileServer.html +1 -1
  85. package/documention/UniqueValueInfo.html +0 -217
  86. package/documention/UniqueValueRenderer.html +107 -0
  87. package/documention/UnknownLayer.html +116 -8
  88. package/documention/VectorTileLayer.html +116 -8
  89. package/documention/VectorTileSubLayer.html +304 -0
  90. package/documention/WFSLayer.html +116 -8
  91. package/documention/WMSLayer.html +116 -8
  92. package/documention/WMSServer.html +1 -1
  93. package/documention/WMSSubLayer.html +218 -7
  94. package/documention/WMTSLayer.html +116 -8
  95. package/documention/WMTSServer.html +1 -1
  96. package/documention/WMTSSubLayer.html +116 -8
  97. package/documention/WaterSymbol3DLayer.html +107 -0
  98. package/documention/WebTileLayer.html +116 -8
  99. package/documention/global.html +454 -4
  100. package/documention/index.html +47 -44
  101. package/documention/scripts/sideBar.js +16 -2
  102. package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
  103. package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
  104. package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
  105. package/package.json +13 -13
@@ -983,6 +983,24 @@ const textSymbol = new TextSymbol({
983
983
  <td class="name"><code><p>水平方向</p></code></td>
984
984
  </tr>
985
985
 
986
+ <tr class="deep-level-0">
987
+ <td class="name"><code><a href="#id">id</a></code></td>
988
+ <td class="name">
989
+ <code>
990
+
991
+ <span class="param-type">
992
+
993
+ String
994
+
995
+ </span>
996
+
997
+
998
+
999
+ </code>
1000
+ </td>
1001
+ <td class="name"><code><p>符号id</p></code></td>
1002
+ </tr>
1003
+
986
1004
  <tr class="deep-level-0">
987
1005
  <td class="name"><code><a href="#kerning">kerning</a></code></td>
988
1006
  <td class="name">
@@ -1596,6 +1614,11 @@ const textSymbol = new TextSymbol({
1596
1614
 
1597
1615
 
1598
1616
 
1617
+ <dt class="tag-default">Default Value:</dt>
1618
+ <dd class="tag-default"><ul class="dummy">
1619
+ <li>{}</li>
1620
+ </ul></dd>
1621
+
1599
1622
 
1600
1623
 
1601
1624
 
@@ -1892,6 +1915,90 @@ const textSymbol = new TextSymbol({
1892
1915
 
1893
1916
 
1894
1917
 
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+
1929
+ </dl>
1930
+
1931
+
1932
+
1933
+
1934
+
1935
+ </div>
1936
+
1937
+ <div class="member">
1938
+
1939
+ <span class="method-parameter is-pulled-right">
1940
+ <label>类型:</label>
1941
+
1942
+ <span class="param-type">
1943
+
1944
+ String
1945
+
1946
+ </span>
1947
+
1948
+
1949
+
1950
+ </span>
1951
+
1952
+ <h4 class="name" id="id">
1953
+ <a class="href-link" href="#id">#</a>
1954
+
1955
+
1956
+ <span class='tag'>readonly</span>
1957
+
1958
+
1959
+ <span class="code-name">
1960
+ id
1961
+ </span>
1962
+
1963
+ </h4>
1964
+
1965
+
1966
+
1967
+
1968
+ <div class="description">
1969
+ <p>符号id</p>
1970
+ </div>
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+ <dl class="details">
1977
+
1978
+
1979
+
1980
+
1981
+
1982
+
1983
+ <dt class="inherited-from">Inherited From:</dt>
1984
+ <dd class="inherited-from"><ul class="dummy"><li>
1985
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
1986
+ </li></ul></dd>
1987
+
1988
+
1989
+
1990
+
1991
+
1992
+
1993
+
1994
+
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+
2001
+
1895
2002
 
1896
2003
 
1897
2004
 
@@ -654,6 +654,24 @@ const symbol = new TextSymbol3DLayer({
654
654
  <td class="name"><code><p>文字水平对齐方式</p></code></td>
655
655
  </tr>
656
656
 
657
+ <tr class="deep-level-0">
658
+ <td class="name"><code><a href="#id">id</a></code></td>
659
+ <td class="name">
660
+ <code>
661
+
662
+ <span class="param-type">
663
+
664
+ String
665
+
666
+ </span>
667
+
668
+
669
+
670
+ </code>
671
+ </td>
672
+ <td class="name"><code><p>符号id</p></code></td>
673
+ </tr>
674
+
657
675
  <tr class="deep-level-0">
658
676
  <td class="name"><code><a href="#lineHeight">lineHeight</a></code></td>
659
677
  <td class="name">
@@ -1063,6 +1081,11 @@ const symbol = new TextSymbol3DLayer({
1063
1081
 
1064
1082
 
1065
1083
 
1084
+ <dt class="tag-default">Default Value:</dt>
1085
+ <dd class="tag-default"><ul class="dummy">
1086
+ <li>{}</li>
1087
+ </ul></dd>
1088
+
1066
1089
 
1067
1090
 
1068
1091
 
@@ -1209,6 +1232,90 @@ const symbol = new TextSymbol3DLayer({
1209
1232
 
1210
1233
 
1211
1234
 
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+ </dl>
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+ </div>
1253
+
1254
+ <div class="member">
1255
+
1256
+ <span class="method-parameter is-pulled-right">
1257
+ <label>类型:</label>
1258
+
1259
+ <span class="param-type">
1260
+
1261
+ String
1262
+
1263
+ </span>
1264
+
1265
+
1266
+
1267
+ </span>
1268
+
1269
+ <h4 class="name" id="id">
1270
+ <a class="href-link" href="#id">#</a>
1271
+
1272
+
1273
+ <span class='tag'>readonly</span>
1274
+
1275
+
1276
+ <span class="code-name">
1277
+ id
1278
+ </span>
1279
+
1280
+ </h4>
1281
+
1282
+
1283
+
1284
+
1285
+ <div class="description">
1286
+ <p>符号id</p>
1287
+ </div>
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+ <dl class="details">
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+ <dt class="inherited-from">Inherited From:</dt>
1301
+ <dd class="inherited-from"><ul class="dummy"><li>
1302
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
1303
+ </li></ul></dd>
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1212
1319
 
1213
1320
 
1214
1321
 
@@ -199,7 +199,7 @@ const { ThemeServer } = Zondy.Service
199
199
  // ES6引入方式
200
200
  import { ThemeServer } from "@mapgis/webclient-common"
201
201
  const themeServer = new ThemeServer({
202
- url: 'http://webclient.smaryun.com:6163/igs/rest/theme/Hubei4326'
202
+ url: 'http://192.168.82.89:6163/igs/rest/theme/Hubei4326'
203
203
  });</code></pre>
204
204
 
205
205
 
@@ -288,7 +288,7 @@
288
288
 
289
289
  </code>
290
290
  </td>
291
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
291
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
292
292
  </tr>
293
293
 
294
294
  <tr class="deep-level-0">
@@ -306,7 +306,7 @@
306
306
 
307
307
  </code>
308
308
  </td>
309
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
309
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
310
310
  </tr>
311
311
 
312
312
  <tr class="deep-level-0">
@@ -352,7 +352,7 @@
352
352
 
353
353
  <span class="param-type">
354
354
 
355
- String
355
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
356
356
 
357
357
  </span>
358
358
 
@@ -486,7 +486,7 @@
486
486
 
487
487
  </code>
488
488
  </td>
489
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
489
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
490
490
  </tr>
491
491
 
492
492
  <tr class="deep-level-0">
@@ -568,6 +568,24 @@
568
568
  <td class="name"><code><p>图层名称</p></code></td>
569
569
  </tr>
570
570
 
571
+ <tr class="deep-level-0">
572
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
573
+ <td class="name">
574
+ <code>
575
+
576
+ <span class="param-type">
577
+
578
+ String
579
+
580
+ </span>
581
+
582
+
583
+
584
+ </code>
585
+ </td>
586
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
587
+ </tr>
588
+
571
589
  <tr class="deep-level-0">
572
590
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
573
591
  <td class="name">
@@ -860,7 +878,7 @@
860
878
 
861
879
 
862
880
  <div class="description">
863
- <p>初始化图层的额外参数</p>
881
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
864
882
  </div>
865
883
 
866
884
 
@@ -897,6 +915,11 @@
897
915
 
898
916
 
899
917
 
918
+ <dt class="tag-default">Default Value:</dt>
919
+ <dd class="tag-default"><ul class="dummy">
920
+ <li>{}</li>
921
+ </ul></dd>
922
+
900
923
 
901
924
 
902
925
 
@@ -940,7 +963,7 @@
940
963
 
941
964
 
942
965
  <div class="description">
943
- <p>存储额外参数的属性</p>
966
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
944
967
  </div>
945
968
 
946
969
 
@@ -977,6 +1000,11 @@
977
1000
 
978
1001
 
979
1002
 
1003
+ <dt class="tag-default">Default Value:</dt>
1004
+ <dd class="tag-default"><ul class="dummy">
1005
+ <li>{}</li>
1006
+ </ul></dd>
1007
+
980
1008
 
981
1009
 
982
1010
 
@@ -1163,7 +1191,7 @@
1163
1191
 
1164
1192
  <span class="param-type">
1165
1193
 
1166
- String
1194
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1167
1195
 
1168
1196
  </span>
1169
1197
 
@@ -1776,7 +1804,7 @@
1776
1804
 
1777
1805
 
1778
1806
  <div class="description">
1779
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
1807
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
1780
1808
  </div>
1781
1809
 
1782
1810
 
@@ -2139,6 +2167,86 @@
2139
2167
 
2140
2168
 
2141
2169
 
2170
+
2171
+
2172
+
2173
+
2174
+
2175
+
2176
+ </dl>
2177
+
2178
+
2179
+
2180
+
2181
+
2182
+ </div>
2183
+
2184
+ <div class="member">
2185
+
2186
+ <span class="method-parameter is-pulled-right">
2187
+ <label>类型:</label>
2188
+
2189
+ <span class="param-type">
2190
+
2191
+ String
2192
+
2193
+ </span>
2194
+
2195
+
2196
+
2197
+ </span>
2198
+
2199
+ <h4 class="name" id="tokenAttachType">
2200
+ <a class="href-link" href="#tokenAttachType">#</a>
2201
+
2202
+ <span class="code-name">
2203
+ tokenAttachType
2204
+ </span>
2205
+
2206
+ </h4>
2207
+
2208
+
2209
+
2210
+
2211
+ <div class="description">
2212
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
2213
+ </div>
2214
+
2215
+
2216
+
2217
+
2218
+
2219
+ <dl class="details">
2220
+
2221
+
2222
+
2223
+
2224
+
2225
+
2226
+ <dt class="inherited-from">Inherited From:</dt>
2227
+ <dd class="inherited-from"><ul class="dummy"><li>
2228
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
2229
+ </li></ul></dd>
2230
+
2231
+
2232
+
2233
+
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+
2242
+
2243
+
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+
2142
2250
 
2143
2251
 
2144
2252
 
@@ -213,7 +213,7 @@ const { TileServer } = Zondy.Service
213
213
  import { TileServer } from "@mapgis/webclient-common"
214
214
  const tileServer = new TileServer({
215
215
  //服务基地址
216
- url: 'http://webclient.smaryun.com:8089/igs/rest/services/Tile/EPSG_4326_WORLD_TILE/TileServer'
216
+ url: 'http://192.168.82.89:8089/igs/rest/services/Tile/EPSG_4326_WORLD_TILE/TileServer'
217
217
  })</code></pre>
218
218
 
219
219
 
@@ -171,37 +171,6 @@
171
171
 
172
172
 
173
173
 
174
- <tr class="deep-level-1">
175
-
176
- <td class="name"><code>label</code></td>
177
-
178
-
179
- <td class="type">
180
-
181
-
182
- <span class="param-type">
183
-
184
- String
185
-
186
- </span>
187
-
188
-
189
-
190
-
191
- </td>
192
-
193
-
194
- <td class="default">
195
-
196
- </td>
197
-
198
-
199
- <td class="description last"><p>标签,用来描述符号表示的值</p></td>
200
- </tr>
201
-
202
-
203
-
204
-
205
174
  <tr class="deep-level-1">
206
175
 
207
176
  <td class="name"><code>visible</code></td>
@@ -338,42 +307,6 @@
338
307
  </thead>
339
308
  <tbody>
340
309
 
341
- <tr class="deep-level-0">
342
- <td class="name"><code><a href="#description">description</a></code></td>
343
- <td class="name">
344
- <code>
345
-
346
- <span class="param-type">
347
-
348
- String
349
-
350
- </span>
351
-
352
-
353
-
354
- </code>
355
- </td>
356
- <td class="name"><code><p>描述信息</p></code></td>
357
- </tr>
358
-
359
- <tr class="deep-level-0">
360
- <td class="name"><code><a href="#label">label</a></code></td>
361
- <td class="name">
362
- <code>
363
-
364
- <span class="param-type">
365
-
366
- String
367
-
368
- </span>
369
-
370
-
371
-
372
- </code>
373
- </td>
374
- <td class="name"><code><p>标签,用来描述符号表示的值</p></code></td>
375
- </tr>
376
-
377
310
  <tr class="deep-level-0">
378
311
  <td class="name"><code><a href="#symbol">symbol</a></code></td>
379
312
  <td class="name">
@@ -446,156 +379,6 @@
446
379
  <span class="method-parameter is-pulled-right">
447
380
  <label>类型:</label>
448
381
 
449
- <span class="param-type">
450
-
451
- String
452
-
453
- </span>
454
-
455
-
456
-
457
- </span>
458
-
459
- <h4 class="name" id="description">
460
- <a class="href-link" href="#description">#</a>
461
-
462
- <span class="code-name">
463
- description
464
- </span>
465
-
466
- </h4>
467
-
468
-
469
-
470
-
471
- <div class="description">
472
- <p>描述信息</p>
473
- </div>
474
-
475
-
476
-
477
-
478
-
479
- <dl class="details">
480
-
481
-
482
-
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
- </dl>
512
-
513
-
514
-
515
-
516
-
517
- </div>
518
-
519
- <div class="member">
520
-
521
- <span class="method-parameter is-pulled-right">
522
- <label>类型:</label>
523
-
524
- <span class="param-type">
525
-
526
- String
527
-
528
- </span>
529
-
530
-
531
-
532
- </span>
533
-
534
- <h4 class="name" id="label">
535
- <a class="href-link" href="#label">#</a>
536
-
537
- <span class="code-name">
538
- label
539
- </span>
540
-
541
- </h4>
542
-
543
-
544
-
545
-
546
- <div class="description">
547
- <p>标签,用来描述符号表示的值</p>
548
- </div>
549
-
550
-
551
-
552
-
553
-
554
- <dl class="details">
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
- </dl>
587
-
588
-
589
-
590
-
591
-
592
- </div>
593
-
594
- <div class="member">
595
-
596
- <span class="method-parameter is-pulled-right">
597
- <label>类型:</label>
598
-
599
382
  <span class="param-type">
600
383
 
601
384
  <a link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol" Symbol.html>Symbol</a>