forked from MapComplete/MapComplete
Studio: more work on studio
This commit is contained in:
parent
81876fc5ed
commit
4e8dfc0026
20 changed files with 1842 additions and 94 deletions
|
@ -7,14 +7,15 @@
|
|||
/**
|
||||
* Renders a 'marker', which consists of multiple 'icons'
|
||||
*/
|
||||
export let config : PointRenderingConfig
|
||||
export let config: PointRenderingConfig;
|
||||
let icons: IconConfig[] = config.marker;
|
||||
export let tags: Store<Record<string, string>>;
|
||||
|
||||
</script>
|
||||
|
||||
<div class="relative w-full h-full">
|
||||
{#each icons as icon}
|
||||
<Icon {icon} {tags} />
|
||||
{/each}
|
||||
</div>
|
||||
</script>
|
||||
{#if config !== undefined}
|
||||
<div class="relative w-full h-full">
|
||||
{#each icons as icon}
|
||||
<Icon {icon} {tags} />
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue