@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
@@ -1447,6 +1447,16 @@ BaseServer.url = '新URL';</code></pre>
1447
1447
  </thead>
1448
1448
  <tbody>
1449
1449
 
1450
+ <tr class="deep-level-0">
1451
+ <td class="name"><code><a href="#exportImage">exportImage</a></code></td>
1452
+ <td class="name">
1453
+ <code>
1454
+
1455
+ </code>
1456
+ </td>
1457
+ <td class="name"><code><p>根据参数出图,详细说明请参考IGS的API文档</p></code></td>
1458
+ </tr>
1459
+
1450
1460
  <tr class="deep-level-0">
1451
1461
  <td class="name"><code><a href="#find">find</a></code></td>
1452
1462
  <td class="name">
@@ -1526,6 +1536,400 @@ BaseServer.url = '新URL';</code></pre>
1526
1536
 
1527
1537
 
1528
1538
 
1539
+ <h4 class="name" id="exportImage">
1540
+ <a class="href-link" href="#exportImage">#</a>
1541
+
1542
+ <span class="code-name" id="exportImage" style="font-size:30px">
1543
+
1544
+ exportImage<span class="signature">(options)</span>
1545
+
1546
+ </span>
1547
+ </h4>
1548
+
1549
+
1550
+
1551
+ <div class="description">
1552
+ <p>根据参数出图,详细说明请参考IGS的API文档</p>
1553
+ </div>
1554
+
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+ <h4>参数</h4>
1565
+
1566
+ <div class="table-container">
1567
+ <table class="params table">
1568
+ <thead>
1569
+ <tr>
1570
+
1571
+ <th>名称</th>
1572
+
1573
+
1574
+ <th>类型</th>
1575
+
1576
+
1577
+ <th style="min-width: 100px;">默认值</th>
1578
+
1579
+
1580
+ <th class="last">描述</th>
1581
+ </tr>
1582
+ </thead>
1583
+
1584
+ <tbody>
1585
+
1586
+
1587
+
1588
+ <tr class="deep-level-0">
1589
+
1590
+ <td class="name"><code>options</code></td>
1591
+
1592
+
1593
+ <td class="type">
1594
+
1595
+ </td>
1596
+
1597
+
1598
+ <td class="default">
1599
+
1600
+ </td>
1601
+
1602
+
1603
+ <td class="description last"></td>
1604
+ </tr>
1605
+
1606
+
1607
+
1608
+
1609
+ <tr class="deep-level-1">
1610
+
1611
+ <td class="name"><code>method</code></td>
1612
+
1613
+
1614
+ <td class="type">
1615
+
1616
+
1617
+ <span class="param-type">
1618
+
1619
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1620
+
1621
+ </span>
1622
+
1623
+
1624
+
1625
+
1626
+ </td>
1627
+
1628
+
1629
+ <td class="default">
1630
+
1631
+ FetchMethod.post
1632
+
1633
+ </td>
1634
+
1635
+
1636
+ <td class="description last"><p>请求方式</p></td>
1637
+ </tr>
1638
+
1639
+
1640
+
1641
+
1642
+ <tr class="deep-level-1">
1643
+
1644
+ <td class="name"><code>bbox</code></td>
1645
+
1646
+
1647
+ <td class="type">
1648
+
1649
+
1650
+ <span class="param-type">
1651
+
1652
+ String
1653
+
1654
+ </span>
1655
+
1656
+
1657
+
1658
+
1659
+ </td>
1660
+
1661
+
1662
+ <td class="default">
1663
+
1664
+ </td>
1665
+
1666
+
1667
+ <td class="description last"><p>出图范围,格式:xmin,ymin,xmax,ymax,如果设置了projectionSrs参数,确保bbox是projectionSrs参照系的范围</p></td>
1668
+ </tr>
1669
+
1670
+
1671
+
1672
+
1673
+ <tr class="deep-level-1">
1674
+
1675
+ <td class="name"><code>layers</code></td>
1676
+
1677
+
1678
+ <td class="type">
1679
+
1680
+
1681
+ <span class="param-type">
1682
+
1683
+ String
1684
+
1685
+ </span>
1686
+
1687
+
1688
+
1689
+
1690
+ </td>
1691
+
1692
+
1693
+ <td class="default">
1694
+
1695
+ </td>
1696
+
1697
+
1698
+ <td class="description last"><p>图层状态,格式:show|hide|include|exclude:layerid1,layerid2</p></td>
1699
+ </tr>
1700
+
1701
+
1702
+
1703
+
1704
+ <tr class="deep-level-1">
1705
+
1706
+ <td class="name"><code>size</code></td>
1707
+
1708
+
1709
+ <td class="type">
1710
+
1711
+
1712
+ <span class="param-type">
1713
+
1714
+ String
1715
+
1716
+ </span>
1717
+
1718
+
1719
+
1720
+
1721
+ </td>
1722
+
1723
+
1724
+ <td class="default">
1725
+
1726
+ </td>
1727
+
1728
+
1729
+ <td class="description last"><p>图片大小,格式:width,height,默认512,512</p></td>
1730
+ </tr>
1731
+
1732
+
1733
+
1734
+
1735
+ <tr class="deep-level-1">
1736
+
1737
+ <td class="name"><code>transparent</code></td>
1738
+
1739
+
1740
+ <td class="type">
1741
+
1742
+
1743
+ <span class="param-type">
1744
+
1745
+ String
1746
+
1747
+ </span>
1748
+
1749
+
1750
+
1751
+
1752
+ </td>
1753
+
1754
+
1755
+ <td class="default">
1756
+
1757
+ </td>
1758
+
1759
+
1760
+ <td class="description last"><p>返回的图片是否透明,支持true/false, 默认true</p></td>
1761
+ </tr>
1762
+
1763
+
1764
+
1765
+
1766
+ <tr class="deep-level-1">
1767
+
1768
+ <td class="name"><code>format</code></td>
1769
+
1770
+
1771
+ <td class="type">
1772
+
1773
+
1774
+ <span class="param-type">
1775
+
1776
+ String
1777
+
1778
+ </span>
1779
+
1780
+
1781
+
1782
+
1783
+ </td>
1784
+
1785
+
1786
+ <td class="default">
1787
+
1788
+ </td>
1789
+
1790
+
1791
+ <td class="description last"><p>返回图片格式,支持png/jpg/gif,默认png</p></td>
1792
+ </tr>
1793
+
1794
+
1795
+
1796
+
1797
+ <tr class="deep-level-1">
1798
+
1799
+ <td class="name"><code>imageSR</code></td>
1800
+
1801
+
1802
+ <td class="type">
1803
+
1804
+
1805
+ <span class="param-type">
1806
+
1807
+ String
1808
+
1809
+ </span>
1810
+
1811
+
1812
+
1813
+
1814
+ </td>
1815
+
1816
+
1817
+ <td class="default">
1818
+
1819
+ </td>
1820
+
1821
+
1822
+ <td class="description last"><p>投影空间参照系,支持EPSG格式参考系</p></td>
1823
+ </tr>
1824
+
1825
+
1826
+
1827
+
1828
+ <tr class="deep-level-1">
1829
+
1830
+ <td class="name"><code>f</code></td>
1831
+
1832
+
1833
+ <td class="type">
1834
+
1835
+
1836
+ <span class="param-type">
1837
+
1838
+ String
1839
+
1840
+ </span>
1841
+
1842
+
1843
+
1844
+
1845
+ </td>
1846
+
1847
+
1848
+ <td class="default">
1849
+
1850
+ </td>
1851
+
1852
+
1853
+ <td class="description last"><p>返回格式</p></td>
1854
+ </tr>
1855
+
1856
+
1857
+
1858
+
1859
+
1860
+
1861
+
1862
+ </tbody>
1863
+ </table>
1864
+ </div>
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+ <dl class="details">
1872
+
1873
+
1874
+
1875
+
1876
+
1877
+
1878
+
1879
+
1880
+
1881
+
1882
+
1883
+
1884
+
1885
+
1886
+
1887
+
1888
+
1889
+
1890
+
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+ </dl>
1904
+
1905
+
1906
+
1907
+
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+ </div>
1928
+
1929
+ <div class="member">
1930
+
1931
+
1932
+
1529
1933
  <h4 class="name" id="find">
1530
1934
  <a class="href-link" href="#find">#</a>
1531
1935
 
@@ -667,7 +667,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
667
667
 
668
668
  </code>
669
669
  </td>
670
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
670
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
671
671
  </tr>
672
672
 
673
673
  <tr class="deep-level-0">
@@ -685,7 +685,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
685
685
 
686
686
  </code>
687
687
  </td>
688
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
688
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
689
689
  </tr>
690
690
 
691
691
  <tr class="deep-level-0">
@@ -731,7 +731,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
731
731
 
732
732
  <span class="param-type">
733
733
 
734
- String
734
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
735
735
 
736
736
  </span>
737
737
 
@@ -883,7 +883,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
883
883
 
884
884
  </code>
885
885
  </td>
886
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
886
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
887
887
  </tr>
888
888
 
889
889
  <tr class="deep-level-0">
@@ -922,6 +922,24 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
922
922
  <td class="name"><code><p>图层名称</p></code></td>
923
923
  </tr>
924
924
 
925
+ <tr class="deep-level-0">
926
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
927
+ <td class="name">
928
+ <code>
929
+
930
+ <span class="param-type">
931
+
932
+ String
933
+
934
+ </span>
935
+
936
+
937
+
938
+ </code>
939
+ </td>
940
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
941
+ </tr>
942
+
925
943
  <tr class="deep-level-0">
926
944
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
927
945
  <td class="name">
@@ -1214,7 +1232,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
1214
1232
 
1215
1233
 
1216
1234
  <div class="description">
1217
- <p>初始化图层的额外参数</p>
1235
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
1218
1236
  </div>
1219
1237
 
1220
1238
 
@@ -1251,6 +1269,11 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
1251
1269
 
1252
1270
 
1253
1271
 
1272
+ <dt class="tag-default">Default Value:</dt>
1273
+ <dd class="tag-default"><ul class="dummy">
1274
+ <li>{}</li>
1275
+ </ul></dd>
1276
+
1254
1277
 
1255
1278
 
1256
1279
 
@@ -1294,7 +1317,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
1294
1317
 
1295
1318
 
1296
1319
  <div class="description">
1297
- <p>存储额外参数的属性</p>
1320
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
1298
1321
  </div>
1299
1322
 
1300
1323
 
@@ -1331,6 +1354,11 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
1331
1354
 
1332
1355
 
1333
1356
 
1357
+ <dt class="tag-default">Default Value:</dt>
1358
+ <dd class="tag-default"><ul class="dummy">
1359
+ <li>{}</li>
1360
+ </ul></dd>
1361
+
1334
1362
 
1335
1363
 
1336
1364
 
@@ -1517,7 +1545,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
1517
1545
 
1518
1546
  <span class="param-type">
1519
1547
 
1520
- String
1548
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1521
1549
 
1522
1550
  </span>
1523
1551
 
@@ -2205,7 +2233,7 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
2205
2233
 
2206
2234
 
2207
2235
  <div class="description">
2208
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
2236
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
2209
2237
  </div>
2210
2238
 
2211
2239
 
@@ -2403,6 +2431,86 @@ map.reorder(arcgisTileLayer, '要移动到的index');</code></pre>
2403
2431
 
2404
2432
 
2405
2433
 
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+ </dl>
2441
+
2442
+
2443
+
2444
+
2445
+
2446
+ </div>
2447
+
2448
+ <div class="member">
2449
+
2450
+ <span class="method-parameter is-pulled-right">
2451
+ <label>类型:</label>
2452
+
2453
+ <span class="param-type">
2454
+
2455
+ String
2456
+
2457
+ </span>
2458
+
2459
+
2460
+
2461
+ </span>
2462
+
2463
+ <h4 class="name" id="tokenAttachType">
2464
+ <a class="href-link" href="#tokenAttachType">#</a>
2465
+
2466
+ <span class="code-name">
2467
+ tokenAttachType
2468
+ </span>
2469
+
2470
+ </h4>
2471
+
2472
+
2473
+
2474
+
2475
+ <div class="description">
2476
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
2477
+ </div>
2478
+
2479
+
2480
+
2481
+
2482
+
2483
+ <dl class="details">
2484
+
2485
+
2486
+
2487
+
2488
+
2489
+
2490
+ <dt class="inherited-from">Inherited From:</dt>
2491
+ <dd class="inherited-from"><ul class="dummy"><li>
2492
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
2493
+ </li></ul></dd>
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2506
+
2507
+
2508
+
2509
+
2510
+
2511
+
2512
+
2513
+
2406
2514
 
2407
2515
 
2408
2516