@mapgear/geoapps > Drawing > StartEdit
Drawing.StartEdit() method
Retrieves editable dataset attributes for current feature that is being edited.
Signature:StartEdit(layerItemId: string, selectedFeature?: Feature): Promise<EditableLayer>;
Parameters
Parameter | Type | Description |
---|---|---|
layerItemId | string | Id of layer item |
selectedFeature | Feature | (Optional) Feature that is being selected for editing |
Promise<EditableLayer>
Promise of editable layer, including form for editing attributes