Create route icons and components to place these icons.
This commit is contained in:
23
src/lib/mapRegistry.ts
Normal file
23
src/lib/mapRegistry.ts
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user