Please log in to use MapComplete Studio
{#if state === undefined}

MapComplete Studio

state = "edit_layer"}> Edit an existing layer state = "new_layer"}> Create a new layer state = "edit_theme"}> Edit a theme state = "new_theme"}> Create a new theme
{:else if state === "edit_layer"}
{#each Array.from($layers) as layerId} { console.log("Editing layer",layerId) state = "loading" initialLayerConfig = await studio.fetchLayer(layerId) state = "editing_layer" }}>
{layerId}
{/each}
{:else if state === "new_layer"}

Enter the ID for the new layer

A good ID is:
createNewLayer()}/>
{#if $layerIdFeedback !== undefined}
{$layerIdFeedback}
{:else } createNewLayer()}> Create layer {$newLayerId} {/if}
{:else if state === "loading"}
{:else if state === "editing_layer"} {/if}