Class: DrawControl

.DrawControl#DrawControl(options, typeopt)

new DrawControl(options, typeopt)

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'.
Source: