@mapgis/webclient-common 17.2.5 → 17.2.6
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.
|
@@ -547,6 +547,72 @@ off-screen: 使用矢量瓦片来绘制注记<br/>
|
|
|
547
547
|
|
|
548
548
|
|
|
549
549
|
|
|
550
|
+
|
|
551
|
+
<tr class="deep-level-1">
|
|
552
|
+
|
|
553
|
+
<td class="name"><code>replaceStyleURL</code></td>
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
<td class="type">
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
<span class="param-type">
|
|
560
|
+
|
|
561
|
+
Boolean
|
|
562
|
+
|
|
563
|
+
</span>
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
</td>
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
<td class="default">
|
|
572
|
+
|
|
573
|
+
true
|
|
574
|
+
|
|
575
|
+
</td>
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
<td class="description last"><p>初始化图层时,是否将样式中的基地址替换为图层的基地址</p></td>
|
|
579
|
+
</tr>
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
<tr class="deep-level-1">
|
|
585
|
+
|
|
586
|
+
<td class="name"><code>replaceStyleURLRegExp</code></td>
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
<td class="type">
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
<span class="param-type">
|
|
593
|
+
|
|
594
|
+
RegExp
|
|
595
|
+
|
|
596
|
+
</span>
|
|
597
|
+
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
</td>
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
<td class="default">
|
|
605
|
+
|
|
606
|
+
'预定义的正则表达式'
|
|
607
|
+
|
|
608
|
+
</td>
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
<td class="description last"><p>当replaceStyleURL设置为true时,将样式中的基地址替换为图层的基地址操作中使用的正则表达式</p></td>
|
|
612
|
+
</tr>
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
550
616
|
|
|
551
617
|
|
|
552
618
|
|
|
@@ -1309,6 +1375,42 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1309
1375
|
<td class="name"><code><p>mvt矢量瓦片相对坐标范围,默认为4096,表示矢量瓦片相对坐标的范围为0到4096</p></code></td>
|
|
1310
1376
|
</tr>
|
|
1311
1377
|
|
|
1378
|
+
<tr class="deep-level-0">
|
|
1379
|
+
<td class="name"><code><a href="#replaceStyleURL">replaceStyleURL</a></code></td>
|
|
1380
|
+
<td class="name">
|
|
1381
|
+
<code>
|
|
1382
|
+
|
|
1383
|
+
<span class="param-type">
|
|
1384
|
+
|
|
1385
|
+
Boolean
|
|
1386
|
+
|
|
1387
|
+
</span>
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
</code>
|
|
1392
|
+
</td>
|
|
1393
|
+
<td class="name"><code><p>初始化图层时,是否将样式中的基地址替换为图层的基地址</p></code></td>
|
|
1394
|
+
</tr>
|
|
1395
|
+
|
|
1396
|
+
<tr class="deep-level-0">
|
|
1397
|
+
<td class="name"><code><a href="#replaceStyleURLRegExp">replaceStyleURLRegExp</a></code></td>
|
|
1398
|
+
<td class="name">
|
|
1399
|
+
<code>
|
|
1400
|
+
|
|
1401
|
+
<span class="param-type">
|
|
1402
|
+
|
|
1403
|
+
RegExp
|
|
1404
|
+
|
|
1405
|
+
</span>
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
</code>
|
|
1410
|
+
</td>
|
|
1411
|
+
<td class="name"><code><p>当replaceStyleURL设置为true时,将样式中的基地址替换为图层的基地址操作中使用的正则表达式</p></code></td>
|
|
1412
|
+
</tr>
|
|
1413
|
+
|
|
1312
1414
|
<tr class="deep-level-0">
|
|
1313
1415
|
<td class="name"><code><a href="#style">style</a></code></td>
|
|
1314
1416
|
<td class="name">
|
|
@@ -1920,6 +2022,161 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
1920
2022
|
<dd class="tag-default"><ul class="dummy">
|
|
1921
2023
|
<li>4096</li>
|
|
1922
2024
|
</ul></dd>
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
</dl>
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
</div>
|
|
2040
|
+
|
|
2041
|
+
<div class="member">
|
|
2042
|
+
|
|
2043
|
+
<span class="method-parameter is-pulled-right">
|
|
2044
|
+
<label>类型:</label>
|
|
2045
|
+
|
|
2046
|
+
<span class="param-type">
|
|
2047
|
+
|
|
2048
|
+
Boolean
|
|
2049
|
+
|
|
2050
|
+
</span>
|
|
2051
|
+
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
</span>
|
|
2055
|
+
|
|
2056
|
+
<h4 class="name" id="replaceStyleURL">
|
|
2057
|
+
<a class="href-link" href="#replaceStyleURL">#</a>
|
|
2058
|
+
|
|
2059
|
+
<span class="code-name">
|
|
2060
|
+
replaceStyleURL
|
|
2061
|
+
</span>
|
|
2062
|
+
|
|
2063
|
+
</h4>
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
|
|
2068
|
+
<div class="description">
|
|
2069
|
+
<p>初始化图层时,是否将样式中的基地址替换为图层的基地址</p>
|
|
2070
|
+
</div>
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
|
|
2076
|
+
<dl class="details">
|
|
2077
|
+
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
<dt class="tag-default">Default Value:</dt>
|
|
2102
|
+
<dd class="tag-default"><ul class="dummy">
|
|
2103
|
+
<li>true</li>
|
|
2104
|
+
</ul></dd>
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
|
|
2113
|
+
</dl>
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
</div>
|
|
2120
|
+
|
|
2121
|
+
<div class="member">
|
|
2122
|
+
|
|
2123
|
+
<span class="method-parameter is-pulled-right">
|
|
2124
|
+
<label>类型:</label>
|
|
2125
|
+
|
|
2126
|
+
<span class="param-type">
|
|
2127
|
+
|
|
2128
|
+
RegExp
|
|
2129
|
+
|
|
2130
|
+
</span>
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
</span>
|
|
2135
|
+
|
|
2136
|
+
<h4 class="name" id="replaceStyleURLRegExp">
|
|
2137
|
+
<a class="href-link" href="#replaceStyleURLRegExp">#</a>
|
|
2138
|
+
|
|
2139
|
+
<span class="code-name">
|
|
2140
|
+
replaceStyleURLRegExp
|
|
2141
|
+
</span>
|
|
2142
|
+
|
|
2143
|
+
</h4>
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
<div class="description">
|
|
2149
|
+
<p>当replaceStyleURL设置为true时,将样式中的基地址替换为图层的基地址操作中使用的正则表达式</p>
|
|
2150
|
+
</div>
|
|
2151
|
+
|
|
2152
|
+
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
|
|
2156
|
+
<dl class="details">
|
|
2157
|
+
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
|
|
1923
2180
|
|
|
1924
2181
|
|
|
1925
2182
|
|
package/documention/Map.html
CHANGED
|
@@ -962,7 +962,7 @@ const map = new Map({
|
|
|
962
962
|
|
|
963
963
|
</code>
|
|
964
964
|
</td>
|
|
965
|
-
<td class="name"><code></code></td>
|
|
965
|
+
<td class="name"><code><p>获取地图范围,并更新内部使用的底图范围(4326参考系)</p></code></td>
|
|
966
966
|
</tr>
|
|
967
967
|
|
|
968
968
|
<tr class="deep-level-0">
|
|
@@ -2255,6 +2255,10 @@ map.findLayerById('图层id');</code></pre>
|
|
|
2255
2255
|
|
|
2256
2256
|
|
|
2257
2257
|
|
|
2258
|
+
<div class="description">
|
|
2259
|
+
<p>获取地图范围,并更新内部使用的底图范围(4326参考系)</p>
|
|
2260
|
+
</div>
|
|
2261
|
+
|
|
2258
2262
|
|
|
2259
2263
|
|
|
2260
2264
|
|
|
@@ -2327,7 +2331,7 @@ map.findLayerById('图层id');</code></pre>
|
|
|
2327
2331
|
|
|
2328
2332
|
<div class="columns">
|
|
2329
2333
|
|
|
2330
|
-
<div class='param-desc column is-7'><p
|
|
2334
|
+
<div class='param-desc column is-7'><p>地图范围,参考系和Map的参考系保持一致</p></div>
|
|
2331
2335
|
|
|
2332
2336
|
|
|
2333
2337
|
<div class='column is-5 has-text-left'>
|