Class: ModifyControl

.ModifyControl#ModifyControl(options, typeopt, featuresopt, sourceopt)

new ModifyControl(options, typeopt, featuresopt, sourceopt)

Parameters:
Name Type Attributes Description
options Object Tool options.
type string <optional>
Geometry type ('Point', 'LineString', 'Polygon', 'MultiPoint', 'MultiLineString', 'MultiPolygon' or 'Circle'). Default is 'Point'.
features ol.Collection.<ol.Feature> <optional>
Destination for drawing.
source ol.source.Vector <optional>
Destination for drawing.
Source: