This commit is contained in:
parent
10e9ecc4a7
commit
7955055c17
|
@ -406,11 +406,16 @@ function addLine(type) {
|
||||||
}
|
}
|
||||||
const isShow = ref(false)
|
const isShow = ref(false)
|
||||||
function elevationPolygon(){
|
function elevationPolygon(){
|
||||||
|
if(!isShow.value){
|
||||||
mapdata.getfindSkeleton().then(res=>{
|
mapdata.getfindSkeleton().then(res=>{
|
||||||
isShow.value = !isShow.value
|
isShow.value = !isShow.value
|
||||||
$ldMap.elevationData(isShow.value,res.data);
|
$ldMap.elevationData(isShow.value,res.data);
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
isShow.value = !isShow.value
|
||||||
|
$ldMap.elevationData(isShow.value,[]);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue