Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhichao
whp-xl
Commits
64f33132
Commit
64f33132
authored
Jun 18, 2021
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
危化地图 gengdidi
parent
f327a915
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
23 deletions
+3
-23
mapUtil.js
dcit-hcsystem-hcsystem-master/src/utils/mapUtil.js
+3
-3
qyMap.vue
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
+0
-20
No files found.
dcit-hcsystem-hcsystem-master/src/utils/mapUtil.js
View file @
64f33132
...
...
@@ -43,7 +43,7 @@ export default class Mutil {
// url:
// "http://t{0-7}.tianditu.gov.cn/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk=c8df739f047ce17cfe41b63cbeae6997",
//url: "https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=c8df739f047ce17cfe41b63cbeae6997",
url
:
"http://w
ebst0{1-4}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}"
,
url
:
"http://w
prd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=6"
}),
visible
:
true
,
name
:
"天地图矢量底图影像"
,
...
...
@@ -63,7 +63,7 @@ export default class Mutil {
//url: "https://t{0-7}.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=c8df739f047ce17cfe41b63cbeae6997",
url
:
"http://webst0{1-4}.is.autonavi.com/appmaptile?style=8&x={x}&y={y}&z={z}"
,
}),
visible
:
fals
e
,
visible
:
tru
e
,
name
:
"天地图标注"
,
});
let
that
=
this
;
...
...
@@ -287,7 +287,7 @@ export default class Mutil {
tianSlA
()
{
this
.
MAP
.
getLayers
().
getArray
()[
0
].
setVisible
(
true
);
this
.
MAP
.
getLayers
().
getArray
()[
1
].
setVisible
(
false
);
this
.
MAP
.
getLayers
().
getArray
()[
2
].
setVisible
(
fals
e
);
this
.
MAP
.
getLayers
().
getArray
()[
2
].
setVisible
(
tru
e
);
};
tianSlB
()
{
this
.
MAP
.
getLayers
().
getArray
()[
0
].
setVisible
(
false
);
...
...
dcit-hcsystem-hcsystem-master/src/views/qyMap/qyMap.vue
View file @
64f33132
...
...
@@ -326,26 +326,6 @@ export default class GIS extends Vue {
}
);
}
// tianSlA() {
// console.log("dfsddddddddddddddddddddddddddddddddd")
// this.tianSlA.setVisible(true);
// this.tianSlB.setVisible(false);
// this.tianSlC.setVisible(false);
// };
// tianSlB() {
// console.log("gsfdgfdhgsgfhgfdhf")
// this.tianSlA.setVisible(false);
// this.tianSlB.setVisible(true);
// this.tianSlC.setVisible(false);
// };
// tianSlC() {
// this.tianSlA.setVisible(false)
// this.tianSlB.setVisible(false)
// this.tianSlC.setVisible(true)
// }
}
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment