mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-04 02:42:13 +00:00
33 lines
848 B
Plaintext
33 lines
848 B
Plaintext
---
|
|
title: 工具栏
|
|
---
|
|
|
|
<script lang="ts">
|
|
import Toolbar from '$lib/components/toolbar/Toolbar.svelte';
|
|
import { currentTool, Tool } from '$lib/components/toolbar/tools';
|
|
import { onMount, onDestroy } from 'svelte';
|
|
|
|
onMount(() => {
|
|
currentTool.set(Tool.ROUTING);
|
|
});
|
|
|
|
onDestroy(() => {
|
|
currentTool.set(null);
|
|
});
|
|
</script>
|
|
|
|
# { title }
|
|
|
|
该控件位于地图左侧,作为应用核心,包含了 **gpx.studio** 的主要功能。
|
|
每个工具都由一个图标表示,单击以激活。
|
|
|
|
<div class="flex flex-row justify-center text-foreground">
|
|
<div>
|
|
<Toolbar class="border rounded-md shadow-lg" />
|
|
</div>
|
|
</div>
|
|
|
|
同 [编辑](./menu/edit) 工具一样,大多数工具可同时应用于多个文件以及其 [内部轨迹和路段](./gpx)。
|
|
|
|
以下是每个工具的详细描述。
|