Refactoring: move 'GetDefaultIcon' into its own Svelte-class

This commit is contained in:
Pieter Vander Vennet 2025-01-02 03:56:42 +01:00
parent f6ed163554
commit 28f9532af9
13 changed files with 97 additions and 80 deletions

View file

@ -143,15 +143,6 @@ export default class PointRenderingConfig extends WithContextLoader {
"w-full h-full block absolute top-0 left-0"
)
}
public GetBaseIcon(tags?: Record<string, string>): BaseUIElement {
return new SvelteUIElement(DynamicMarker, {
marker: this.marker,
rotation: this.rotation,
tags: new ImmutableStore(tags),
})
}
public RenderIcon(
tags: Store<Record<string, string>>,
options?: {