1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
| /**
| * 工具栏-图层
| */
| import Bus from "@tools/Bus";
| export default {
| methods: {
| // 打开工程树添加数据弹窗【map/layerTree/Layer.vue】
| openAddLayerPopup(type) {
| Bus.$emit("addLayer", type);
| },
| // 在线地图
| onlineMap(){
| this.openAddLayerPopup("onlineMap");
| },
| // Arcgis影像
| ArcGIS() {
| this.openAddLayerPopup("arcgis");
| },
| // WMS影像
| WMS() {
| this.openAddLayerPopup("wms");
| },
| // WMTS影像
| WMTS() {
| this.openAddLayerPopup("wmts");
| },
| // 本地切片服务
| localT() {
| this.openAddLayerPopup("local-map");
| },
| // MPT地形
| MPTterrain() {
| this.openAddLayerPopup("sgsterrain");
| },
| // Arcgis地形
| ArcGISTerrain() {
| this.openAddLayerPopup("arcgisterrain");
| },
| // terrain格式地形
| terrain() {
| this.openAddLayerPopup("terrain");
| },
| // 3dtiles模型
| threeDTiles() {
| this.openAddLayerPopup("b3dm");
| },
| // s3m模型
| s3m() {
| this.openAddLayerPopup("s3m");
| },
| // gltf模型
| GLTF() {
| this.openAddLayerPopup("gltf");
| },
| // kml数据
| KML() {
| this.openAddLayerPopup("kml");
| },
| // wfs
| WFS() {
| this.openAddLayerPopup("wfs");
| },
| // geojson
| geojson() {
| this.openAddLayerPopup("geojson");
| },
| // 矢量切片
| featureT() {
| this.openAddLayerPopup("vector");
| },
| pathLayer(){
| this.openAddLayerPopup("pathLayer");
| },
| // 管线
| importPolylineVolume(){
| this.$refs.importPolylineVolume && this.$refs.importPolylineVolume.open();
| }
| },
| };
|
|