Class: Control

.ModifyControl#Control(options, standaloneopt)

new Control(options, standaloneopt)

Parameters:
Name Type Attributes Description
options Object Control options.
Properties
Name Type Attributes Description
className string Name of the control's HTML class.
title string Title of the control toolbar button.
image Image Control toolbar image.
source ol.source.Vector <optional>
Vector source holding edit features. If undefined, options.features must be passed.
features ol.Collection.<ol.Feature> <optional>
Collection of edit features. If undefined, options.source must be set.
standalone boolean <optional>
Boolean indicating whether the Control can be activated together with other controls, like ole.Draw.
Inherited From:
Source: