feat: add region and location geometry types and extend editing engine to support line and point modifications

This commit is contained in:
taDuc
2026-06-01 16:01:37 +07:00
parent d270d9435b
commit 1a77d471ad
14 changed files with 623 additions and 114 deletions
+3 -2
View File
@@ -333,8 +333,9 @@ export function useMapInteraction({
drawingEngine.cleanup
);
if (allowGeometryEditing) {
editingEngineRef.current?.bindEditEvents(map);
const editCleanup = editingEngineRef.current?.bindEditEvents(map);
if (editCleanup) {
mapCleanupFnsRef.current.push(editCleanup);
}
};