mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 08:42:31 +00:00
small progress
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav class="w-full sticky top-0 bg-background z-10">
|
<nav class="w-full sticky top-0 bg-background z-10">
|
||||||
<div class="mx-6 py-2 flex flex-row items-center border-b gap-4 md:gap-8">
|
<div class="mx-6 py-2 flex flex-row items-center border-b gap-4 sm:gap-8">
|
||||||
<a href={getURLForLanguage($locale, '/')} class="shrink-0 translate-y-0.5">
|
<a href={getURLForLanguage($locale, '/')} class="shrink-0 translate-y-0.5">
|
||||||
<Logo class="h-8 sm:hidden" iconOnly={true} />
|
<Logo class="h-8 sm:hidden" iconOnly={true} />
|
||||||
<Logo class="h-8 hidden sm:block" />
|
<Logo class="h-8 hidden sm:block" />
|
||||||
|
@@ -2,7 +2,7 @@ export const guides: Record<string, string[]> = {
|
|||||||
'getting-started': [],
|
'getting-started': [],
|
||||||
menu: ['file', 'edit', 'view', 'settings'],
|
menu: ['file', 'edit', 'view', 'settings'],
|
||||||
'files-and-stats': [],
|
'files-and-stats': [],
|
||||||
toolbar: ['routing', 'poi', 'scissors', 'time', 'merge', 'extract', 'reduce', 'clean'],
|
toolbar: ['routing', 'poi', 'scissors', 'time', 'merge', 'extract', 'minify', 'clean'],
|
||||||
'map-controls': [],
|
'map-controls': [],
|
||||||
'gpx': [],
|
'gpx': [],
|
||||||
};
|
};
|
||||||
|
@@ -212,11 +212,17 @@
|
|||||||
<div>{$_('toolbar.routing.help')}</div>
|
<div>{$_('toolbar.routing.help')}</div>
|
||||||
{/if}
|
{/if}
|
||||||
</Help>
|
</Help>
|
||||||
{#if minimizable}
|
<Button
|
||||||
<Button variant="ghost" class="px-1 h-6" on:click={() => (minimized = true)}>
|
variant="ghost"
|
||||||
|
class="px-1 h-6"
|
||||||
|
on:click={() => {
|
||||||
|
if (minimizable) {
|
||||||
|
minimized = true;
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
>
|
||||||
<SquareArrowUpLeft size="18" />
|
<SquareArrowUpLeft size="18" />
|
||||||
</Button>
|
</Button>
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
@@ -3,7 +3,7 @@ title: Route planning and editing
|
|||||||
---
|
---
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Pencil, Route, Bike, TriangleAlert, ArrowRightLeft, Home, Repeat, Trash2, CirclePlay } from 'lucide-svelte';
|
import { Pencil, Route, Bike, TriangleAlert, ArrowRightLeft, Home, Repeat, Trash2, CirclePlay, SquareArrowUpLeft } from 'lucide-svelte';
|
||||||
import DocsNote from '$lib/components/docs/DocsNote.svelte';
|
import DocsNote from '$lib/components/docs/DocsNote.svelte';
|
||||||
import Routing from '$lib/components/toolbar/tools/routing/Routing.svelte';
|
import Routing from '$lib/components/toolbar/tools/routing/Routing.svelte';
|
||||||
import routingScreenshot from '$lib/assets/img/docs/tools/routing.png?enhanced';
|
import routingScreenshot from '$lib/assets/img/docs/tools/routing.png?enhanced';
|
||||||
@@ -17,6 +17,7 @@ The route planning and editing tool allows you to create and edit routes by plac
|
|||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
As shown below, the tool dialog contains a few settings to control the routing behavior.
|
As shown below, the tool dialog contains a few settings to control the routing behavior.
|
||||||
|
You can minimize the dialog to save space by clicking on <button><SquareArrowUpLeft size="16" class="inline-block" style="margin-bottom: 2px" /></button>.
|
||||||
|
|
||||||
<div class="flex flex-row justify-center">
|
<div class="flex flex-row justify-center">
|
||||||
<Routing minimizable={false} class="text-foreground p-3 border rounded-md shadow-lg" />
|
<Routing minimizable={false} class="text-foreground p-3 border rounded-md shadow-lg" />
|
||||||
|
@@ -188,7 +188,7 @@
|
|||||||
"tooltip": "Reduce the number of GPS points",
|
"tooltip": "Reduce the number of GPS points",
|
||||||
"tolerance": "Tolerance",
|
"tolerance": "Tolerance",
|
||||||
"number_of_points": "Number of GPS points",
|
"number_of_points": "Number of GPS points",
|
||||||
"button": "Reduce",
|
"button": "Minify",
|
||||||
"help": "Use the slider to choose the number of GPS points to keep",
|
"help": "Use the slider to choose the number of GPS points to keep",
|
||||||
"help_no_selection": "Select a file item to reduce the number of its GPS points"
|
"help_no_selection": "Select a file item to reduce the number of its GPS points"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user