Directive used to insert, modify and delete features from a single layer. It allows you to modify the geometry of the feature in addition to its attributes.
In order to modify or delete a feature, you must click on the map at the location of the feature to select it first.
In order to create a new feature, you use the "Draw" button and digitalize the feature on the map.
<gmf-editfeature gmf-editfeature-dirty="ctrl.dirty" gmf-editfeature-editabletreectrl="::ctrl.treeCtrl" gmf-editfeature-map="::ctrl.map" gmf-editfeature-state="efsCtrl.state" gmf-editfeature-tolerance="::ctrl.tolerance" gmf-editfeature-vector="::ctrl.vectorLayer"> </gmf-editfeature>
||boolean||Flag that is toggled as soon as the feature changes, i.e. if any of its properties change, which includes the geometry.|
||ngeo.layertree.Controller||A reference to the editable Layertree controller, which contains a a reference to the node and WMS layer.|
||string||The state property shared with the `gmf-editfeatureselector` directive. For more info, see in that directive.|
||number | undefined||The buffer in pixels to use when making queries to get the features.|
||ol.layer.Vector||The vector layer in which to draw the vector features.|
The directive specs.