feat: add region and location geometry types and extend editing engine to support line and point modifications
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user