Const<FeatureEditor
map={mapModel}
templates={featureTemplates}
writer={{
addFeature: async ({ feature, template, projection }) => { ... },
updateFeature: async ({ feature, layer, projection }) => { ... },
deleteFeature: async ({ feature, layer, projection }) => { ... }
}}
selectableLayers={[myLayer]}
/>
React component that provides a complete editing interface for creating and modifying map features.
The FeatureEditor component manages the entire editing workflow, including feature creation, selection, modification, and deletion. It renders different UI states based on the current editing step: