@mapgis/webclient-mapboxgl-plugin 17.4.1 → 17.6.1
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 +63 -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 +942 -339
- 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/>
|
|
@@ -213,6 +213,372 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
|
|
216
|
+
<h4 class="name" id="_getClassBreakStyle">
|
|
217
|
+
<a class="href-link" href="#_getClassBreakStyle">#</a>
|
|
218
|
+
|
|
219
|
+
<span class="code-name" style="font-size:30px">
|
|
220
|
+
|
|
221
|
+
_getClassBreakStyle<span class="signature">(styleOptions)</span>
|
|
222
|
+
|
|
223
|
+
</span>
|
|
224
|
+
</h4>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<div class="description">
|
|
229
|
+
<p>获取分段对应的mapbox样式对象</p>
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
<h4>参数:</h4>
|
|
242
|
+
|
|
243
|
+
<div class="table-container">
|
|
244
|
+
<table class="params table">
|
|
245
|
+
<thead>
|
|
246
|
+
<tr>
|
|
247
|
+
|
|
248
|
+
<th>名称</th>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
<th>类型</th>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<th class="last">描述</th>
|
|
256
|
+
</tr>
|
|
257
|
+
</thead>
|
|
258
|
+
|
|
259
|
+
<tbody>
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<tr class="deep-level-0">
|
|
264
|
+
|
|
265
|
+
<td class="name"><code>styleOptions</code></td>
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
<td class="type">
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<span class="param-type">Object</span>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
</td>
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
<td class="description last"><p>构造样式需要的参数</p></td>
|
|
280
|
+
</tr>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<tr class="deep-level-1">
|
|
286
|
+
|
|
287
|
+
<td class="name"><code>info</code></td>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<td class="type">
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<span class="param-type">Object</span>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
</td>
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<td class="description last"><p>单个分段参数对象</p></td>
|
|
302
|
+
</tr>
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
<tr class="deep-level-1">
|
|
308
|
+
|
|
309
|
+
<td class="name"><code>visible</code></td>
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
<td class="type">
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<span class="param-type">Boolean</span>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
</td>
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<td class="description last"><p>样式是否可以显示</p></td>
|
|
324
|
+
</tr>
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
<tr class="deep-level-1">
|
|
330
|
+
|
|
331
|
+
<td class="name"><code>opacity</code></td>
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
<td class="type">
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<span class="param-type">Number</span>
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
</td>
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<td class="description last"><p>样式透明度</p></td>
|
|
346
|
+
</tr>
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
<tr class="deep-level-1">
|
|
352
|
+
|
|
353
|
+
<td class="name"><code>convertSymbolOptions</code></td>
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
<td class="type">
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
<span class="param-type">Object</span>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
</td>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
<td class="description last"><p>convertSymbol方法需要的参数</p></td>
|
|
368
|
+
</tr>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
<tr class="deep-level-1">
|
|
374
|
+
|
|
375
|
+
<td class="name"><code>isLast</code></td>
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
<td class="type">
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<span class="param-type">Boolean</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
</td>
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
<td class="description last"><p>是否是最后一个分段</p></td>
|
|
390
|
+
</tr>
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
<tr class="deep-level-1">
|
|
396
|
+
|
|
397
|
+
<td class="name"><code>expression</code></td>
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
<td class="type">
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
<span class="param-type">String</span>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
</td>
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
<td class="description last"><p>样式表达式</p></td>
|
|
412
|
+
</tr>
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
<tr class="deep-level-1">
|
|
418
|
+
|
|
419
|
+
<td class="name"><code>renderer</code></td>
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
<td class="type">
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<span class="param-type">ClassBreakRenderer</span>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
</td>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
<td class="description last"><p>渲染器对象</p></td>
|
|
434
|
+
</tr>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
<tr class="deep-level-1">
|
|
440
|
+
|
|
441
|
+
<td class="name"><code>classBreakSpace</code></td>
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<td class="type">
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<span class="param-type">Array.<Object></span>
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
</td>
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
<td class="description last"><p>分段信息外的分段</p></td>
|
|
456
|
+
</tr>
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
<tr class="deep-level-1">
|
|
462
|
+
|
|
463
|
+
<td class="name"><code>sourceId</code></td>
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
<td class="type">
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<span class="param-type">String</span>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
</td>
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
<td class="description last"><p>sourceId</p></td>
|
|
478
|
+
</tr>
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
</tbody>
|
|
487
|
+
</table>
|
|
488
|
+
</div>
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<dl class="details">
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
</dl>
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
<div class='columns method-parameter'>
|
|
547
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
548
|
+
<div class="column is-10">
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
<div class="columns">
|
|
553
|
+
|
|
554
|
+
<div class='param-desc column is-7'><p>MapboxGL的样式对象</p></div>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
<div class='column is-5 has-text-left'>
|
|
558
|
+
<label>类型: </label>
|
|
559
|
+
|
|
560
|
+
<span class="param-type">Object</span>
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
</div>
|
|
564
|
+
|
|
565
|
+
</div>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
</div>
|
|
569
|
+
</div>
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
</div>
|
|
577
|
+
|
|
578
|
+
<div class="member">
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
216
582
|
<h4 class="name" id="addStyleToMapboxglMap">
|
|
217
583
|
<a class="href-link" href="#addStyleToMapboxglMap">#</a>
|
|
218
584
|
|
|
@@ -1157,74 +1523,184 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1157
1523
|
<td class="name"><code>visible</code></td>
|
|
1158
1524
|
|
|
1159
1525
|
|
|
1160
|
-
<td class="type">
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
<span class="param-type">*</span>
|
|
1526
|
+
<td class="type">
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
<span class="param-type">*</span>
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
</td>
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
<td class="description last"></td>
|
|
1538
|
+
</tr>
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
<tr class="deep-level-0">
|
|
1546
|
+
|
|
1547
|
+
<td class="name"><code>opacity</code></td>
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
<td class="type">
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
<span class="param-type">*</span>
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
</td>
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
<td class="description last"></td>
|
|
1562
|
+
</tr>
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
<tr class="deep-level-0">
|
|
1570
|
+
|
|
1571
|
+
<td class="name"><code>options</code></td>
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
<td class="type">
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
<span class="param-type">Object</span>
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
</td>
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
<td class="description last"><p>额外的参数,遵循最小输入原则</p></td>
|
|
1586
|
+
</tr>
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
</tbody>
|
|
1592
|
+
</table>
|
|
1593
|
+
</div>
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
<dl class="details">
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
</dl>
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
|
|
1164
1643
|
|
|
1165
1644
|
|
|
1166
|
-
|
|
1167
|
-
</td>
|
|
1168
1645
|
|
|
1169
|
-
|
|
1170
1646
|
|
|
1171
|
-
<td class="description last"></td>
|
|
1172
|
-
</tr>
|
|
1173
1647
|
|
|
1174
1648
|
|
|
1175
1649
|
|
|
1176
|
-
|
|
1177
1650
|
|
|
1651
|
+
<div class='columns method-parameter'>
|
|
1652
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
1653
|
+
<div class="column is-10">
|
|
1178
1654
|
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
<td class="name"><code>opacity</code></td>
|
|
1182
|
-
|
|
1655
|
+
|
|
1183
1656
|
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
<
|
|
1657
|
+
<div class="columns">
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
<div class='column is-5 has-text-left'>
|
|
1661
|
+
<label>类型: </label>
|
|
1662
|
+
|
|
1663
|
+
<span class="param-type">Array.<Object></span>
|
|
1188
1664
|
|
|
1189
1665
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1666
|
+
</div>
|
|
1667
|
+
|
|
1668
|
+
</div>
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
</div>
|
|
1672
|
+
</div>
|
|
1192
1673
|
|
|
1193
|
-
|
|
1194
1674
|
|
|
1195
|
-
<td class="description last"></td>
|
|
1196
|
-
</tr>
|
|
1197
1675
|
|
|
1198
1676
|
|
|
1199
1677
|
|
|
1200
|
-
|
|
1201
1678
|
|
|
1679
|
+
</div>
|
|
1202
1680
|
|
|
1203
|
-
<
|
|
1204
|
-
|
|
1205
|
-
<td class="name"><code>options</code></td>
|
|
1206
|
-
|
|
1681
|
+
<div class="member">
|
|
1207
1682
|
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
<
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
<h4 class="name" id="createUniqueValueRendererStyleLayers">
|
|
1686
|
+
<a class="href-link" href="#createUniqueValueRendererStyleLayers">#</a>
|
|
1687
|
+
|
|
1688
|
+
<span class="code-name" style="font-size:30px">
|
|
1689
|
+
|
|
1690
|
+
createUniqueValueRendererStyleLayers<span class="signature">()</span>
|
|
1691
|
+
|
|
1692
|
+
</span>
|
|
1693
|
+
</h4>
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
|
|
1212
1697
|
|
|
1213
1698
|
|
|
1214
|
-
|
|
1215
|
-
</td>
|
|
1216
1699
|
|
|
1217
|
-
|
|
1218
1700
|
|
|
1219
|
-
<td class="description last"><p>额外的参数,遵循最小输入原则</p></td>
|
|
1220
|
-
</tr>
|
|
1221
1701
|
|
|
1222
1702
|
|
|
1223
1703
|
|
|
1224
|
-
|
|
1225
|
-
</tbody>
|
|
1226
|
-
</table>
|
|
1227
|
-
</div>
|
|
1228
1704
|
|
|
1229
1705
|
|
|
1230
1706
|
|
|
@@ -1294,7 +1770,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1294
1770
|
<div class='column is-5 has-text-left'>
|
|
1295
1771
|
<label>类型: </label>
|
|
1296
1772
|
|
|
1297
|
-
<span class="param-type"
|
|
1773
|
+
<span class="param-type">*</span>
|
|
1298
1774
|
|
|
1299
1775
|
|
|
1300
1776
|
</div>
|
|
@@ -1316,25 +1792,143 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1316
1792
|
|
|
1317
1793
|
|
|
1318
1794
|
|
|
1319
|
-
<h4 class="name" id="
|
|
1320
|
-
<a class="href-link" href="#
|
|
1795
|
+
<h4 class="name" id="getClusterCirclePaint">
|
|
1796
|
+
<a class="href-link" href="#getClusterCirclePaint">#</a>
|
|
1321
1797
|
|
|
1322
1798
|
<span class="code-name" style="font-size:30px">
|
|
1323
1799
|
|
|
1324
|
-
|
|
1800
|
+
getClusterCirclePaint<span class="signature">(renderer, options)</span>
|
|
1325
1801
|
|
|
1326
1802
|
</span>
|
|
1327
1803
|
</h4>
|
|
1328
1804
|
|
|
1329
1805
|
|
|
1330
1806
|
|
|
1807
|
+
<div class="description">
|
|
1808
|
+
<p>获取圆形聚类的paint样式</p>
|
|
1809
|
+
</div>
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
<h4>参数:</h4>
|
|
1821
|
+
|
|
1822
|
+
<div class="table-container">
|
|
1823
|
+
<table class="params table">
|
|
1824
|
+
<thead>
|
|
1825
|
+
<tr>
|
|
1826
|
+
|
|
1827
|
+
<th>名称</th>
|
|
1828
|
+
|
|
1829
|
+
|
|
1830
|
+
<th>类型</th>
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
<th style="min-width: 100px;">默认值</th>
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
<th class="last">描述</th>
|
|
1837
|
+
</tr>
|
|
1838
|
+
</thead>
|
|
1839
|
+
|
|
1840
|
+
<tbody>
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
<tr class="deep-level-0">
|
|
1845
|
+
|
|
1846
|
+
<td class="name"><code>renderer</code></td>
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
<td class="type">
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
<span class="param-type">ClusterRenderer</span>
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
</td>
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
<td class="default">
|
|
1860
|
+
|
|
1861
|
+
</td>
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
<td class="description last"><p>聚类渲染器对象</p></td>
|
|
1865
|
+
</tr>
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
<tr class="deep-level-0">
|
|
1873
|
+
|
|
1874
|
+
<td class="name"><code>options</code></td>
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
<td class="type">
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
<span class="param-type">Object</span>
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
</td>
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
<td class="default">
|
|
1888
|
+
|
|
1889
|
+
</td>
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
<td class="description last"><p>额外参数</p></td>
|
|
1893
|
+
</tr>
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
<tr class="deep-level-1">
|
|
1899
|
+
|
|
1900
|
+
<td class="name"><code>opacity</code></td>
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
<td class="type">
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
<span class="param-type">Number</span>
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
</td>
|
|
1331
1911
|
|
|
1912
|
+
|
|
1913
|
+
<td class="default">
|
|
1914
|
+
|
|
1915
|
+
1
|
|
1916
|
+
|
|
1917
|
+
</td>
|
|
1918
|
+
|
|
1332
1919
|
|
|
1920
|
+
<td class="description last"><p>图层透明度</p></td>
|
|
1921
|
+
</tr>
|
|
1333
1922
|
|
|
1334
1923
|
|
|
1924
|
+
|
|
1335
1925
|
|
|
1336
1926
|
|
|
1337
1927
|
|
|
1928
|
+
|
|
1929
|
+
</tbody>
|
|
1930
|
+
</table>
|
|
1931
|
+
</div>
|
|
1338
1932
|
|
|
1339
1933
|
|
|
1340
1934
|
|
|
@@ -1400,11 +1994,13 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1400
1994
|
|
|
1401
1995
|
<div class="columns">
|
|
1402
1996
|
|
|
1997
|
+
<div class='param-desc column is-7'><p>paint mapbox的圆形聚类的paint样式</p></div>
|
|
1998
|
+
|
|
1403
1999
|
|
|
1404
2000
|
<div class='column is-5 has-text-left'>
|
|
1405
2001
|
<label>类型: </label>
|
|
1406
2002
|
|
|
1407
|
-
<span class="param-type"
|
|
2003
|
+
<span class="param-type">Object</span>
|
|
1408
2004
|
|
|
1409
2005
|
|
|
1410
2006
|
</div>
|
|
@@ -1426,12 +2022,12 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1426
2022
|
|
|
1427
2023
|
|
|
1428
2024
|
|
|
1429
|
-
<h4 class="name" id="
|
|
1430
|
-
<a class="href-link" href="#
|
|
2025
|
+
<h4 class="name" id="getCustomRasterSourcesAndStyleLayers">
|
|
2026
|
+
<a class="href-link" href="#getCustomRasterSourcesAndStyleLayers">#</a>
|
|
1431
2027
|
|
|
1432
2028
|
<span class="code-name" style="font-size:30px">
|
|
1433
2029
|
|
|
1434
|
-
|
|
2030
|
+
getCustomRasterSourcesAndStyleLayers<span class="signature">(layer, options)</span>
|
|
1435
2031
|
|
|
1436
2032
|
</span>
|
|
1437
2033
|
</h4>
|
|
@@ -1439,7 +2035,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1439
2035
|
|
|
1440
2036
|
|
|
1441
2037
|
<div class="description">
|
|
1442
|
-
<p
|
|
2038
|
+
<p>获取自定义rasterTileLayer的innerLayer对象</p>
|
|
1443
2039
|
</div>
|
|
1444
2040
|
|
|
1445
2041
|
|
|
@@ -1464,48 +2060,86 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1464
2060
|
<th>类型</th>
|
|
1465
2061
|
|
|
1466
2062
|
|
|
1467
|
-
<th style="min-width: 100px;">默认值</th>
|
|
1468
|
-
|
|
1469
2063
|
|
|
1470
2064
|
<th class="last">描述</th>
|
|
1471
2065
|
</tr>
|
|
1472
2066
|
</thead>
|
|
1473
2067
|
|
|
1474
|
-
<tbody>
|
|
1475
|
-
|
|
2068
|
+
<tbody>
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
<tr class="deep-level-0">
|
|
2073
|
+
|
|
2074
|
+
<td class="name"><code>layer</code></td>
|
|
2075
|
+
|
|
2076
|
+
|
|
2077
|
+
<td class="type">
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
<span class="param-type">Layer</span>
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
</td>
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
|
|
2088
|
+
<td class="description last"><p>瓦片大小</p></td>
|
|
2089
|
+
</tr>
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
<tr class="deep-level-0">
|
|
2097
|
+
|
|
2098
|
+
<td class="name"><code>options</code></td>
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
<td class="type">
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
<span class="param-type">Object</span>
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
</td>
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
<td class="description last"><p>渲染模式</p></td>
|
|
2113
|
+
</tr>
|
|
2114
|
+
|
|
1476
2115
|
|
|
1477
|
-
|
|
1478
|
-
<tr class="deep-level-0">
|
|
1479
2116
|
|
|
1480
|
-
|
|
2117
|
+
|
|
2118
|
+
<tr class="deep-level-1">
|
|
2119
|
+
|
|
2120
|
+
<td class="name"><code>layerView</code></td>
|
|
1481
2121
|
|
|
1482
2122
|
|
|
1483
2123
|
<td class="type">
|
|
1484
2124
|
|
|
1485
2125
|
|
|
1486
|
-
<span class="param-type">
|
|
2126
|
+
<span class="param-type">LayerView</span>
|
|
1487
2127
|
|
|
1488
2128
|
|
|
1489
2129
|
|
|
1490
2130
|
</td>
|
|
1491
2131
|
|
|
1492
2132
|
|
|
1493
|
-
<td class="default">
|
|
1494
|
-
|
|
1495
|
-
</td>
|
|
1496
|
-
|
|
1497
2133
|
|
|
1498
|
-
<td class="description last"><p
|
|
2134
|
+
<td class="description last"><p>图层的layerView对象</p></td>
|
|
1499
2135
|
</tr>
|
|
1500
2136
|
|
|
1501
2137
|
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
<tr class="deep-level-0">
|
|
1507
2138
|
|
|
1508
|
-
|
|
2139
|
+
|
|
2140
|
+
<tr class="deep-level-1">
|
|
2141
|
+
|
|
2142
|
+
<td class="name"><code>minZoom</code></td>
|
|
1509
2143
|
|
|
1510
2144
|
|
|
1511
2145
|
<td class="type">
|
|
@@ -1518,12 +2152,8 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1518
2152
|
</td>
|
|
1519
2153
|
|
|
1520
2154
|
|
|
1521
|
-
<td class="default">
|
|
1522
|
-
|
|
1523
|
-
</td>
|
|
1524
|
-
|
|
1525
2155
|
|
|
1526
|
-
<td class="description last"><p
|
|
2156
|
+
<td class="description last"><p>最大层级</p></td>
|
|
1527
2157
|
</tr>
|
|
1528
2158
|
|
|
1529
2159
|
|
|
@@ -1531,27 +2161,21 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1531
2161
|
|
|
1532
2162
|
<tr class="deep-level-1">
|
|
1533
2163
|
|
|
1534
|
-
<td class="name"><code>
|
|
2164
|
+
<td class="name"><code>maxZoom</code></td>
|
|
1535
2165
|
|
|
1536
2166
|
|
|
1537
2167
|
<td class="type">
|
|
1538
2168
|
|
|
1539
2169
|
|
|
1540
|
-
<span class="param-type">
|
|
2170
|
+
<span class="param-type">Object</span>
|
|
1541
2171
|
|
|
1542
2172
|
|
|
1543
2173
|
|
|
1544
2174
|
</td>
|
|
1545
2175
|
|
|
1546
2176
|
|
|
1547
|
-
<td class="default">
|
|
1548
|
-
|
|
1549
|
-
1
|
|
1550
|
-
|
|
1551
|
-
</td>
|
|
1552
|
-
|
|
1553
2177
|
|
|
1554
|
-
<td class="description last"><p
|
|
2178
|
+
<td class="description last"><p>最小层级</p></td>
|
|
1555
2179
|
</tr>
|
|
1556
2180
|
|
|
1557
2181
|
|
|
@@ -1628,7 +2252,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
1628
2252
|
|
|
1629
2253
|
<div class="columns">
|
|
1630
2254
|
|
|
1631
|
-
<div class='param-desc column is-7'><p>
|
|
2255
|
+
<div class='param-desc column is-7'><p>Sources和StyleLayers对象</p></div>
|
|
1632
2256
|
|
|
1633
2257
|
|
|
1634
2258
|
<div class='column is-5 has-text-left'>
|
|
@@ -2336,7 +2960,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2336
2960
|
|
|
2337
2961
|
<span class="code-name" style="font-size:30px">
|
|
2338
2962
|
|
|
2339
|
-
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea)</span>
|
|
2963
|
+
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea, decryptOptions, extent)</span>
|
|
2340
2964
|
|
|
2341
2965
|
</span>
|
|
2342
2966
|
</h4>
|
|
@@ -2520,6 +3144,54 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2520
3144
|
|
|
2521
3145
|
|
|
2522
3146
|
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
<tr class="deep-level-0">
|
|
3150
|
+
|
|
3151
|
+
<td class="name"><code>decryptOptions</code></td>
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
<td class="type">
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
<span class="param-type">Object</span>
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
</td>
|
|
3162
|
+
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
<td class="description last"><p>解密信息</p></td>
|
|
3166
|
+
</tr>
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
<tr class="deep-level-0">
|
|
3174
|
+
|
|
3175
|
+
<td class="name"><code>extent</code></td>
|
|
3176
|
+
|
|
3177
|
+
|
|
3178
|
+
<td class="type">
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
<span class="param-type">Extent</span>
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
</td>
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
|
|
3189
|
+
<td class="description last"><p>数据源范围</p></td>
|
|
3190
|
+
</tr>
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
|
|
2523
3195
|
</tbody>
|
|
2524
3196
|
</table>
|
|
2525
3197
|
</div>
|
|
@@ -2878,41 +3550,206 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2878
3550
|
</td>
|
|
2879
3551
|
|
|
2880
3552
|
|
|
2881
|
-
<td class="description last"><p>额外参数</p></td>
|
|
2882
|
-
</tr>
|
|
3553
|
+
<td class="description last"><p>额外参数</p></td>
|
|
3554
|
+
</tr>
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
<tr class="deep-level-1">
|
|
3560
|
+
|
|
3561
|
+
<td class="name"><code>opacity</code></td>
|
|
3562
|
+
|
|
3563
|
+
|
|
3564
|
+
<td class="type">
|
|
3565
|
+
|
|
3566
|
+
|
|
3567
|
+
<span class="param-type">Number</span>
|
|
3568
|
+
|
|
3569
|
+
|
|
3570
|
+
|
|
3571
|
+
</td>
|
|
3572
|
+
|
|
3573
|
+
|
|
3574
|
+
<td class="default">
|
|
3575
|
+
|
|
3576
|
+
1
|
|
3577
|
+
|
|
3578
|
+
</td>
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
<td class="description last"><p>图层透明度</p></td>
|
|
3582
|
+
</tr>
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
</tbody>
|
|
3591
|
+
</table>
|
|
3592
|
+
</div>
|
|
3593
|
+
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
|
|
3598
|
+
|
|
3599
|
+
<dl class="details">
|
|
3600
|
+
|
|
3601
|
+
|
|
3602
|
+
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
|
|
3610
|
+
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
|
|
3617
|
+
|
|
3618
|
+
|
|
3619
|
+
|
|
3620
|
+
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
|
|
3628
|
+
|
|
3629
|
+
|
|
3630
|
+
|
|
3631
|
+
</dl>
|
|
3632
|
+
|
|
3633
|
+
|
|
3634
|
+
|
|
3635
|
+
|
|
3636
|
+
|
|
3637
|
+
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
|
|
3646
|
+
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
|
|
3650
|
+
<div class='columns method-parameter'>
|
|
3651
|
+
<div class="column is-2"><label>返回值:</label></div>
|
|
3652
|
+
<div class="column is-10">
|
|
3653
|
+
|
|
3654
|
+
|
|
3655
|
+
|
|
3656
|
+
<div class="columns">
|
|
3657
|
+
|
|
3658
|
+
<div class='param-desc column is-7'><p>paint mapbox的圆形聚类的paint样式</p></div>
|
|
3659
|
+
|
|
3660
|
+
|
|
3661
|
+
<div class='column is-5 has-text-left'>
|
|
3662
|
+
<label>类型: </label>
|
|
3663
|
+
|
|
3664
|
+
<span class="param-type">Object</span>
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
</div>
|
|
3668
|
+
|
|
3669
|
+
</div>
|
|
3670
|
+
|
|
3671
|
+
|
|
3672
|
+
</div>
|
|
3673
|
+
</div>
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
|
|
3677
|
+
|
|
3678
|
+
|
|
3679
|
+
|
|
3680
|
+
</div>
|
|
3681
|
+
|
|
3682
|
+
<div class="member">
|
|
3683
|
+
|
|
3684
|
+
|
|
3685
|
+
|
|
3686
|
+
<h4 class="name" id="getSymbolsByRenderer">
|
|
3687
|
+
<a class="href-link" href="#getSymbolsByRenderer">#</a>
|
|
3688
|
+
|
|
3689
|
+
<span class="code-name" style="font-size:30px">
|
|
3690
|
+
|
|
3691
|
+
getSymbolsByRenderer<span class="signature">(renderer)</span>
|
|
3692
|
+
|
|
3693
|
+
</span>
|
|
3694
|
+
</h4>
|
|
3695
|
+
|
|
3696
|
+
|
|
3697
|
+
|
|
3698
|
+
<div class="description">
|
|
3699
|
+
<p>获取renderer所有符号</p>
|
|
3700
|
+
</div>
|
|
3701
|
+
|
|
3702
|
+
|
|
3703
|
+
|
|
3704
|
+
|
|
3705
|
+
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
|
|
3709
|
+
|
|
3710
|
+
|
|
3711
|
+
<h4>参数:</h4>
|
|
3712
|
+
|
|
3713
|
+
<div class="table-container">
|
|
3714
|
+
<table class="params table">
|
|
3715
|
+
<thead>
|
|
3716
|
+
<tr>
|
|
3717
|
+
|
|
3718
|
+
<th>名称</th>
|
|
3719
|
+
|
|
3720
|
+
|
|
3721
|
+
<th>类型</th>
|
|
3722
|
+
|
|
3723
|
+
|
|
3724
|
+
|
|
3725
|
+
<th class="last">描述</th>
|
|
3726
|
+
</tr>
|
|
3727
|
+
</thead>
|
|
2883
3728
|
|
|
3729
|
+
<tbody>
|
|
3730
|
+
|
|
2884
3731
|
|
|
3732
|
+
|
|
3733
|
+
<tr class="deep-level-0">
|
|
2885
3734
|
|
|
2886
|
-
|
|
2887
|
-
<tr class="deep-level-1">
|
|
2888
|
-
|
|
2889
|
-
<td class="name"><code>opacity</code></td>
|
|
3735
|
+
<td class="name"><code>renderer</code></td>
|
|
2890
3736
|
|
|
2891
3737
|
|
|
2892
3738
|
<td class="type">
|
|
2893
3739
|
|
|
2894
3740
|
|
|
2895
|
-
<span class="param-type"
|
|
3741
|
+
<span class="param-type">*</span>
|
|
2896
3742
|
|
|
2897
3743
|
|
|
2898
3744
|
|
|
2899
3745
|
</td>
|
|
2900
3746
|
|
|
2901
3747
|
|
|
2902
|
-
<td class="default">
|
|
2903
|
-
|
|
2904
|
-
1
|
|
2905
|
-
|
|
2906
|
-
</td>
|
|
2907
|
-
|
|
2908
3748
|
|
|
2909
|
-
<td class="description last"
|
|
3749
|
+
<td class="description last"></td>
|
|
2910
3750
|
</tr>
|
|
2911
3751
|
|
|
2912
3752
|
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
3753
|
|
|
2917
3754
|
|
|
2918
3755
|
</tbody>
|
|
@@ -2983,13 +3820,11 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2983
3820
|
|
|
2984
3821
|
<div class="columns">
|
|
2985
3822
|
|
|
2986
|
-
<div class='param-desc column is-7'><p>paint mapbox的圆形聚类的paint样式</p></div>
|
|
2987
|
-
|
|
2988
3823
|
|
|
2989
3824
|
<div class='column is-5 has-text-left'>
|
|
2990
3825
|
<label>类型: </label>
|
|
2991
3826
|
|
|
2992
|
-
<span class="param-type"
|
|
3827
|
+
<span class="param-type">*</span>
|
|
2993
3828
|
|
|
2994
3829
|
|
|
2995
3830
|
</div>
|
|
@@ -3585,238 +4420,6 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
3585
4420
|
|
|
3586
4421
|
|
|
3587
4422
|
|
|
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
4423
|
</div>
|
|
3821
4424
|
|
|
3822
4425
|
<div class="member">
|