Skip to content

Commit

Permalink
Made dataview read current coords
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Balitzki <[email protected]>
  • Loading branch information
Corgam committed Jun 3, 2024
1 parent e0bb6fe commit 3c35731
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/DataView/DataView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ function DataView() {
<Fragment>
<div className="dataview-header-container">
<b className="dataview-header-title">
<MapPin size={20} /> Nuremberg
<MapPin size={20} />
{currentMapCache.loadedCoordinates.lat.toFixed(6)},{" "}
{currentMapCache.loadedCoordinates.lng.toFixed(6)}
</b>
<Box id="filter-panel" style={{ maxWidth: "18rem", width: "100%" }}>
<TextField
Expand Down

0 comments on commit 3c35731

Please sign in to comment.