about page progress

This commit is contained in:
vcoppe
2024-07-05 01:02:53 +02:00
parent a2ea966d35
commit 9edcc5b55b
23 changed files with 397 additions and 158 deletions

View File

@@ -40,6 +40,7 @@
});
newMap.on('load', () => {
$map = newMap; // only set the store after the map has loaded
scaleControl.setUnit($distanceUnits);
});
newMap.addControl(
@@ -114,10 +115,6 @@
});
});
$: if ($map) {
scaleControl.setUnit($distanceUnits);
}
$: if (
$map &&
(!$verticalFileView || !$elevationProfile || $bottomPanelSize || $rightPanelSize)