Upload files to 'src/GUI'

chiyu
ken910606 3 months ago
parent f2074d4b2a
commit 4f49ff815d

@ -353,13 +353,13 @@ class DroneMap:
const startBtn = document.getElementById('start-mission-btn');
if (centerPosition) {
centerElem.textContent = `${centerPosition.lat.toFixed(6)}, ${centerPosition.lng.toFixed(6)}`;
centerElem.textContent = `${centerPosition.lat.toFixed(6)}°, ${centerPosition.lng.toFixed(6)}°`;
} else {
centerElem.textContent = '未設定';
}
if (targetPosition) {
targetElem.textContent = `${targetPosition.lat.toFixed(6)}, ${targetPosition.lng.toFixed(6)}`;
targetElem.textContent = `${targetPosition.lat.toFixed(6)}°, ${targetPosition.lng.toFixed(6)}°`;
} else {
targetElem.textContent = '未設定';
}

Loading…
Cancel
Save