@mapgis/webclient-mapboxgl-plugin 17.4.1 → 17.4.8
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 +52 -0
- package/dist/es5/webclient-common.min.js +6 -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 +10 -8
- package/documention/MapViewMapboxgl.html +935 -287
- package/documention/Popup.html +3 -3
- package/documention/Screenshot.html +2 -2
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorMapboxgl.html +477 -241
- package/documention/global.html +27 -235
- 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 +1 -1
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/>
|
|
@@ -2336,7 +2336,7 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2336
2336
|
|
|
2337
2337
|
<span class="code-name" style="font-size:30px">
|
|
2338
2338
|
|
|
2339
|
-
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea)</span>
|
|
2339
|
+
getRasterSource<span class="signature">(url, tileSize, renderMode, subDomains, requestParams, clippingArea, extent)</span>
|
|
2340
2340
|
|
|
2341
2341
|
</span>
|
|
2342
2342
|
</h4>
|
|
@@ -2520,6 +2520,30 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
2520
2520
|
|
|
2521
2521
|
|
|
2522
2522
|
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
<tr class="deep-level-0">
|
|
2526
|
+
|
|
2527
|
+
<td class="name"><code>extent</code></td>
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
<td class="type">
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
<span class="param-type">Extent</span>
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
</td>
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
<td class="description last"><p>数据源范围</p></td>
|
|
2542
|
+
</tr>
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2523
2547
|
</tbody>
|
|
2524
2548
|
</table>
|
|
2525
2549
|
</div>
|
|
@@ -3585,238 +3609,6 @@ import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/><
|
|
|
3585
3609
|
|
|
3586
3610
|
|
|
3587
3611
|
|
|
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
3612
|
</div>
|
|
3821
3613
|
|
|
3822
3614
|
<div class="member">
|
package/documention/index.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/>
|