@mapgis/webclient-mapboxgl-plugin 17.4.1 → 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 +57 -1
- package/dist/es5/webclient-common.min.js +32 -6
- package/dist/es5/webclient-mapboxgl-plugin.min.js +1 -1
- package/dist/webclient-mapboxgl-plugin-es6.min.js +1 -1
- package/documention/EchartsLayer.html +2 -2
- package/documention/MapView.html +176 -87
- package/documention/MapViewMapboxgl.html +935 -287
- package/documention/Popup.html +3 -3
- package/documention/Screenshot.html +2 -2
- package/documention/SketchEditor.html +12 -12
- package/documention/SketchEditorMapboxgl.html +477 -241
- package/documention/global.html +607 -394
- package/documention/index.html +2 -2
- 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 +6 -2
- package/package.json +4 -4
package/documention/global.html
CHANGED
|
@@ -104,7 +104,7 @@
|
|
|
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
108
|
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
|
|
109
109
|
参考示例:
|
|
110
110
|
<a href='#MapView'>[初始化二维场景视图]</a>
|
|
@@ -117,7 +117,7 @@ import { MapView } from '@mapgis/webclient-mapboxgl-plugin' <br/></p></span></li
|
|
|
117
117
|
[ES6引入方式]:<br/>
|
|
118
118
|
import { Popup } from '@mapgis/webclient-mapboxgl-plugin' <br/>
|
|
119
119
|
自定义样式说明:<br/>
|
|
120
|
-
zondy-
|
|
120
|
+
zondy-popup__container 弹窗容器样式<br/>
|
|
121
121
|
zondy-popup__tip 弹窗对话框箭头样式<br/>
|
|
122
122
|
zondy-popup__header 弹窗头部样式<br/>
|
|
123
123
|
zondy-popup__content 弹窗主体样式<br/>
|
|
@@ -1656,18 +1656,22 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1656
1656
|
|
|
1657
1657
|
|
|
1658
1658
|
|
|
1659
|
-
<h4 class="name" id="
|
|
1660
|
-
<a class="href-link" href="#
|
|
1659
|
+
<h4 class="name" id="getCustomRasterSourcesAndStyleLayers">
|
|
1660
|
+
<a class="href-link" href="#getCustomRasterSourcesAndStyleLayers">#</a>
|
|
1661
1661
|
|
|
1662
1662
|
<span class="code-name" style="font-size:30px">
|
|
1663
1663
|
|
|
1664
|
-
|
|
1664
|
+
getCustomRasterSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
1665
1665
|
|
|
1666
1666
|
</span>
|
|
1667
1667
|
</h4>
|
|
1668
1668
|
|
|
1669
1669
|
|
|
1670
1670
|
|
|
1671
|
+
<div class="description">
|
|
1672
|
+
<p>获取自定义rasterTileLayer的innerLayer对象</p>
|
|
1673
|
+
</div>
|
|
1674
|
+
|
|
1671
1675
|
|
|
1672
1676
|
|
|
1673
1677
|
|
|
@@ -1707,7 +1711,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1707
1711
|
<td class="type">
|
|
1708
1712
|
|
|
1709
1713
|
|
|
1710
|
-
<span class="param-type"
|
|
1714
|
+
<span class="param-type">Layer</span>
|
|
1711
1715
|
|
|
1712
1716
|
|
|
1713
1717
|
|
|
@@ -1715,7 +1719,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1715
1719
|
|
|
1716
1720
|
|
|
1717
1721
|
|
|
1718
|
-
<td class="description last"></td>
|
|
1722
|
+
<td class="description last"><p>瓦片大小</p></td>
|
|
1719
1723
|
</tr>
|
|
1720
1724
|
|
|
1721
1725
|
|
|
@@ -1731,7 +1735,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1731
1735
|
<td class="type">
|
|
1732
1736
|
|
|
1733
1737
|
|
|
1734
|
-
<span class="param-type"
|
|
1738
|
+
<span class="param-type">Object</span>
|
|
1735
1739
|
|
|
1736
1740
|
|
|
1737
1741
|
|
|
@@ -1739,7 +1743,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1739
1743
|
|
|
1740
1744
|
|
|
1741
1745
|
|
|
1742
|
-
<td class="description last"></td>
|
|
1746
|
+
<td class="description last"><p>渲染模式</p></td>
|
|
1743
1747
|
</tr>
|
|
1744
1748
|
|
|
1745
1749
|
|
|
@@ -1747,13 +1751,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1747
1751
|
|
|
1748
1752
|
<tr class="deep-level-1">
|
|
1749
1753
|
|
|
1750
|
-
<td class="name"><code>
|
|
1754
|
+
<td class="name"><code>layerView</code></td>
|
|
1751
1755
|
|
|
1752
1756
|
|
|
1753
1757
|
<td class="type">
|
|
1754
1758
|
|
|
1755
1759
|
|
|
1756
|
-
<span class="param-type">
|
|
1760
|
+
<span class="param-type">LayerView</span>
|
|
1757
1761
|
|
|
1758
1762
|
|
|
1759
1763
|
|
|
@@ -1761,7 +1765,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1761
1765
|
|
|
1762
1766
|
|
|
1763
1767
|
|
|
1764
|
-
<td class="description last"><p
|
|
1768
|
+
<td class="description last"><p>图层的layerView对象</p></td>
|
|
1765
1769
|
</tr>
|
|
1766
1770
|
|
|
1767
1771
|
|
|
@@ -1769,7 +1773,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1769
1773
|
|
|
1770
1774
|
<tr class="deep-level-1">
|
|
1771
1775
|
|
|
1772
|
-
<td class="name"><code>
|
|
1776
|
+
<td class="name"><code>minZoom</code></td>
|
|
1773
1777
|
|
|
1774
1778
|
|
|
1775
1779
|
<td class="type">
|
|
@@ -1783,7 +1787,29 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1783
1787
|
|
|
1784
1788
|
|
|
1785
1789
|
|
|
1786
|
-
<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>
|
|
1787
1813
|
</tr>
|
|
1788
1814
|
|
|
1789
1815
|
|
|
@@ -1860,11 +1886,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1860
1886
|
|
|
1861
1887
|
<div class="columns">
|
|
1862
1888
|
|
|
1889
|
+
<div class='param-desc column is-7'><p>Sources和StyleLayers对象</p></div>
|
|
1890
|
+
|
|
1863
1891
|
|
|
1864
1892
|
<div class='column is-5 has-text-left'>
|
|
1865
1893
|
<label>类型: </label>
|
|
1866
1894
|
|
|
1867
|
-
<span class="param-type"
|
|
1895
|
+
<span class="param-type">Object</span>
|
|
1868
1896
|
|
|
1869
1897
|
|
|
1870
1898
|
</div>
|
|
@@ -1886,12 +1914,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1886
1914
|
|
|
1887
1915
|
|
|
1888
1916
|
|
|
1889
|
-
<h4 class="name" id="
|
|
1890
|
-
<a class="href-link" href="#
|
|
1917
|
+
<h4 class="name" id="getGeoJSONSourcesAndStyleLayers">
|
|
1918
|
+
<a class="href-link" href="#getGeoJSONSourcesAndStyleLayers">#</a>
|
|
1891
1919
|
|
|
1892
1920
|
<span class="code-name" style="font-size:30px">
|
|
1893
1921
|
|
|
1894
|
-
|
|
1922
|
+
getGeoJSONSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
1895
1923
|
|
|
1896
1924
|
</span>
|
|
1897
1925
|
</h4>
|
|
@@ -1975,6 +2003,28 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1975
2003
|
|
|
1976
2004
|
|
|
1977
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
|
+
|
|
1978
2028
|
<tr class="deep-level-1">
|
|
1979
2029
|
|
|
1980
2030
|
<td class="name"><code>mapboxglMap</code></td>
|
|
@@ -2094,22 +2144,18 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2094
2144
|
|
|
2095
2145
|
|
|
2096
2146
|
|
|
2097
|
-
<h4 class="name" id="
|
|
2098
|
-
<a class="href-link" href="#
|
|
2147
|
+
<h4 class="name" id="getGraphicsSourcesAndStyleLayers">
|
|
2148
|
+
<a class="href-link" href="#getGraphicsSourcesAndStyleLayers">#</a>
|
|
2099
2149
|
|
|
2100
2150
|
<span class="code-name" style="font-size:30px">
|
|
2101
2151
|
|
|
2102
|
-
|
|
2152
|
+
getGraphicsSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
2103
2153
|
|
|
2104
2154
|
</span>
|
|
2105
2155
|
</h4>
|
|
2106
2156
|
|
|
2107
2157
|
|
|
2108
2158
|
|
|
2109
|
-
<div class="description">
|
|
2110
|
-
<p>获取瓦片图层的初始化参数</p>
|
|
2111
|
-
</div>
|
|
2112
|
-
|
|
2113
2159
|
|
|
2114
2160
|
|
|
2115
2161
|
|
|
@@ -2143,13 +2189,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2143
2189
|
|
|
2144
2190
|
<tr class="deep-level-0">
|
|
2145
2191
|
|
|
2146
|
-
<td class="name"><code>
|
|
2192
|
+
<td class="name"><code>layer</code></td>
|
|
2147
2193
|
|
|
2148
2194
|
|
|
2149
2195
|
<td class="type">
|
|
2150
2196
|
|
|
2151
2197
|
|
|
2152
|
-
<span class="param-type"
|
|
2198
|
+
<span class="param-type">*</span>
|
|
2153
2199
|
|
|
2154
2200
|
|
|
2155
2201
|
|
|
@@ -2157,7 +2203,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2157
2203
|
|
|
2158
2204
|
|
|
2159
2205
|
|
|
2160
|
-
<td class="description last"
|
|
2206
|
+
<td class="description last"></td>
|
|
2161
2207
|
</tr>
|
|
2162
2208
|
|
|
2163
2209
|
|
|
@@ -2167,13 +2213,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2167
2213
|
|
|
2168
2214
|
<tr class="deep-level-0">
|
|
2169
2215
|
|
|
2170
|
-
<td class="name"><code>
|
|
2216
|
+
<td class="name"><code>options</code></td>
|
|
2171
2217
|
|
|
2172
2218
|
|
|
2173
2219
|
<td class="type">
|
|
2174
2220
|
|
|
2175
2221
|
|
|
2176
|
-
<span class="param-type"
|
|
2222
|
+
<span class="param-type">*</span>
|
|
2177
2223
|
|
|
2178
2224
|
|
|
2179
2225
|
|
|
@@ -2181,23 +2227,21 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2181
2227
|
|
|
2182
2228
|
|
|
2183
2229
|
|
|
2184
|
-
<td class="description last"
|
|
2230
|
+
<td class="description last"></td>
|
|
2185
2231
|
</tr>
|
|
2186
2232
|
|
|
2187
2233
|
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
<tr class="deep-level-0">
|
|
2193
2234
|
|
|
2194
|
-
|
|
2235
|
+
|
|
2236
|
+
<tr class="deep-level-1">
|
|
2237
|
+
|
|
2238
|
+
<td class="name"><code>mapboxglMap</code></td>
|
|
2195
2239
|
|
|
2196
2240
|
|
|
2197
2241
|
<td class="type">
|
|
2198
2242
|
|
|
2199
2243
|
|
|
2200
|
-
<span class="param-type">
|
|
2244
|
+
<span class="param-type">Object</span>
|
|
2201
2245
|
|
|
2202
2246
|
|
|
2203
2247
|
|
|
@@ -2205,33 +2249,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2205
2249
|
|
|
2206
2250
|
|
|
2207
2251
|
|
|
2208
|
-
<td class="description last"><p>
|
|
2252
|
+
<td class="description last"><p>mapboxglMap地图对象。矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)以及几何图层(GraphicsLayer)必传。传入主要是构建图片资源管理器,保证符号正常加载。</p></td>
|
|
2209
2253
|
</tr>
|
|
2210
2254
|
|
|
2211
2255
|
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
<tr class="deep-level-0">
|
|
2217
|
-
|
|
2218
|
-
<td class="name"><code>layerView</code></td>
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
<td class="type">
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
<span class="param-type">LayerView</span>
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
</td>
|
|
2229
|
-
|
|
2230
2256
|
|
|
2231
2257
|
|
|
2232
|
-
<td class="description last"><p>图层视图对象</p></td>
|
|
2233
|
-
</tr>
|
|
2234
|
-
|
|
2235
2258
|
|
|
2236
2259
|
|
|
2237
2260
|
|
|
@@ -2303,13 +2326,11 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2303
2326
|
|
|
2304
2327
|
<div class="columns">
|
|
2305
2328
|
|
|
2306
|
-
<div class='param-desc column is-7'><p>图层构造参数</p></div>
|
|
2307
|
-
|
|
2308
2329
|
|
|
2309
2330
|
<div class='column is-5 has-text-left'>
|
|
2310
2331
|
<label>类型: </label>
|
|
2311
2332
|
|
|
2312
|
-
<span class="param-type"
|
|
2333
|
+
<span class="param-type">*</span>
|
|
2313
2334
|
|
|
2314
2335
|
|
|
2315
2336
|
</div>
|
|
@@ -2331,12 +2352,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2331
2352
|
|
|
2332
2353
|
|
|
2333
2354
|
|
|
2334
|
-
<h4 class="name" id="
|
|
2335
|
-
<a class="href-link" href="#
|
|
2355
|
+
<h4 class="name" id="getRasterLayer">
|
|
2356
|
+
<a class="href-link" href="#getRasterLayer">#</a>
|
|
2336
2357
|
|
|
2337
2358
|
<span class="code-name" style="font-size:30px">
|
|
2338
2359
|
|
|
2339
|
-
|
|
2360
|
+
getRasterLayer<span class="signature">(layerID, sourceID, layer, layerView)</span>
|
|
2340
2361
|
|
|
2341
2362
|
</span>
|
|
2342
2363
|
</h4>
|
|
@@ -2344,7 +2365,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2344
2365
|
|
|
2345
2366
|
|
|
2346
2367
|
<div class="description">
|
|
2347
|
-
<p
|
|
2368
|
+
<p>获取瓦片图层的初始化参数</p>
|
|
2348
2369
|
</div>
|
|
2349
2370
|
|
|
2350
2371
|
|
|
@@ -2380,7 +2401,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2380
2401
|
|
|
2381
2402
|
<tr class="deep-level-0">
|
|
2382
2403
|
|
|
2383
|
-
<td class="name"><code>
|
|
2404
|
+
<td class="name"><code>layerID</code></td>
|
|
2384
2405
|
|
|
2385
2406
|
|
|
2386
2407
|
<td class="type">
|
|
@@ -2394,31 +2415,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2394
2415
|
|
|
2395
2416
|
|
|
2396
2417
|
|
|
2397
|
-
<td class="description last"><p
|
|
2398
|
-
</tr>
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
<tr class="deep-level-0">
|
|
2406
|
-
|
|
2407
|
-
<td class="name"><code>tileSize</code></td>
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
<td class="type">
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
<span class="param-type">Layer</span>
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
</td>
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
<td class="description last"><p>瓦片大小</p></td>
|
|
2418
|
+
<td class="description last"><p>图层id</p></td>
|
|
2422
2419
|
</tr>
|
|
2423
2420
|
|
|
2424
2421
|
|
|
@@ -2428,7 +2425,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2428
2425
|
|
|
2429
2426
|
<tr class="deep-level-0">
|
|
2430
2427
|
|
|
2431
|
-
<td class="name"><code>
|
|
2428
|
+
<td class="name"><code>sourceID</code></td>
|
|
2432
2429
|
|
|
2433
2430
|
|
|
2434
2431
|
<td class="type">
|
|
@@ -2442,31 +2439,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2442
2439
|
|
|
2443
2440
|
|
|
2444
2441
|
|
|
2445
|
-
<td class="description last"><p
|
|
2446
|
-
</tr>
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
<tr class="deep-level-0">
|
|
2454
|
-
|
|
2455
|
-
<td class="name"><code>subDomains</code></td>
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
<td class="type">
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
<span class="param-type">Array.<String></span>
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
</td>
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
<td class="description last"><p>子域名占位符</p></td>
|
|
2442
|
+
<td class="description last"><p>图层关联的数据源id</p></td>
|
|
2470
2443
|
</tr>
|
|
2471
2444
|
|
|
2472
2445
|
|
|
@@ -2476,13 +2449,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2476
2449
|
|
|
2477
2450
|
<tr class="deep-level-0">
|
|
2478
2451
|
|
|
2479
|
-
<td class="name"><code>
|
|
2452
|
+
<td class="name"><code>layer</code></td>
|
|
2480
2453
|
|
|
2481
2454
|
|
|
2482
2455
|
<td class="type">
|
|
2483
2456
|
|
|
2484
2457
|
|
|
2485
|
-
<span class="param-type">
|
|
2458
|
+
<span class="param-type">Layer</span>
|
|
2486
2459
|
|
|
2487
2460
|
|
|
2488
2461
|
|
|
@@ -2490,7 +2463,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2490
2463
|
|
|
2491
2464
|
|
|
2492
2465
|
|
|
2493
|
-
<td class="description last"><p
|
|
2466
|
+
<td class="description last"><p>common的layer对象</p></td>
|
|
2494
2467
|
</tr>
|
|
2495
2468
|
|
|
2496
2469
|
|
|
@@ -2500,13 +2473,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2500
2473
|
|
|
2501
2474
|
<tr class="deep-level-0">
|
|
2502
2475
|
|
|
2503
|
-
<td class="name"><code>
|
|
2476
|
+
<td class="name"><code>layerView</code></td>
|
|
2504
2477
|
|
|
2505
2478
|
|
|
2506
2479
|
<td class="type">
|
|
2507
2480
|
|
|
2508
2481
|
|
|
2509
|
-
<span class="param-type">
|
|
2482
|
+
<span class="param-type">LayerView</span>
|
|
2510
2483
|
|
|
2511
2484
|
|
|
2512
2485
|
|
|
@@ -2514,7 +2487,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2514
2487
|
|
|
2515
2488
|
|
|
2516
2489
|
|
|
2517
|
-
<td class="description last"><p
|
|
2490
|
+
<td class="description last"><p>图层视图对象</p></td>
|
|
2518
2491
|
</tr>
|
|
2519
2492
|
|
|
2520
2493
|
|
|
@@ -2588,7 +2561,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2588
2561
|
|
|
2589
2562
|
<div class="columns">
|
|
2590
2563
|
|
|
2591
|
-
<div class='param-desc column is-7'><p
|
|
2564
|
+
<div class='param-desc column is-7'><p>图层构造参数</p></div>
|
|
2592
2565
|
|
|
2593
2566
|
|
|
2594
2567
|
<div class='column is-5 has-text-left'>
|
|
@@ -2616,12 +2589,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2616
2589
|
|
|
2617
2590
|
|
|
2618
2591
|
|
|
2619
|
-
<h4 class="name" id="
|
|
2620
|
-
<a class="href-link" href="#
|
|
2592
|
+
<h4 class="name" id="getRasterSource">
|
|
2593
|
+
<a class="href-link" href="#getRasterSource">#</a>
|
|
2621
2594
|
|
|
2622
2595
|
<span class="code-name" style="font-size:30px">
|
|
2623
2596
|
|
|
2624
|
-
|
|
2597
|
+
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea, decryptOptions)</span>
|
|
2625
2598
|
|
|
2626
2599
|
</span>
|
|
2627
2600
|
</h4>
|
|
@@ -2629,7 +2602,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2629
2602
|
|
|
2630
2603
|
|
|
2631
2604
|
<div class="description">
|
|
2632
|
-
<p
|
|
2605
|
+
<p>获取瓦片图层的数据源</p>
|
|
2633
2606
|
</div>
|
|
2634
2607
|
|
|
2635
2608
|
|
|
@@ -2665,13 +2638,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2665
2638
|
|
|
2666
2639
|
<tr class="deep-level-0">
|
|
2667
2640
|
|
|
2668
|
-
<td class="name"><code>
|
|
2641
|
+
<td class="name"><code>url</code></td>
|
|
2669
2642
|
|
|
2670
2643
|
|
|
2671
2644
|
<td class="type">
|
|
2672
2645
|
|
|
2673
2646
|
|
|
2674
|
-
<span class="param-type">
|
|
2647
|
+
<span class="param-type">String</span>
|
|
2675
2648
|
|
|
2676
2649
|
|
|
2677
2650
|
|
|
@@ -2679,32 +2652,341 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2679
2652
|
|
|
2680
2653
|
|
|
2681
2654
|
|
|
2682
|
-
<td class="description last"><p
|
|
2655
|
+
<td class="description last"><p>完整的出图链接地址</p></td>
|
|
2683
2656
|
</tr>
|
|
2684
2657
|
|
|
2685
2658
|
|
|
2686
2659
|
|
|
2687
2660
|
|
|
2688
|
-
</tbody>
|
|
2689
|
-
</table>
|
|
2690
|
-
</div>
|
|
2691
2661
|
|
|
2662
|
+
|
|
2663
|
+
<tr class="deep-level-0">
|
|
2664
|
+
|
|
2665
|
+
<td class="name"><code>tileSize</code></td>
|
|
2666
|
+
|
|
2692
2667
|
|
|
2668
|
+
<td class="type">
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
<span class="param-type">Layer</span>
|
|
2693
2672
|
|
|
2694
2673
|
|
|
2674
|
+
|
|
2675
|
+
</td>
|
|
2695
2676
|
|
|
2677
|
+
|
|
2696
2678
|
|
|
2697
|
-
<
|
|
2679
|
+
<td class="description last"><p>瓦片大小</p></td>
|
|
2680
|
+
</tr>
|
|
2698
2681
|
|
|
2699
|
-
|
|
2700
2682
|
|
|
2701
|
-
|
|
2702
2683
|
|
|
2703
|
-
|
|
2684
|
+
|
|
2704
2685
|
|
|
2705
|
-
|
|
2686
|
+
|
|
2687
|
+
<tr class="deep-level-0">
|
|
2688
|
+
|
|
2689
|
+
<td class="name"><code>renderMode</code></td>
|
|
2690
|
+
|
|
2706
2691
|
|
|
2707
|
-
|
|
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
|
+
|
|
2708
2990
|
|
|
2709
2991
|
|
|
2710
2992
|
|
|
@@ -2878,41 +3160,206 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2878
3160
|
</td>
|
|
2879
3161
|
|
|
2880
3162
|
|
|
2881
|
-
<td class="description last"><p>额外参数</p></td>
|
|
2882
|
-
</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>
|
|
2883
3338
|
|
|
3339
|
+
<tbody>
|
|
3340
|
+
|
|
2884
3341
|
|
|
3342
|
+
|
|
3343
|
+
<tr class="deep-level-0">
|
|
2885
3344
|
|
|
2886
|
-
|
|
2887
|
-
<tr class="deep-level-1">
|
|
2888
|
-
|
|
2889
|
-
<td class="name"><code>opacity</code></td>
|
|
3345
|
+
<td class="name"><code>renderer</code></td>
|
|
2890
3346
|
|
|
2891
3347
|
|
|
2892
3348
|
<td class="type">
|
|
2893
3349
|
|
|
2894
3350
|
|
|
2895
|
-
<span class="param-type"
|
|
3351
|
+
<span class="param-type">*</span>
|
|
2896
3352
|
|
|
2897
3353
|
|
|
2898
3354
|
|
|
2899
3355
|
</td>
|
|
2900
3356
|
|
|
2901
3357
|
|
|
2902
|
-
<td class="default">
|
|
2903
|
-
|
|
2904
|
-
1
|
|
2905
|
-
|
|
2906
|
-
</td>
|
|
2907
|
-
|
|
2908
3358
|
|
|
2909
|
-
<td class="description last"
|
|
3359
|
+
<td class="description last"></td>
|
|
2910
3360
|
</tr>
|
|
2911
3361
|
|
|
2912
3362
|
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
3363
|
|
|
2917
3364
|
|
|
2918
3365
|
</tbody>
|
|
@@ -2983,13 +3430,11 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2983
3430
|
|
|
2984
3431
|
<div class="columns">
|
|
2985
3432
|
|
|
2986
|
-
<div class='param-desc column is-7'><p>paint mapbox的圆形聚类的paint样式</p></div>
|
|
2987
|
-
|
|
2988
3433
|
|
|
2989
3434
|
<div class='column is-5 has-text-left'>
|
|
2990
3435
|
<label>类型: </label>
|
|
2991
3436
|
|
|
2992
|
-
<span class="param-type"
|
|
3437
|
+
<span class="param-type">*</span>
|
|
2993
3438
|
|
|
2994
3439
|
|
|
2995
3440
|
</div>
|
|
@@ -3585,238 +4030,6 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
3585
4030
|
|
|
3586
4031
|
|
|
3587
4032
|
|
|
3588
|
-
</div>
|
|
3589
|
-
|
|
3590
|
-
<div class="member">
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
<h4 class="name" id="initializeOptions">
|
|
3595
|
-
<a class="href-link" href="#initializeOptions">#</a>
|
|
3596
|
-
|
|
3597
|
-
<span class="code-name" style="font-size:30px">
|
|
3598
|
-
|
|
3599
|
-
initializeOptions<span class="signature">(layer, options)</span>
|
|
3600
|
-
|
|
3601
|
-
</span>
|
|
3602
|
-
</h4>
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
<h4>参数:</h4>
|
|
3616
|
-
|
|
3617
|
-
<div class="table-container">
|
|
3618
|
-
<table class="params table">
|
|
3619
|
-
<thead>
|
|
3620
|
-
<tr>
|
|
3621
|
-
|
|
3622
|
-
<th>名称</th>
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
<th>类型</th>
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
<th class="last">描述</th>
|
|
3630
|
-
</tr>
|
|
3631
|
-
</thead>
|
|
3632
|
-
|
|
3633
|
-
<tbody>
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
<tr class="deep-level-0">
|
|
3638
|
-
|
|
3639
|
-
<td class="name"><code>layer</code></td>
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
<td class="type">
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
<span class="param-type">Layer</span>
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
</td>
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
<td class="description last"><p>common层定义的图层对象</p></td>
|
|
3654
|
-
</tr>
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
<tr class="deep-level-0">
|
|
3662
|
-
|
|
3663
|
-
<td class="name"><code>options</code></td>
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
<td class="type">
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
<span class="param-type">Object</span>
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
</td>
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
<td class="description last"><p>构造传入参数</p></td>
|
|
3678
|
-
</tr>
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
<tr class="deep-level-1">
|
|
3684
|
-
|
|
3685
|
-
<td class="name"><code>featureSet</code></td>
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
<td class="type">
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
<span class="param-type">FeatureSet</span>
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
</td>
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
<td class="description last"><p>要素数据集对象。仅在使用矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)时有效,外部必须传入FeatureSet对象</p></td>
|
|
3700
|
-
</tr>
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
<tr class="deep-level-1">
|
|
3706
|
-
|
|
3707
|
-
<td class="name"><code>mapboxglMap</code></td>
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
<td class="type">
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
<span class="param-type">Object</span>
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
</td>
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
<td class="description last"><p>mapboxglMap地图对象。矢量图层(IGSFeatureLayer、GeoJSONLayer、WFSLayer)以及几何图层(GraphicsLayer)必传。传入主要是构建图片资源管理器,保证符号正常加载。</p></td>
|
|
3722
|
-
</tr>
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
</tbody>
|
|
3731
|
-
</table>
|
|
3732
|
-
</div>
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
<dl class="details">
|
|
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
|
-
|
|
3770
|
-
|
|
3771
|
-
</dl>
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
<div class='columns method-parameter'>
|
|
3791
|
-
<div class="column is-2"><label>返回值:</label></div>
|
|
3792
|
-
<div class="column is-10">
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
<div class="columns">
|
|
3797
|
-
|
|
3798
|
-
<div class='param-desc column is-7'><p>返回JSON对象</p></div>
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
<div class='column is-5 has-text-left'>
|
|
3802
|
-
<label>类型: </label>
|
|
3803
|
-
|
|
3804
|
-
<span class="param-type">Object</span>
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
</div>
|
|
3808
|
-
|
|
3809
|
-
</div>
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
</div>
|
|
3813
|
-
</div>
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
4033
|
</div>
|
|
3821
4034
|
|
|
3822
4035
|
<div class="member">
|