上传
This commit is contained in:
@@ -485,7 +485,7 @@ function addmark(lat, lng, AMap) {
|
||||
offset: [-16, -32]
|
||||
})
|
||||
dialogMap.value.add(marker.value)
|
||||
dialogMap.value.setCenter([lat, lng], '', 500)
|
||||
dialogMap.value.setCenter([lat, lng], true)
|
||||
getNearbySchool({ lat: lng, lng: lat })
|
||||
}
|
||||
function removeMarker() {
|
||||
@@ -557,7 +557,6 @@ function currentSelect(val) {
|
||||
lat: val.location?.lat
|
||||
}
|
||||
addmark(val.location?.lng, val.location?.lat, aMap.value)
|
||||
dialogMap.value.setCenter([val.location?.lng, val.location?.lat], '', 500)
|
||||
regeoCode(val.location?.lng, val.location?.lat)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user