mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-01 12:17:18 +00:00
New translations files-and-stats.mdx (Indonesian)
[ci skip]
This commit is contained in:
1 parent
b94cfc8065
commit
d9a2c12d8e
1 file changed
+7
-7
@@ -7,11 +7,11 @@ title: Files and statistics
|
|||||||
import DocsNote from '$lib/components/docs/DocsNote.svelte';
|
import DocsNote from '$lib/components/docs/DocsNote.svelte';
|
||||||
import ElevationProfile from '$lib/components/elevation-profile/ElevationProfile.svelte';
|
import ElevationProfile from '$lib/components/elevation-profile/ElevationProfile.svelte';
|
||||||
import GPXStatistics from '$lib/components/GPXStatistics.svelte';
|
import GPXStatistics from '$lib/components/GPXStatistics.svelte';
|
||||||
import { exampleStatistics } from '$lib/data/example';
|
import { exampleGPXFile } from '$lib/assets/example';
|
||||||
import { writable } from 'svelte/store';
|
import { writable } from 'svelte/store';
|
||||||
|
|
||||||
let statistics = writable(exampleStatistics);
|
let gpxStatistics = writable(exampleGPXFile.getStatistics());
|
||||||
let slicedStatistics = writable(undefined);
|
let slicedGPXStatistics = writable(undefined);
|
||||||
let hoveredPoint = writable(null);
|
let hoveredPoint = writable(null);
|
||||||
let additionalDatasets = writable(['speed', 'atemp']);
|
let additionalDatasets = writable(['speed', 'atemp']);
|
||||||
let elevationFill = writable(undefined);
|
let elevationFill = writable(undefined);
|
||||||
@@ -83,8 +83,8 @@ You can also use the mouse wheel to zoom in and out on the elevation profile, an
|
|||||||
|
|
||||||
<div class="h-48 w-full">
|
<div class="h-48 w-full">
|
||||||
<ElevationProfile
|
<ElevationProfile
|
||||||
{statistics}
|
{gpxStatistics}
|
||||||
{slicedStatistics}
|
{slicedGPXStatistics}
|
||||||
{hoveredPoint}
|
{hoveredPoint}
|
||||||
{additionalDatasets}
|
{additionalDatasets}
|
||||||
{elevationFill}
|
{elevationFill}
|
||||||
@@ -92,8 +92,8 @@ You can also use the mouse wheel to zoom in and out on the elevation profile, an
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col items-center w-full">
|
<div class="flex flex-col items-center w-full">
|
||||||
<GPXStatistics
|
<GPXStatistics
|
||||||
{statistics}
|
{gpxStatistics}
|
||||||
{slicedStatistics}
|
{slicedGPXStatistics}
|
||||||
orientation={'horizontal'}
|
orientation={'horizontal'}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user