This commit is contained in:
parent
10e9ecc4a7
commit
7955055c17
|
@ -406,11 +406,16 @@ function addLine(type) {
|
|||
}
|
||||
const isShow = ref(false)
|
||||
function elevationPolygon(){
|
||||
|
||||
mapdata.getfindSkeleton().then(res=>{
|
||||
if(!isShow.value){
|
||||
mapdata.getfindSkeleton().then(res=>{
|
||||
isShow.value = !isShow.value
|
||||
$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