POIs visible with checkbox

This commit is contained in:
ISA
2024-05-30 09:35:16 +02:00
parent ee0118244b
commit 79321ac06d
8 changed files with 276 additions and 22 deletions

View File

@@ -0,0 +1,9 @@
// /store/atoms/poiLayerVisible.js
// Recoil atom for the visibility of the POI layer
//
import { atom } from "recoil";
export const poiLayerVisibleState = atom({
key: "poiLayerVisibleState",
default: true,
});

View File

@@ -0,0 +1,13 @@
import { atom } from "recoil";
// Atom für die Speicherung der mapId aus der URL
export const mapIdState = atom({
key: "mapIdState", // Eindeutiger Schlüssel (innerhalb des gesamten Projekts)
default: "10", // Standardwert
});
// Atom für die Speicherung der userId aus der URL
export const userIdState = atom({
key: "userIdState",
default: "484",
});