(lng: number, lat: number)
| 377 | const handleKeyDown = (e: KeyboardEvent) => { if (e.key === "Enter" || e.key === "Escape") onCancelEditBoundary?.(); }; |
| 378 | document.addEventListener("keydown", handleKeyDown); |
| 379 | return () => { editMarkersRef.current.forEach((m) => m.remove()); editMarkersRef.current = []; document.removeEventListener("keydown", handleKeyDown); }; |
| 380 | }, [editBoundaryFieldId, mapLoaded, allFields, onCancelEditBoundary]); |
| 381 | |
| 382 | const handleStyleChange = (style: "dark" | "satellite") => { |
nothing calls this directly
no outgoing calls
no test coverage detected