# <olc:ModifyFeature>

Allows modifying features.

#### Inherits From

- olc:Control

#### See also

- olc namespace
- <lc:ModifyFeature>
- <lc:ModifyPoint>
- <lc:ModifyLineString>
- <lc:ModifyPolygon>
- <lc:DrawFeature>
- <lc:DrawPoint>
- <lc:DrawLineString>
- <lc:DrawPolygon>
- <lc:DrawBox>

Summary

<olc:ModifyFeature> | Allows modifying features.
Configurable Properties |
layer | {oll:Vector}
featureAdded | {Function} Called after the feature is added
handlerOptions | {Object} Used to set non-default properties on the control’s handler
geometryTypes | {String []} To restrict modification to a limited set of geometry types, send a list of strings corresponding to the geometry class names.
clickout | {Boolean} Unselect features when clicking outside any feature.
toggle | {Boolean} Unselect a selected feature on click.
deleteCodes | {Integer []} Keycodes for deleting verticies.

### Configurable Properties

### layer

{oll:Vector}

### featureAdded

{Function} Called after the feature is added

### handlerOptions

{Object} Used to set non-default properties on the control’s handler

### geometryTypes

{String []} To restrict modification to a limited set of geometry types, send a list of strings corresponding to the geometry class names.

### clickout

{Boolean} Unselect features when clicking outside any feature. Default is true.

### toggle

{Boolean} Unselect a selected feature on click. Default is true.

### deleteCodes

{Integer []} Keycodes for deleting verticies.

Used to render vector data from a variety of sources.
Abstract base component for OpenLayers Controls.