Class: Editor

Editor#Editor(map, optionsopt)

new Editor(map, optionsopt)

Initialization of the editor.
Parameters:
Name Type Attributes Description
map ol.Map The map object.
options Object <optional>
Editor options.
Properties
Name Type Attributes Description
showToolbar Boolean <optional>
Whether to show the toolbar. Default is true.
Source: