mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-05 09:52:54 +00:00
about page progress
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user