forked from MapComplete/MapComplete
Refactoring: move 'GetDefaultIcon' into its own Svelte-class
This commit is contained in:
parent
f6ed163554
commit
28f9532af9
13 changed files with 97 additions and 80 deletions
|
|
@ -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?: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue