feat(lagekarte): Kreis-Mittelpunkt + Radius editierbar (#186) - #190
Merged
Conversation
Kreise bekommen im Render-Pfad einen kleinen, gleichfarbigen, nicht-interaktiven Mittelpunkt-Punkt (circleMarker), gebündelt mit der Fläche in einer featureGroup — macht das exakte Zentrum sichtbar. Im „Fläche bearbeiten"-Dialog zeigt ein neues Zahlenfeld den Radius in Metern (mit Live-Umrechnung km/m) und macht ihn editierbar; gespeichert wird radiusM über die Feature-Y.Map, der observe→reconcile-Pfad rendert den Kreis neu (Invariante #1). Nur bei shape === "circle" sichtbar. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
gergernaut
added a commit
that referenced
this pull request
Sep 3, 2026
…radius-186 feat(lagekarte): Kreis-Mittelpunkt + Radius editierbar (#186)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Schließt #186.
Änderungen
1. Mittelpunkt bei Kreisen
Kreise erhalten im Render-Pfad (
createLayer) einen kleinen, gleichfarbigen, nicht-interaktiven Mittelpunkt-Punkt (L.circleMarker, 3 px), gebündelt mit der Fläche in einerfeatureGroup. Macht das exakte Zentrum sichtbar. Rein visuell — greift nicht in Auswahl/Klick ein (Punkt istinteractive: false).2. Radius im „Fläche bearbeiten"-Dialog
Neues Zahlenfeld, nur bei
shape === "circle"sichtbar. Zeigt den Radius in Metern mit Live-Umrechnung (km/m viaformatDistance) und macht ihn editierbar. Beim Speichern wirdradiusMüber die Feature-Y.Mapgeschrieben (Invariante #1: derobserve→reconcile-Pfad rendert den Kreis neu, lokal wie remote). Ein geleertes Feld wird beim Speichern auf min. 1 m geklemmt, damit der Kreis nicht kollabiert.Verifikation (Browser)
fill-opacity:1, gleiche Farbe).radiusM; Live-Label folgt der Eingabe.featureGroup-Bündelung weiter.pnpm typecheck+pnpm buildgrün.