@mapgis/webclient-common 17.0.7 → 17.2.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 +9 -44
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +404 -0
- package/documention/ArcGISTileLayer.html +116 -8
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +1 -1
- package/documention/BaseView.html +457 -2
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +131 -85
- package/documention/Circle.html +103 -0
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +395 -5
- package/documention/ClusterRenderer.html +245 -5
- package/documention/Extent.html +103 -0
- package/documention/ExtrudeSymbol3DLayer.html +107 -0
- package/documention/FeatureLayer.html +116 -8
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +107 -0
- package/documention/Font.html +3 -3
- package/documention/GeoJSONLayer.html +116 -8
- package/documention/Geometry.html +131 -0
- package/documention/GraphicsLayer.html +116 -8
- package/documention/GroupLayer.html +118 -10
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSMapImageSubLayer.html +304 -0
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +116 -8
- package/documention/IGSVectorTileLayer.html +198 -14
- package/documention/IconSymbol3DLayer.html +107 -0
- package/documention/LabelClass.html +7 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +103 -0
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3DLayer.html +107 -0
- package/documention/M3DModelCacheLayer.html +121 -67
- package/documention/M3DServer.html +1 -1
- package/documention/Map.html +28 -1
- package/documention/MapGISTextSymbol.html +107 -0
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapView.html +203 -2
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +103 -0
- package/documention/MultiPoint.html +103 -0
- package/documention/MultiPolygon.html +103 -0
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +107 -0
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +107 -0
- package/documention/PictureFillSymbol.html +168 -7
- package/documention/PoiServer.html +1 -1
- package/documention/Point.html +103 -0
- package/documention/PointSymbol3D.html +1 -1
- package/documention/Polygon.html +103 -0
- package/documention/Projection.html +421 -0
- package/documention/RandomRenderer.html +107 -0
- package/documention/RankRenderer.html +107 -0
- package/documention/RootServer.html +1 -1
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneView.html +10164 -130
- package/documention/SimpleFillSymbol.html +107 -0
- package/documention/SimpleRenderer.html +107 -0
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +1 -1
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchExtentDrawTool.html +159 -3
- package/documention/SketchFreehandPolygonDrawTool.html +159 -3
- package/documention/SketchFreehandPolylineDrawTool.html +159 -3
- package/documention/SketchPointDrawTool.html +159 -3
- package/documention/SketchPolygonDrawTool.html +318 -6
- package/documention/SketchPolylineDrawTool.html +318 -6
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +133 -0
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +132 -164
- package/documention/TextSymbol.html +107 -0
- package/documention/TextSymbol3DLayer.html +107 -0
- package/documention/ThemeServer.html +1 -1
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +1 -1
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +107 -0
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +116 -8
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/WFSLayer.html +116 -8
- package/documention/WMSLayer.html +116 -8
- package/documention/WMSServer.html +1 -1
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +116 -8
- package/documention/WMTSServer.html +1 -1
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +116 -8
- package/documention/global.html +454 -4
- package/documention/index.html +47 -44
- package/documention/scripts/sideBar.js +16 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
- package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
- package/package.json +13 -13
|
@@ -814,7 +814,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
814
814
|
|
|
815
815
|
</code>
|
|
816
816
|
</td>
|
|
817
|
-
<td class="name"><code><p
|
|
817
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
818
818
|
</tr>
|
|
819
819
|
|
|
820
820
|
<tr class="deep-level-0">
|
|
@@ -832,7 +832,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
832
832
|
|
|
833
833
|
</code>
|
|
834
834
|
</td>
|
|
835
|
-
<td class="name"><code><p
|
|
835
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
836
836
|
</tr>
|
|
837
837
|
|
|
838
838
|
<tr class="deep-level-0">
|
|
@@ -878,7 +878,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
878
878
|
|
|
879
879
|
<span class="param-type">
|
|
880
880
|
|
|
881
|
-
|
|
881
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
882
882
|
|
|
883
883
|
</span>
|
|
884
884
|
|
|
@@ -1030,7 +1030,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1030
1030
|
|
|
1031
1031
|
</code>
|
|
1032
1032
|
</td>
|
|
1033
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1033
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
1034
1034
|
</tr>
|
|
1035
1035
|
|
|
1036
1036
|
<tr class="deep-level-0">
|
|
@@ -1069,6 +1069,24 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1069
1069
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
1070
1070
|
</tr>
|
|
1071
1071
|
|
|
1072
|
+
<tr class="deep-level-0">
|
|
1073
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
1074
|
+
<td class="name">
|
|
1075
|
+
<code>
|
|
1076
|
+
|
|
1077
|
+
<span class="param-type">
|
|
1078
|
+
|
|
1079
|
+
String
|
|
1080
|
+
|
|
1081
|
+
</span>
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
</code>
|
|
1086
|
+
</td>
|
|
1087
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
1088
|
+
</tr>
|
|
1089
|
+
|
|
1072
1090
|
<tr class="deep-level-0">
|
|
1073
1091
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
1074
1092
|
<td class="name">
|
|
@@ -1464,7 +1482,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1464
1482
|
|
|
1465
1483
|
|
|
1466
1484
|
<div class="description">
|
|
1467
|
-
<p
|
|
1485
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1468
1486
|
</div>
|
|
1469
1487
|
|
|
1470
1488
|
|
|
@@ -1501,6 +1519,11 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1501
1519
|
|
|
1502
1520
|
|
|
1503
1521
|
|
|
1522
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1523
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1524
|
+
<li>{}</li>
|
|
1525
|
+
</ul></dd>
|
|
1526
|
+
|
|
1504
1527
|
|
|
1505
1528
|
|
|
1506
1529
|
|
|
@@ -1544,7 +1567,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1544
1567
|
|
|
1545
1568
|
|
|
1546
1569
|
<div class="description">
|
|
1547
|
-
<p
|
|
1570
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1548
1571
|
</div>
|
|
1549
1572
|
|
|
1550
1573
|
|
|
@@ -1581,6 +1604,11 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1581
1604
|
|
|
1582
1605
|
|
|
1583
1606
|
|
|
1607
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1608
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1609
|
+
<li>{}</li>
|
|
1610
|
+
</ul></dd>
|
|
1611
|
+
|
|
1584
1612
|
|
|
1585
1613
|
|
|
1586
1614
|
|
|
@@ -1767,7 +1795,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
1767
1795
|
|
|
1768
1796
|
<span class="param-type">
|
|
1769
1797
|
|
|
1770
|
-
|
|
1798
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1771
1799
|
|
|
1772
1800
|
</span>
|
|
1773
1801
|
|
|
@@ -2455,7 +2483,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
2455
2483
|
|
|
2456
2484
|
|
|
2457
2485
|
<div class="description">
|
|
2458
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2486
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2459
2487
|
</div>
|
|
2460
2488
|
|
|
2461
2489
|
|
|
@@ -2653,6 +2681,86 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
|
|
|
2653
2681
|
|
|
2654
2682
|
|
|
2655
2683
|
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
</dl>
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
</div>
|
|
2697
|
+
|
|
2698
|
+
<div class="member">
|
|
2699
|
+
|
|
2700
|
+
<span class="method-parameter is-pulled-right">
|
|
2701
|
+
<label>类型:</label>
|
|
2702
|
+
|
|
2703
|
+
<span class="param-type">
|
|
2704
|
+
|
|
2705
|
+
String
|
|
2706
|
+
|
|
2707
|
+
</span>
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
</span>
|
|
2712
|
+
|
|
2713
|
+
<h4 class="name" id="tokenAttachType">
|
|
2714
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2715
|
+
|
|
2716
|
+
<span class="code-name">
|
|
2717
|
+
tokenAttachType
|
|
2718
|
+
</span>
|
|
2719
|
+
|
|
2720
|
+
</h4>
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
<div class="description">
|
|
2726
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2727
|
+
</div>
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
<dl class="details">
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2741
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2742
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2743
|
+
</li></ul></dd>
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2656
2764
|
|
|
2657
2765
|
|
|
2658
2766
|
|
|
@@ -158,7 +158,7 @@ if(layer.loadStatus === 'loaded') {<br/>
|
|
|
158
158
|
<td class="description last"><p>服务基地址,和style参数二者选其一:<br>
|
|
159
159
|
IGS1.0的服务基地址为:http://{ip}:6163/igs/rest/mrcs/vtiles/{serviceName}<br>
|
|
160
160
|
需要注意由于igs1.0版本不再新增功能,无法解析矢量瓦片Lod信息以及坐标系信息,目前需要在矢量瓦片图层接口上显式设置坐标系信息,默认坐标系3857,可选4326或3857,参考示例:<a href='#igs-1'>[IGS1.0的矢量瓦片示例]</a><br/>
|
|
161
|
-
IGS2.0的服务基地址为:http://{ip}:{port}/igs/rest/services/
|
|
161
|
+
IGS2.0的服务基地址为:http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer<br>
|
|
162
162
|
参考示例:<a href='#igs-2'>[IGS2.0的矢量瓦片示例]</a><br/>
|
|
163
163
|
服务基地址也支持传入矢量瓦片样式文件地址:<br>
|
|
164
164
|
IGS1.0的样式文件地址:http://{ip}:6163/igs/rest/mrcs/vtiles/styles/{样式文件名称}.json<br>
|
|
@@ -885,7 +885,7 @@ import { IGSVectorTileLayer } from "@mapgis/webclient-common"
|
|
|
885
885
|
// 添加图层
|
|
886
886
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
887
887
|
// 服务基地址
|
|
888
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
888
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
|
|
889
889
|
//默认不设置sublayers,加载全部图层
|
|
890
890
|
});</code></pre>
|
|
891
891
|
|
|
@@ -900,7 +900,7 @@ import { IGSVectorTileLayer } from "@mapgis/webclient-common"
|
|
|
900
900
|
// 添加图层
|
|
901
901
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
902
902
|
// 服务基地址
|
|
903
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
903
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
|
|
904
904
|
// 根据id显示子图层
|
|
905
905
|
sublayers: [
|
|
906
906
|
{
|
|
@@ -923,7 +923,7 @@ import { IGSVectorTileLayer } from "@mapgis/webclient-common"
|
|
|
923
923
|
// 添加图层
|
|
924
924
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
925
925
|
// 服务基地址
|
|
926
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
926
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
|
|
927
927
|
});
|
|
928
928
|
igsVectorTileLayer.on('layerview-created', function (result) {
|
|
929
929
|
console.log("加载完毕:", result.layer)
|
|
@@ -946,7 +946,7 @@ const { Color } = Zondy
|
|
|
946
946
|
import { IGSVectorTileLayer,UniqueValueRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-common"
|
|
947
947
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
948
948
|
// 服务基地址,当不指定图层名称时,默认查询第一个子图层
|
|
949
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
949
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
|
|
950
950
|
// 设置子图层专题图
|
|
951
951
|
sublayers: [
|
|
952
952
|
{
|
|
@@ -1014,7 +1014,7 @@ const { Color } = Zondy
|
|
|
1014
1014
|
import { IGSVectorTileLayer,ClassBreakRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
|
|
1015
1015
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
1016
1016
|
// 服务基地址,当不指定图层名称时,默认查询第一个子图层
|
|
1017
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
1017
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
|
|
1018
1018
|
// 设置子图层专题图
|
|
1019
1019
|
sublayers: [
|
|
1020
1020
|
{
|
|
@@ -1075,7 +1075,7 @@ const { Color } = Zondy
|
|
|
1075
1075
|
import { IGSVectorTileLayer,ClassBreakRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
|
|
1076
1076
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
1077
1077
|
// 服务基地址
|
|
1078
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
1078
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
|
|
1079
1079
|
});
|
|
1080
1080
|
// 根据id获取子图层
|
|
1081
1081
|
const subLayer = igsVectorTileLayer.findSublayerById('子图层id')
|
|
@@ -1131,7 +1131,7 @@ const { Color } = Zondy
|
|
|
1131
1131
|
import { IGSVectorTileLayer,SimpleRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
|
|
1132
1132
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
1133
1133
|
// 服务基地址
|
|
1134
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
1134
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
|
|
1135
1135
|
// 设置子图层专题图
|
|
1136
1136
|
sublayers: [{
|
|
1137
1137
|
// 子图层id
|
|
@@ -2340,13 +2340,13 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
2340
2340
|
|
|
2341
2341
|
|
|
2342
2342
|
|
|
2343
|
-
<dt class="inherited-from">Inherited From:</dt>
|
|
2344
|
-
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2345
|
-
<a goto="url" link="VectorTileLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="VectorTileLayer#url" VectorTileLayer.html#url>VectorTileLayer#url</a>
|
|
2346
|
-
</li></ul></dd>
|
|
2347
|
-
|
|
2348
2343
|
|
|
2349
2344
|
|
|
2345
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
2346
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
2347
|
+
<a class="mapgis-link-name" title="VectorTileLayer#url" VectorTileLayer.html#url>VectorTileLayer#url</a>
|
|
2348
|
+
</li></ul></dd>
|
|
2349
|
+
|
|
2350
2350
|
|
|
2351
2351
|
|
|
2352
2352
|
|
|
@@ -2418,6 +2418,16 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
2418
2418
|
<td class="name"><code><p>通过传入的json构造并返回一个新的VectorTileLayer对象</code></td>
|
|
2419
2419
|
</tr>
|
|
2420
2420
|
|
|
2421
|
+
<tr class="deep-level-0">
|
|
2422
|
+
<td class="name"><code><a href="#_initSubLayerOptions">_initSubLayerOptions</a></code></td>
|
|
2423
|
+
<td class="name">
|
|
2424
|
+
<code>
|
|
2425
|
+
|
|
2426
|
+
</code>
|
|
2427
|
+
</td>
|
|
2428
|
+
<td class="name"><code><p>通过元信息中获取的子图层参数和用户设置的参数,构造MapGIS矢量瓦片子图层的初始化参数数组</p></code></td>
|
|
2429
|
+
</tr>
|
|
2430
|
+
|
|
2421
2431
|
<tr class="deep-level-0">
|
|
2422
2432
|
<td class="name"><code><a href="#clone">clone</a></code></td>
|
|
2423
2433
|
<td class="name">
|
|
@@ -2892,6 +2902,180 @@ off-screen: 使用矢量瓦片来绘制注记;
|
|
|
2892
2902
|
|
|
2893
2903
|
|
|
2894
2904
|
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
</div>
|
|
2909
|
+
|
|
2910
|
+
<div class="member">
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
<h4 class="name" id="_initSubLayerOptions">
|
|
2915
|
+
<a class="href-link" href="#_initSubLayerOptions">#</a>
|
|
2916
|
+
|
|
2917
|
+
<span class="code-name" id="_initSubLayerOptions" style="font-size:30px">
|
|
2918
|
+
|
|
2919
|
+
_initSubLayerOptions<span class="signature">(serverSubLayers, clientSubLayers)</span>
|
|
2920
|
+
|
|
2921
|
+
</span>
|
|
2922
|
+
</h4>
|
|
2923
|
+
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
<div class="description">
|
|
2927
|
+
<p>通过元信息中获取的子图层参数和用户设置的参数,构造MapGIS矢量瓦片子图层的初始化参数数组</p>
|
|
2928
|
+
</div>
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
|
|
2932
|
+
|
|
2933
|
+
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
<h4>参数</h4>
|
|
2940
|
+
|
|
2941
|
+
<div class="table-container">
|
|
2942
|
+
<table class="params table">
|
|
2943
|
+
<thead>
|
|
2944
|
+
<tr>
|
|
2945
|
+
|
|
2946
|
+
<th>名称</th>
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
<th>类型</th>
|
|
2950
|
+
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
<th class="last">描述</th>
|
|
2954
|
+
</tr>
|
|
2955
|
+
</thead>
|
|
2956
|
+
|
|
2957
|
+
<tbody>
|
|
2958
|
+
|
|
2959
|
+
|
|
2960
|
+
|
|
2961
|
+
<tr class="deep-level-0">
|
|
2962
|
+
|
|
2963
|
+
<td class="name"><code>serverSubLayers</code></td>
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
<td class="type">
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
<span class="param-type">
|
|
2970
|
+
|
|
2971
|
+
Array.<Object>
|
|
2972
|
+
|
|
2973
|
+
</span>
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
</td>
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
<td class="description last"><p>服务器端获取的子图层参数,同时也是最终的构造参数</p></td>
|
|
2983
|
+
</tr>
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
<tr class="deep-level-0">
|
|
2991
|
+
|
|
2992
|
+
<td class="name"><code>clientSubLayers</code></td>
|
|
2993
|
+
|
|
2994
|
+
|
|
2995
|
+
<td class="type">
|
|
2996
|
+
|
|
2997
|
+
|
|
2998
|
+
<span class="param-type">
|
|
2999
|
+
|
|
3000
|
+
Array.<Object>
|
|
3001
|
+
|
|
3002
|
+
</span>
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
</td>
|
|
3008
|
+
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
<td class="description last"><p>客户端获取的子图层参数</p></td>
|
|
3012
|
+
</tr>
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
</tbody>
|
|
3018
|
+
</table>
|
|
3019
|
+
</div>
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
<dl class="details">
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
</dl>
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
|
|
2895
3079
|
|
|
2896
3080
|
|
|
2897
3081
|
|
|
@@ -3533,7 +3717,7 @@ const { IGSVectorTileLayer } = Zondy.Layer
|
|
|
3533
3717
|
import { IGSVectorTileLayer} from "@mapgis/webclient-common"
|
|
3534
3718
|
const igsVectorTileLayer = new IGSVectorTileLayer({
|
|
3535
3719
|
// 服务基地址
|
|
3536
|
-
url: 'http://{ip}:{port}/igs/rest/services/
|
|
3720
|
+
url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
|
|
3537
3721
|
});
|
|
3538
3722
|
map.add(igsVectorTileLayer);
|
|
3539
3723
|
// 根据id获取子图层
|
|
@@ -542,6 +542,24 @@ const iconSymbol3DLayer = new IconSymbol3DLayer({
|
|
|
542
542
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
543
543
|
</tr>
|
|
544
544
|
|
|
545
|
+
<tr class="deep-level-0">
|
|
546
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
547
|
+
<td class="name">
|
|
548
|
+
<code>
|
|
549
|
+
|
|
550
|
+
<span class="param-type">
|
|
551
|
+
|
|
552
|
+
String
|
|
553
|
+
|
|
554
|
+
</span>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
</code>
|
|
559
|
+
</td>
|
|
560
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
561
|
+
</tr>
|
|
562
|
+
|
|
545
563
|
<tr class="deep-level-0">
|
|
546
564
|
<td class="name"><code><a href="#material">material</a></code></td>
|
|
547
565
|
<td class="name">
|
|
@@ -933,6 +951,95 @@ const iconSymbol3DLayer = new IconSymbol3DLayer({
|
|
|
933
951
|
|
|
934
952
|
|
|
935
953
|
|
|
954
|
+
<dt class="tag-default">Default Value:</dt>
|
|
955
|
+
<dd class="tag-default"><ul class="dummy">
|
|
956
|
+
<li>{}</li>
|
|
957
|
+
</ul></dd>
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
</dl>
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
</div>
|
|
973
|
+
|
|
974
|
+
<div class="member">
|
|
975
|
+
|
|
976
|
+
<span class="method-parameter is-pulled-right">
|
|
977
|
+
<label>类型:</label>
|
|
978
|
+
|
|
979
|
+
<span class="param-type">
|
|
980
|
+
|
|
981
|
+
String
|
|
982
|
+
|
|
983
|
+
</span>
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
</span>
|
|
988
|
+
|
|
989
|
+
<h4 class="name" id="id">
|
|
990
|
+
<a class="href-link" href="#id">#</a>
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
<span class='tag'>readonly</span>
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
<span class="code-name">
|
|
997
|
+
id
|
|
998
|
+
</span>
|
|
999
|
+
|
|
1000
|
+
</h4>
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
<div class="description">
|
|
1006
|
+
<p>符号id</p>
|
|
1007
|
+
</div>
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
<dl class="details">
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1021
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1022
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
1023
|
+
</li></ul></dd>
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
936
1043
|
|
|
937
1044
|
|
|
938
1045
|
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
|
|
922
922
|
</code>
|
|
923
923
|
</td>
|
|
924
|
-
<td class="name"><code><p
|
|
924
|
+
<td class="name"><code><p>样式的扩展参数,可以通过该属性传入引擎原生图元的样式参数。可以参考cesium上Label、BillBoard、GroundPrimitive相关api进行设置。</p></code></td>
|
|
925
925
|
</tr>
|
|
926
926
|
|
|
927
927
|
<tr class="deep-level-0">
|
|
@@ -1460,7 +1460,7 @@
|
|
|
1460
1460
|
|
|
1461
1461
|
|
|
1462
1462
|
<div class="description">
|
|
1463
|
-
<p
|
|
1463
|
+
<p>样式的扩展参数,可以通过该属性传入引擎原生图元的样式参数。可以参考cesium上Label、BillBoard、GroundPrimitive相关api进行设置。</p>
|
|
1464
1464
|
</div>
|
|
1465
1465
|
|
|
1466
1466
|
|
|
@@ -1491,6 +1491,11 @@
|
|
|
1491
1491
|
|
|
1492
1492
|
|
|
1493
1493
|
|
|
1494
|
+
|
|
1495
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1496
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1497
|
+
<li>{}</li>
|
|
1498
|
+
</ul></dd>
|
|
1494
1499
|
|
|
1495
1500
|
|
|
1496
1501
|
|