This commit is contained in:
xhf 2025-02-15 23:46:54 +08:00
commit 1f77a0b5d2

View File

@ -503,6 +503,7 @@ const mapClick = (e) => {
if (toolbarSwitchType.value === 'ranging') {
measureDistancesClick(e)
}
disposeEventPoints(e)
}
//
const textFormSuccess = (form) => {
@ -1305,6 +1306,8 @@ const disposeEventPoints = (event) => {
const actualLocationX = (x - imgBgObj.origin[0]) / imgBgObj.resolution
const actualLocationY = (y - imgBgObj.origin[1]) / imgBgObj.resolution
console.log(actualLocationX, actualLocationY, '实际坐标')
return {
x,
y,