Create route icons and components to place these icons.

This commit is contained in:
2026-02-05 01:52:18 +00:00
parent d38afeb922
commit e977d01315
15 changed files with 683 additions and 86 deletions

23
src/lib/mapRegistry.ts Normal file
View File

@@ -0,0 +1,23 @@
import Station from '$lib/components/mapIcons/Station.svelte';
import BaseTrack from '$lib/components/mapIcons/BaseTrack.svelte';
import Junction from '$lib/components/mapIcons/Junction.svelte';
import Bridge from '$lib/components/mapIcons/Bridge.svelte';
import Crossover from '$lib/components/mapIcons/Crossover.svelte';
import Crossing from '$lib/components/mapIcons/Crossing.svelte';
import Loop from '$lib/components/mapIcons/Loop.svelte';
import SignallerChange from '$lib/components/mapIcons/SignallerChange.svelte';
import ElectrificationChange from '$lib/components/mapIcons/ElectrificationChange.svelte';
export const components = {
station: Station,
junction: Junction,
crossovers: BaseTrack,
siteof: BaseTrack,
bridge: Bridge,
crossover: Crossover,
crossing: Crossing,
loop: Loop,
signallerChange: SignallerChange,
electrificationChange: ElectrificationChange,
}