Class: Toolbar

Toolbar(map, controls)

The editor's toolbar.

Constructor

new Toolbar(map, controls)

Constructor.
Parameters:
Name Type Description
map ol.Map The map object.
controls ol.Collection.<ol.control.Control> Controls to display in the toolbar.
Source:

Members

(private) controls :ol.Collection.<ol.control.Control>

Type:
  • ol.Collection.<ol.control.Control>
Source:

(private) map :ol.Map

Type:
  • ol.Map
Source:

Methods

(private) destroy()

Destroy the toolbar.
Source:

(private) load()

Load the toolbar.
Source: