Version 1.0.2 mit node_modules Verzeichnis

This commit is contained in:
ISA
2024-10-02 07:58:24 +02:00
parent f353a06b1b
commit 62b6e55a0a
68228 changed files with 4548477 additions and 651 deletions

View File

@@ -0,0 +1,26 @@
// /components/gisPolylines/PolylineContextMenu.js
import React from "react";
const PolylineContextMenu = ({ position, onAddPoint, onRemovePoint, onClose }) => {
return (
<div
style={{
position: "absolute",
top: position.y,
left: position.x,
backgroundColor: "white",
border: "1px solid black",
padding: "10px",
zIndex: 1000,
}}
>
<ul>
<li onClick={onAddPoint}>Stützpunkt hinzufügen</li>
<li onClick={onRemovePoint}>Stützpunkt entfernen</li>
<li onClick={onClose}>Schließen</li>
</ul>
</div>
);
};
export default PolylineContextMenu;