@mapgis/webclient-mapboxgl-plugin 17.4.0 → 17.6.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.
- package/README.md +67 -3
- package/dist/es5/webclient-common.min.js +63 -5
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -1
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -1
- package/documention/EchartsLayer.html +5 -3
- package/documention/MapView.html +2770 -86
- package/documention/MapViewMapboxgl.html +935 -287
- package/documention/Popup.html +6 -4
- package/documention/Screenshot.html +5 -3
- package/documention/SketchEditor.html +3210 -0
- package/documention/SketchEditorMapboxgl.html +477 -241
- package/documention/global.html +610 -395
- package/documention/index.html +5 -3
- package/documention/initializeOptions.html +454 -0
- package/documention/module-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%8F%AF%E8%A7%86%E5%8C%96.MapvLayer.html +9 -3
- package/package.json +4 -4
package/documention/global.html
CHANGED
|
@@ -104,7 +104,8 @@
|
|
|
104
104
|
|
|
105
105
|
<nav>
|
|
106
106
|
|
|
107
|
-
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(mapboxgl引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
107
|
+
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>根据图层获取对应的mapboxgl内的sources和layers</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(mapboxgl引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
|
|
108
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
108
109
|
参考示例:
|
|
109
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
110
111
|
<br>[ES5引入方式]:<br/>
|
|
@@ -116,11 +117,12 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p></span></li
|
|
|
116
117
|
[ES6引入方式]:<br/>
|
|
117
118
|
import { Popup } from '@mapgis/webclient-mapboxgl-plugin' <br/>
|
|
118
119
|
自定义样式说明:<br/>
|
|
119
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
120
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
121
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
122
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
123
|
-
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="
|
|
124
|
+
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Mapboxgl引擎草图编辑类<br/>
|
|
125
|
+
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
|
|
124
126
|
<br>[ES5引入方式]:<br/>
|
|
125
127
|
const { SketchEditor } = zondy.mapboxgl.tool.sketch <br/>
|
|
126
128
|
[ES6引入方式]:<br/>
|
|
@@ -1654,18 +1656,22 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1654
1656
|
|
|
1655
1657
|
|
|
1656
1658
|
|
|
1657
|
-
<h4 class="name" id="
|
|
1658
|
-
<a class="href-link" href="#
|
|
1659
|
+
<h4 class="name" id="getCustomRasterSourcesAndStyleLayers">
|
|
1660
|
+
<a class="href-link" href="#getCustomRasterSourcesAndStyleLayers">#</a>
|
|
1659
1661
|
|
|
1660
1662
|
<span class="code-name" style="font-size:30px">
|
|
1661
1663
|
|
|
1662
|
-
|
|
1664
|
+
getCustomRasterSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
1663
1665
|
|
|
1664
1666
|
</span>
|
|
1665
1667
|
</h4>
|
|
1666
1668
|
|
|
1667
1669
|
|
|
1668
1670
|
|
|
1671
|
+
<div class="description">
|
|
1672
|
+
<p>获取自定义rasterTileLayer的innerLayer对象</p>
|
|
1673
|
+
</div>
|
|
1674
|
+
|
|
1669
1675
|
|
|
1670
1676
|
|
|
1671
1677
|
|
|
@@ -1705,7 +1711,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1705
1711
|
<td class="type">
|
|
1706
1712
|
|
|
1707
1713
|
|
|
1708
|
-
<span class="param-type"
|
|
1714
|
+
<span class="param-type">Layer</span>
|
|
1709
1715
|
|
|
1710
1716
|
|
|
1711
1717
|
|
|
@@ -1713,7 +1719,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1713
1719
|
|
|
1714
1720
|
|
|
1715
1721
|
|
|
1716
|
-
<td class="description last"></td>
|
|
1722
|
+
<td class="description last"><p>瓦片大小</p></td>
|
|
1717
1723
|
</tr>
|
|
1718
1724
|
|
|
1719
1725
|
|
|
@@ -1729,7 +1735,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1729
1735
|
<td class="type">
|
|
1730
1736
|
|
|
1731
1737
|
|
|
1732
|
-
<span class="param-type"
|
|
1738
|
+
<span class="param-type">Object</span>
|
|
1733
1739
|
|
|
1734
1740
|
|
|
1735
1741
|
|
|
@@ -1737,7 +1743,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1737
1743
|
|
|
1738
1744
|
|
|
1739
1745
|
|
|
1740
|
-
<td class="description last"></td>
|
|
1746
|
+
<td class="description last"><p>渲染模式</p></td>
|
|
1741
1747
|
</tr>
|
|
1742
1748
|
|
|
1743
1749
|
|
|
@@ -1745,13 +1751,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1745
1751
|
|
|
1746
1752
|
<tr class="deep-level-1">
|
|
1747
1753
|
|
|
1748
|
-
<td class="name"><code>
|
|
1754
|
+
<td class="name"><code>layerView</code></td>
|
|
1749
1755
|
|
|
1750
1756
|
|
|
1751
1757
|
<td class="type">
|
|
1752
1758
|
|
|
1753
1759
|
|
|
1754
|
-
<span class="param-type">
|
|
1760
|
+
<span class="param-type">LayerView</span>
|
|
1755
1761
|
|
|
1756
1762
|
|
|
1757
1763
|
|
|
@@ -1759,7 +1765,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1759
1765
|
|
|
1760
1766
|
|
|
1761
1767
|
|
|
1762
|
-
<td class="description last"><p
|
|
1768
|
+
<td class="description last"><p>图层的layerView对象</p></td>
|
|
1763
1769
|
</tr>
|
|
1764
1770
|
|
|
1765
1771
|
|
|
@@ -1767,7 +1773,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1767
1773
|
|
|
1768
1774
|
<tr class="deep-level-1">
|
|
1769
1775
|
|
|
1770
|
-
<td class="name"><code>
|
|
1776
|
+
<td class="name"><code>minZoom</code></td>
|
|
1771
1777
|
|
|
1772
1778
|
|
|
1773
1779
|
<td class="type">
|
|
@@ -1781,7 +1787,29 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1781
1787
|
|
|
1782
1788
|
|
|
1783
1789
|
|
|
1784
|
-
<td class="description last"><p
|
|
1790
|
+
<td class="description last"><p>最大层级</p></td>
|
|
1791
|
+
</tr>
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
<tr class="deep-level-1">
|
|
1797
|
+
|
|
1798
|
+
<td class="name"><code>maxZoom</code></td>
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
<td class="type">
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
<span class="param-type">Object</span>
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
</td>
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
<td class="description last"><p>最小层级</p></td>
|
|
1785
1813
|
</tr>
|
|
1786
1814
|
|
|
1787
1815
|
|
|
@@ -1858,11 +1886,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1858
1886
|
|
|
1859
1887
|
<div class="columns">
|
|
1860
1888
|
|
|
1889
|
+
<div class='param-desc column is-7'><p>Sources和StyleLayers对象</p></div>
|
|
1890
|
+
|
|
1861
1891
|
|
|
1862
1892
|
<div class='column is-5 has-text-left'>
|
|
1863
1893
|
<label>类型: </label>
|
|
1864
1894
|
|
|
1865
|
-
<span class="param-type"
|
|
1895
|
+
<span class="param-type">Object</span>
|
|
1866
1896
|
|
|
1867
1897
|
|
|
1868
1898
|
</div>
|
|
@@ -1884,12 +1914,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1884
1914
|
|
|
1885
1915
|
|
|
1886
1916
|
|
|
1887
|
-
<h4 class="name" id="
|
|
1888
|
-
<a class="href-link" href="#
|
|
1917
|
+
<h4 class="name" id="getGeoJSONSourcesAndStyleLayers">
|
|
1918
|
+
<a class="href-link" href="#getGeoJSONSourcesAndStyleLayers">#</a>
|
|
1889
1919
|
|
|
1890
1920
|
<span class="code-name" style="font-size:30px">
|
|
1891
1921
|
|
|
1892
|
-
|
|
1922
|
+
getGeoJSONSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
1893
1923
|
|
|
1894
1924
|
</span>
|
|
1895
1925
|
</h4>
|
|
@@ -1973,6 +2003,28 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1973
2003
|
|
|
1974
2004
|
|
|
1975
2005
|
|
|
2006
|
+
<tr class="deep-level-1">
|
|
2007
|
+
|
|
2008
|
+
<td class="name"><code>featureSet</code></td>
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
<td class="type">
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
<span class="param-type">FeatureSet</span>
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
</td>
|
|
2019
|
+
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
<td class="description last"><p>仅在使用矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)时有效,外部必须传入FeatureSet对象</p></td>
|
|
2023
|
+
</tr>
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
|
|
1976
2028
|
<tr class="deep-level-1">
|
|
1977
2029
|
|
|
1978
2030
|
<td class="name"><code>mapboxglMap</code></td>
|
|
@@ -2092,22 +2144,18 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2092
2144
|
|
|
2093
2145
|
|
|
2094
2146
|
|
|
2095
|
-
<h4 class="name" id="
|
|
2096
|
-
<a class="href-link" href="#
|
|
2147
|
+
<h4 class="name" id="getGraphicsSourcesAndStyleLayers">
|
|
2148
|
+
<a class="href-link" href="#getGraphicsSourcesAndStyleLayers">#</a>
|
|
2097
2149
|
|
|
2098
2150
|
<span class="code-name" style="font-size:30px">
|
|
2099
2151
|
|
|
2100
|
-
|
|
2152
|
+
getGraphicsSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
2101
2153
|
|
|
2102
2154
|
</span>
|
|
2103
2155
|
</h4>
|
|
2104
2156
|
|
|
2105
2157
|
|
|
2106
2158
|
|
|
2107
|
-
<div class="description">
|
|
2108
|
-
<p>获取瓦片图层的初始化参数</p>
|
|
2109
|
-
</div>
|
|
2110
|
-
|
|
2111
2159
|
|
|
2112
2160
|
|
|
2113
2161
|
|
|
@@ -2141,13 +2189,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2141
2189
|
|
|
2142
2190
|
<tr class="deep-level-0">
|
|
2143
2191
|
|
|
2144
|
-
<td class="name"><code>
|
|
2192
|
+
<td class="name"><code>layer</code></td>
|
|
2145
2193
|
|
|
2146
2194
|
|
|
2147
2195
|
<td class="type">
|
|
2148
2196
|
|
|
2149
2197
|
|
|
2150
|
-
<span class="param-type"
|
|
2198
|
+
<span class="param-type">*</span>
|
|
2151
2199
|
|
|
2152
2200
|
|
|
2153
2201
|
|
|
@@ -2155,7 +2203,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2155
2203
|
|
|
2156
2204
|
|
|
2157
2205
|
|
|
2158
|
-
<td class="description last"
|
|
2206
|
+
<td class="description last"></td>
|
|
2159
2207
|
</tr>
|
|
2160
2208
|
|
|
2161
2209
|
|
|
@@ -2165,13 +2213,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2165
2213
|
|
|
2166
2214
|
<tr class="deep-level-0">
|
|
2167
2215
|
|
|
2168
|
-
<td class="name"><code>
|
|
2216
|
+
<td class="name"><code>options</code></td>
|
|
2169
2217
|
|
|
2170
2218
|
|
|
2171
2219
|
<td class="type">
|
|
2172
2220
|
|
|
2173
2221
|
|
|
2174
|
-
<span class="param-type"
|
|
2222
|
+
<span class="param-type">*</span>
|
|
2175
2223
|
|
|
2176
2224
|
|
|
2177
2225
|
|
|
@@ -2179,23 +2227,21 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2179
2227
|
|
|
2180
2228
|
|
|
2181
2229
|
|
|
2182
|
-
<td class="description last"
|
|
2230
|
+
<td class="description last"></td>
|
|
2183
2231
|
</tr>
|
|
2184
2232
|
|
|
2185
2233
|
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
<tr class="deep-level-0">
|
|
2191
2234
|
|
|
2192
|
-
|
|
2235
|
+
|
|
2236
|
+
<tr class="deep-level-1">
|
|
2237
|
+
|
|
2238
|
+
<td class="name"><code>mapboxglMap</code></td>
|
|
2193
2239
|
|
|
2194
2240
|
|
|
2195
2241
|
<td class="type">
|
|
2196
2242
|
|
|
2197
2243
|
|
|
2198
|
-
<span class="param-type">
|
|
2244
|
+
<span class="param-type">Object</span>
|
|
2199
2245
|
|
|
2200
2246
|
|
|
2201
2247
|
|
|
@@ -2203,33 +2249,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2203
2249
|
|
|
2204
2250
|
|
|
2205
2251
|
|
|
2206
|
-
<td class="description last"><p>
|
|
2252
|
+
<td class="description last"><p>mapboxglMap地图对象。矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)以及几何图层(GraphicsLayer)必传。传入主要是构建图片资源管理器,保证符号正常加载。</p></td>
|
|
2207
2253
|
</tr>
|
|
2208
2254
|
|
|
2209
2255
|
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
<tr class="deep-level-0">
|
|
2215
|
-
|
|
2216
|
-
<td class="name"><code>layerView</code></td>
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
<td class="type">
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
<span class="param-type">LayerView</span>
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
</td>
|
|
2227
|
-
|
|
2228
2256
|
|
|
2229
2257
|
|
|
2230
|
-
<td class="description last"><p>图层视图对象</p></td>
|
|
2231
|
-
</tr>
|
|
2232
|
-
|
|
2233
2258
|
|
|
2234
2259
|
|
|
2235
2260
|
|
|
@@ -2301,13 +2326,11 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2301
2326
|
|
|
2302
2327
|
<div class="columns">
|
|
2303
2328
|
|
|
2304
|
-
<div class='param-desc column is-7'><p>图层构造参数</p></div>
|
|
2305
|
-
|
|
2306
2329
|
|
|
2307
2330
|
<div class='column is-5 has-text-left'>
|
|
2308
2331
|
<label>类型: </label>
|
|
2309
2332
|
|
|
2310
|
-
<span class="param-type"
|
|
2333
|
+
<span class="param-type">*</span>
|
|
2311
2334
|
|
|
2312
2335
|
|
|
2313
2336
|
</div>
|
|
@@ -2329,12 +2352,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2329
2352
|
|
|
2330
2353
|
|
|
2331
2354
|
|
|
2332
|
-
<h4 class="name" id="
|
|
2333
|
-
<a class="href-link" href="#
|
|
2355
|
+
<h4 class="name" id="getRasterLayer">
|
|
2356
|
+
<a class="href-link" href="#getRasterLayer">#</a>
|
|
2334
2357
|
|
|
2335
2358
|
<span class="code-name" style="font-size:30px">
|
|
2336
2359
|
|
|
2337
|
-
|
|
2360
|
+
getRasterLayer<span class="signature">(layerID, sourceID, layer, layerView)</span>
|
|
2338
2361
|
|
|
2339
2362
|
</span>
|
|
2340
2363
|
</h4>
|
|
@@ -2342,7 +2365,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2342
2365
|
|
|
2343
2366
|
|
|
2344
2367
|
<div class="description">
|
|
2345
|
-
<p
|
|
2368
|
+
<p>获取瓦片图层的初始化参数</p>
|
|
2346
2369
|
</div>
|
|
2347
2370
|
|
|
2348
2371
|
|
|
@@ -2378,7 +2401,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2378
2401
|
|
|
2379
2402
|
<tr class="deep-level-0">
|
|
2380
2403
|
|
|
2381
|
-
<td class="name"><code>
|
|
2404
|
+
<td class="name"><code>layerID</code></td>
|
|
2382
2405
|
|
|
2383
2406
|
|
|
2384
2407
|
<td class="type">
|
|
@@ -2392,31 +2415,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2392
2415
|
|
|
2393
2416
|
|
|
2394
2417
|
|
|
2395
|
-
<td class="description last"><p
|
|
2396
|
-
</tr>
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
<tr class="deep-level-0">
|
|
2404
|
-
|
|
2405
|
-
<td class="name"><code>tileSize</code></td>
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
<td class="type">
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
<span class="param-type">Layer</span>
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
</td>
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
<td class="description last"><p>瓦片大小</p></td>
|
|
2418
|
+
<td class="description last"><p>图层id</p></td>
|
|
2420
2419
|
</tr>
|
|
2421
2420
|
|
|
2422
2421
|
|
|
@@ -2426,7 +2425,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2426
2425
|
|
|
2427
2426
|
<tr class="deep-level-0">
|
|
2428
2427
|
|
|
2429
|
-
<td class="name"><code>
|
|
2428
|
+
<td class="name"><code>sourceID</code></td>
|
|
2430
2429
|
|
|
2431
2430
|
|
|
2432
2431
|
<td class="type">
|
|
@@ -2440,31 +2439,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2440
2439
|
|
|
2441
2440
|
|
|
2442
2441
|
|
|
2443
|
-
<td class="description last"><p
|
|
2444
|
-
</tr>
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
<tr class="deep-level-0">
|
|
2452
|
-
|
|
2453
|
-
<td class="name"><code>subDomains</code></td>
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
<td class="type">
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
<span class="param-type">Array.<String></span>
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
</td>
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
<td class="description last"><p>子域名占位符</p></td>
|
|
2442
|
+
<td class="description last"><p>图层关联的数据源id</p></td>
|
|
2468
2443
|
</tr>
|
|
2469
2444
|
|
|
2470
2445
|
|
|
@@ -2474,13 +2449,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2474
2449
|
|
|
2475
2450
|
<tr class="deep-level-0">
|
|
2476
2451
|
|
|
2477
|
-
<td class="name"><code>
|
|
2452
|
+
<td class="name"><code>layer</code></td>
|
|
2478
2453
|
|
|
2479
2454
|
|
|
2480
2455
|
<td class="type">
|
|
2481
2456
|
|
|
2482
2457
|
|
|
2483
|
-
<span class="param-type">
|
|
2458
|
+
<span class="param-type">Layer</span>
|
|
2484
2459
|
|
|
2485
2460
|
|
|
2486
2461
|
|
|
@@ -2488,7 +2463,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2488
2463
|
|
|
2489
2464
|
|
|
2490
2465
|
|
|
2491
|
-
<td class="description last"><p
|
|
2466
|
+
<td class="description last"><p>common的layer对象</p></td>
|
|
2492
2467
|
</tr>
|
|
2493
2468
|
|
|
2494
2469
|
|
|
@@ -2498,13 +2473,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2498
2473
|
|
|
2499
2474
|
<tr class="deep-level-0">
|
|
2500
2475
|
|
|
2501
|
-
<td class="name"><code>
|
|
2476
|
+
<td class="name"><code>layerView</code></td>
|
|
2502
2477
|
|
|
2503
2478
|
|
|
2504
2479
|
<td class="type">
|
|
2505
2480
|
|
|
2506
2481
|
|
|
2507
|
-
<span class="param-type">
|
|
2482
|
+
<span class="param-type">LayerView</span>
|
|
2508
2483
|
|
|
2509
2484
|
|
|
2510
2485
|
|
|
@@ -2512,7 +2487,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2512
2487
|
|
|
2513
2488
|
|
|
2514
2489
|
|
|
2515
|
-
<td class="description last"><p
|
|
2490
|
+
<td class="description last"><p>图层视图对象</p></td>
|
|
2516
2491
|
</tr>
|
|
2517
2492
|
|
|
2518
2493
|
|
|
@@ -2586,7 +2561,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2586
2561
|
|
|
2587
2562
|
<div class="columns">
|
|
2588
2563
|
|
|
2589
|
-
<div class='param-desc column is-7'><p
|
|
2564
|
+
<div class='param-desc column is-7'><p>图层构造参数</p></div>
|
|
2590
2565
|
|
|
2591
2566
|
|
|
2592
2567
|
<div class='column is-5 has-text-left'>
|
|
@@ -2614,12 +2589,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2614
2589
|
|
|
2615
2590
|
|
|
2616
2591
|
|
|
2617
|
-
<h4 class="name" id="
|
|
2618
|
-
<a class="href-link" href="#
|
|
2592
|
+
<h4 class="name" id="getRasterSource">
|
|
2593
|
+
<a class="href-link" href="#getRasterSource">#</a>
|
|
2619
2594
|
|
|
2620
2595
|
<span class="code-name" style="font-size:30px">
|
|
2621
2596
|
|
|
2622
|
-
|
|
2597
|
+
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea, decryptOptions)</span>
|
|
2623
2598
|
|
|
2624
2599
|
</span>
|
|
2625
2600
|
</h4>
|
|
@@ -2627,7 +2602,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2627
2602
|
|
|
2628
2603
|
|
|
2629
2604
|
<div class="description">
|
|
2630
|
-
<p
|
|
2605
|
+
<p>获取瓦片图层的数据源</p>
|
|
2631
2606
|
</div>
|
|
2632
2607
|
|
|
2633
2608
|
|
|
@@ -2663,13 +2638,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2663
2638
|
|
|
2664
2639
|
<tr class="deep-level-0">
|
|
2665
2640
|
|
|
2666
|
-
<td class="name"><code>
|
|
2641
|
+
<td class="name"><code>url</code></td>
|
|
2667
2642
|
|
|
2668
2643
|
|
|
2669
2644
|
<td class="type">
|
|
2670
2645
|
|
|
2671
2646
|
|
|
2672
|
-
<span class="param-type">
|
|
2647
|
+
<span class="param-type">String</span>
|
|
2673
2648
|
|
|
2674
2649
|
|
|
2675
2650
|
|
|
@@ -2677,32 +2652,341 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2677
2652
|
|
|
2678
2653
|
|
|
2679
2654
|
|
|
2680
|
-
<td class="description last"><p
|
|
2655
|
+
<td class="description last"><p>完整的出图链接地址</p></td>
|
|
2681
2656
|
</tr>
|
|
2682
2657
|
|
|
2683
2658
|
|
|
2684
2659
|
|
|
2685
2660
|
|
|
2686
|
-
</tbody>
|
|
2687
|
-
</table>
|
|
2688
|
-
</div>
|
|
2689
2661
|
|
|
2662
|
+
|
|
2663
|
+
<tr class="deep-level-0">
|
|
2664
|
+
|
|
2665
|
+
<td class="name"><code>tileSize</code></td>
|
|
2666
|
+
|
|
2690
2667
|
|
|
2668
|
+
<td class="type">
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
<span class="param-type">Layer</span>
|
|
2691
2672
|
|
|
2692
2673
|
|
|
2674
|
+
|
|
2675
|
+
</td>
|
|
2693
2676
|
|
|
2677
|
+
|
|
2694
2678
|
|
|
2695
|
-
<
|
|
2679
|
+
<td class="description last"><p>瓦片大小</p></td>
|
|
2680
|
+
</tr>
|
|
2696
2681
|
|
|
2697
|
-
|
|
2698
2682
|
|
|
2699
|
-
|
|
2700
2683
|
|
|
2701
|
-
|
|
2684
|
+
|
|
2702
2685
|
|
|
2703
|
-
|
|
2686
|
+
|
|
2687
|
+
<tr class="deep-level-0">
|
|
2688
|
+
|
|
2689
|
+
<td class="name"><code>renderMode</code></td>
|
|
2690
|
+
|
|
2704
2691
|
|
|
2705
|
-
|
|
2692
|
+
<td class="type">
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
<span class="param-type">String</span>
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
</td>
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
<td class="description last"><p>渲染模式</p></td>
|
|
2704
|
+
</tr>
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
<tr class="deep-level-0">
|
|
2712
|
+
|
|
2713
|
+
<td class="name"><code>subDomains</code></td>
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
<td class="type">
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
<span class="param-type">Array.<String></span>
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
</td>
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
<td class="description last"><p>子域名占位符</p></td>
|
|
2728
|
+
</tr>
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
<tr class="deep-level-0">
|
|
2736
|
+
|
|
2737
|
+
<td class="name"><code>requestParams</code></td>
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
<td class="type">
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
<span class="param-type">Object</span>
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
</td>
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
<td class="description last"><p>网络请求参数</p></td>
|
|
2752
|
+
</tr>
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
<tr class="deep-level-0">
|
|
2760
|
+
|
|
2761
|
+
<td class="name"><code>clippingArea</code></td>
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
<td class="type">
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
<span class="param-type">Object</span>
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
</td>
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
<td class="description last"><p>裁剪几何</p></td>
|
|
2776
|
+
</tr>
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
<tr class="deep-level-0">
|
|
2784
|
+
|
|
2785
|
+
<td class="name"><code>decryptOptions</code></td>
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
<td class="type">
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
<span class="param-type">Object</span>
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
</td>
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
<td class="description last"><p>解密信息</p></td>
|
|
2800
|
+
</tr>
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
</tbody>
|
|
2806
|
+
</table>
|
|
2807
|
+
</div>
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
<dl class="details">
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
</dl>
|
|
2847
|
+
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
<div class='columns method-parameter'>
|
|
2866
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
2867
|
+
<div class="column is-10">
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
<div class="columns">
|
|
2872
|
+
|
|
2873
|
+
<div class='param-desc column is-7'><p>数据源构造参数</p></div>
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
<div class='column is-5 has-text-left'>
|
|
2877
|
+
<label>类型: </label>
|
|
2878
|
+
|
|
2879
|
+
<span class="param-type">Object</span>
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
</div>
|
|
2883
|
+
|
|
2884
|
+
</div>
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
</div>
|
|
2888
|
+
</div>
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
</div>
|
|
2896
|
+
|
|
2897
|
+
<div class="member">
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
<h4 class="name" id="getSymbolLayout">
|
|
2902
|
+
<a class="href-link" href="#getSymbolLayout">#</a>
|
|
2903
|
+
|
|
2904
|
+
<span class="code-name" style="font-size:30px">
|
|
2905
|
+
|
|
2906
|
+
getSymbolLayout<span class="signature">(renderer)</span>
|
|
2907
|
+
|
|
2908
|
+
</span>
|
|
2909
|
+
</h4>
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
<div class="description">
|
|
2914
|
+
<p>获取圆符号聚类的layout样式</p>
|
|
2915
|
+
</div>
|
|
2916
|
+
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
<h4>参数:</h4>
|
|
2927
|
+
|
|
2928
|
+
<div class="table-container">
|
|
2929
|
+
<table class="params table">
|
|
2930
|
+
<thead>
|
|
2931
|
+
<tr>
|
|
2932
|
+
|
|
2933
|
+
<th>名称</th>
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
<th>类型</th>
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
<th class="last">描述</th>
|
|
2941
|
+
</tr>
|
|
2942
|
+
</thead>
|
|
2943
|
+
|
|
2944
|
+
<tbody>
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
<tr class="deep-level-0">
|
|
2949
|
+
|
|
2950
|
+
<td class="name"><code>renderer</code></td>
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
<td class="type">
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
<span class="param-type">ClusterRenderer</span>
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
|
|
2960
|
+
</td>
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
<td class="description last"><p>聚类渲染器对象</p></td>
|
|
2965
|
+
</tr>
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
|
|
2970
|
+
</tbody>
|
|
2971
|
+
</table>
|
|
2972
|
+
</div>
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
<dl class="details">
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2706
2990
|
|
|
2707
2991
|
|
|
2708
2992
|
|
|
@@ -2876,41 +3160,206 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2876
3160
|
</td>
|
|
2877
3161
|
|
|
2878
3162
|
|
|
2879
|
-
<td class="description last"><p>额外参数</p></td>
|
|
2880
|
-
</tr>
|
|
3163
|
+
<td class="description last"><p>额外参数</p></td>
|
|
3164
|
+
</tr>
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
<tr class="deep-level-1">
|
|
3170
|
+
|
|
3171
|
+
<td class="name"><code>opacity</code></td>
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
<td class="type">
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
<span class="param-type">Number</span>
|
|
3178
|
+
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
</td>
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
<td class="default">
|
|
3185
|
+
|
|
3186
|
+
1
|
|
3187
|
+
|
|
3188
|
+
</td>
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
<td class="description last"><p>图层透明度</p></td>
|
|
3192
|
+
</tr>
|
|
3193
|
+
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
|
|
3197
|
+
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
</tbody>
|
|
3201
|
+
</table>
|
|
3202
|
+
</div>
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
|
|
3206
|
+
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
<dl class="details">
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
|
|
3237
|
+
|
|
3238
|
+
|
|
3239
|
+
|
|
3240
|
+
|
|
3241
|
+
</dl>
|
|
3242
|
+
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
<div class='columns method-parameter'>
|
|
3261
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
3262
|
+
<div class="column is-10">
|
|
3263
|
+
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
<div class="columns">
|
|
3267
|
+
|
|
3268
|
+
<div class='param-desc column is-7'><p>paint mapbox的圆形聚类的paint样式</p></div>
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
<div class='column is-5 has-text-left'>
|
|
3272
|
+
<label>类型: </label>
|
|
3273
|
+
|
|
3274
|
+
<span class="param-type">Object</span>
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
</div>
|
|
3278
|
+
|
|
3279
|
+
</div>
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
</div>
|
|
3283
|
+
</div>
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
|
|
3288
|
+
|
|
3289
|
+
|
|
3290
|
+
</div>
|
|
3291
|
+
|
|
3292
|
+
<div class="member">
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
<h4 class="name" id="getSymbolsByRenderer">
|
|
3297
|
+
<a class="href-link" href="#getSymbolsByRenderer">#</a>
|
|
3298
|
+
|
|
3299
|
+
<span class="code-name" style="font-size:30px">
|
|
3300
|
+
|
|
3301
|
+
getSymbolsByRenderer<span class="signature">(renderer)</span>
|
|
3302
|
+
|
|
3303
|
+
</span>
|
|
3304
|
+
</h4>
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
<div class="description">
|
|
3309
|
+
<p>获取renderer所有符号</p>
|
|
3310
|
+
</div>
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
<h4>参数:</h4>
|
|
3322
|
+
|
|
3323
|
+
<div class="table-container">
|
|
3324
|
+
<table class="params table">
|
|
3325
|
+
<thead>
|
|
3326
|
+
<tr>
|
|
3327
|
+
|
|
3328
|
+
<th>名称</th>
|
|
3329
|
+
|
|
3330
|
+
|
|
3331
|
+
<th>类型</th>
|
|
3332
|
+
|
|
3333
|
+
|
|
3334
|
+
|
|
3335
|
+
<th class="last">描述</th>
|
|
3336
|
+
</tr>
|
|
3337
|
+
</thead>
|
|
2881
3338
|
|
|
3339
|
+
<tbody>
|
|
3340
|
+
|
|
2882
3341
|
|
|
3342
|
+
|
|
3343
|
+
<tr class="deep-level-0">
|
|
2883
3344
|
|
|
2884
|
-
|
|
2885
|
-
<tr class="deep-level-1">
|
|
2886
|
-
|
|
2887
|
-
<td class="name"><code>opacity</code></td>
|
|
3345
|
+
<td class="name"><code>renderer</code></td>
|
|
2888
3346
|
|
|
2889
3347
|
|
|
2890
3348
|
<td class="type">
|
|
2891
3349
|
|
|
2892
3350
|
|
|
2893
|
-
<span class="param-type"
|
|
3351
|
+
<span class="param-type">*</span>
|
|
2894
3352
|
|
|
2895
3353
|
|
|
2896
3354
|
|
|
2897
3355
|
</td>
|
|
2898
3356
|
|
|
2899
3357
|
|
|
2900
|
-
<td class="default">
|
|
2901
|
-
|
|
2902
|
-
1
|
|
2903
|
-
|
|
2904
|
-
</td>
|
|
2905
|
-
|
|
2906
3358
|
|
|
2907
|
-
<td class="description last"
|
|
3359
|
+
<td class="description last"></td>
|
|
2908
3360
|
</tr>
|
|
2909
3361
|
|
|
2910
3362
|
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
3363
|
|
|
2915
3364
|
|
|
2916
3365
|
</tbody>
|
|
@@ -2981,13 +3430,11 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2981
3430
|
|
|
2982
3431
|
<div class="columns">
|
|
2983
3432
|
|
|
2984
|
-
<div class='param-desc column is-7'><p>paint mapbox的圆形聚类的paint样式</p></div>
|
|
2985
|
-
|
|
2986
3433
|
|
|
2987
3434
|
<div class='column is-5 has-text-left'>
|
|
2988
3435
|
<label>类型: </label>
|
|
2989
3436
|
|
|
2990
|
-
<span class="param-type"
|
|
3437
|
+
<span class="param-type">*</span>
|
|
2991
3438
|
|
|
2992
3439
|
|
|
2993
3440
|
</div>
|
|
@@ -3583,238 +4030,6 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
3583
4030
|
|
|
3584
4031
|
|
|
3585
4032
|
|
|
3586
|
-
</div>
|
|
3587
|
-
|
|
3588
|
-
<div class="member">
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
<h4 class="name" id="initializeOptions">
|
|
3593
|
-
<a class="href-link" href="#initializeOptions">#</a>
|
|
3594
|
-
|
|
3595
|
-
<span class="code-name" style="font-size:30px">
|
|
3596
|
-
|
|
3597
|
-
initializeOptions<span class="signature">(layer, options)</span>
|
|
3598
|
-
|
|
3599
|
-
</span>
|
|
3600
|
-
</h4>
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
<h4>参数:</h4>
|
|
3614
|
-
|
|
3615
|
-
<div class="table-container">
|
|
3616
|
-
<table class="params table">
|
|
3617
|
-
<thead>
|
|
3618
|
-
<tr>
|
|
3619
|
-
|
|
3620
|
-
<th>名称</th>
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
<th>类型</th>
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
<th class="last">描述</th>
|
|
3628
|
-
</tr>
|
|
3629
|
-
</thead>
|
|
3630
|
-
|
|
3631
|
-
<tbody>
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
<tr class="deep-level-0">
|
|
3636
|
-
|
|
3637
|
-
<td class="name"><code>layer</code></td>
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
<td class="type">
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
<span class="param-type">Layer</span>
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
</td>
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
<td class="description last"><p>common层定义的图层对象</p></td>
|
|
3652
|
-
</tr>
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
<tr class="deep-level-0">
|
|
3660
|
-
|
|
3661
|
-
<td class="name"><code>options</code></td>
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
<td class="type">
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
<span class="param-type">Object</span>
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
</td>
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
<td class="description last"><p>构造传入参数</p></td>
|
|
3676
|
-
</tr>
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
<tr class="deep-level-1">
|
|
3682
|
-
|
|
3683
|
-
<td class="name"><code>featureSet</code></td>
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
<td class="type">
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
<span class="param-type">FeatureSet</span>
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
</td>
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
<td class="description last"><p>要素数据集对象。仅在使用矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)时有效,外部必须传入FeatureSet对象</p></td>
|
|
3698
|
-
</tr>
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
<tr class="deep-level-1">
|
|
3704
|
-
|
|
3705
|
-
<td class="name"><code>mapboxglMap</code></td>
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
<td class="type">
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
<span class="param-type">Object</span>
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
</td>
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
<td class="description last"><p>mapboxglMap地图对象。矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)以及几何图层(GraphicsLayer)必传。传入主要是构建图片资源管理器,保证符号正常加载。</p></td>
|
|
3720
|
-
</tr>
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
</tbody>
|
|
3729
|
-
</table>
|
|
3730
|
-
</div>
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
<dl class="details">
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
</dl>
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
<div class='columns method-parameter'>
|
|
3789
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
3790
|
-
<div class="column is-10">
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
<div class="columns">
|
|
3795
|
-
|
|
3796
|
-
<div class='param-desc column is-7'><p>返回JSON对象</p></div>
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
<div class='column is-5 has-text-left'>
|
|
3800
|
-
<label>类型: </label>
|
|
3801
|
-
|
|
3802
|
-
<span class="param-type">Object</span>
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
</div>
|
|
3806
|
-
|
|
3807
|
-
</div>
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
</div>
|
|
3811
|
-
</div>
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
4033
|
</div>
|
|
3819
4034
|
|
|
3820
4035
|
<div class="member">
|