修改显示

main
suixy 2 months ago
parent c6cb284484
commit 8588964f77

@ -38,7 +38,7 @@ const scaleRatio = ref(window.innerWidth / 1080)
const onSubmit = (e) => {
console.log(e)
}
const boxPos = ref({x: 100, y: 100, rotate: 30})
const boxPos = ref({x: 100, y: 100, rotate: 0})
const TOP = defineComponent({
name: 'TOP',
@ -776,6 +776,8 @@ const processData = (data) => {
lon: data.Longitude,
lat: data.Latitude,
}
console.log(area)
console.log(data)
// console.log(data.Longitude > area.LonMin, data.Longitude < area.LonMax, data.Latitude > area.LatMin, data.Latitude < area.LatMax)
if (data.Longitude > area.LonMin && data.Longitude < area.LonMax && data.Latitude > area.LatMin && data.Latitude < area.LatMax) {
let location = {

Loading…
Cancel
Save