mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Update coordinatespanel.tsx
This commit is contained in:
parent
376a63b363
commit
5c3960868a
@ -80,8 +80,9 @@ export function CoordinatesPanel(props: {}) {
|
||||
<FaJetFighter />
|
||||
</span>
|
||||
<div>
|
||||
{(selectedUnits[0].getLatLng().distanceTo(latlng) / 1852).toFixed(0)} /{" "}
|
||||
{bearing(selectedUnits[0].getLatLng().lat, selectedUnits[0].getLatLng().lng, latlng.lat, latlng.lng).toFixed()}°
|
||||
{" "}
|
||||
{bearing(selectedUnits[0].getLatLng().lat, selectedUnits[0].getLatLng().lng, latlng.lat, latlng.lng).toFixed()}° /
|
||||
{(selectedUnits[0].getLatLng().distanceTo(latlng) / 1852).toFixed(0)}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user