forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
289ff9cd04
commit
b99c9094fb
267 changed files with 5706 additions and 3554 deletions
|
|
@ -1,6 +1,4 @@
|
|||
<script lang="ts">
|
||||
|
||||
|
||||
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
|
||||
import DynamicIcon from "./DynamicIcon.svelte"
|
||||
import DynamicMarker from "./DynamicMarker.svelte"
|
||||
|
|
@ -13,13 +11,13 @@
|
|||
*/
|
||||
export let layer: LayerConfig
|
||||
export let properties: Readonly<Record<string, string>> = layer.baseTags
|
||||
export let clss= ""
|
||||
export let clss = ""
|
||||
let tags = new ImmutableStore(properties)
|
||||
let mapRenderings = layer.mapRendering?.filter((r) => r.location.has("point"))
|
||||
</script>
|
||||
|
||||
{#if mapRenderings?.length > 0}
|
||||
<div class={"relative block w-full h-full "+clss}>
|
||||
<div class={"relative block h-full w-full " + clss}>
|
||||
{#each mapRenderings as mr}
|
||||
<DynamicMarker marker={mr.marker} rotation={mr.rotation} {tags} />
|
||||
{/each}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue