Class: Toolbar

.Toolbar#Toolbar(map, controls)

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: