UNPKG

ole

Version:

OpenLayers Editor

38 lines (37 loc) 881 B
export default Toolbar; /** * The editor's toolbar. * @class * @alias ole.Toolbar */ declare class Toolbar extends Control { /** * Constructor. * @param {ol.Map} map The map object. * @param {ol.Collection.<ol.control.Control>} controls Controls * @param {HTMLElement} [options.target] Specify a target if you want * the control to be rendered outside of the map's viewport. */ constructor(map: ol.Map, controls: ol.Collection<ol.control.Control>, target: any); /** * @private * @type {ol.Collection.<ol.control.Control>} */ private controls; /** * @private * @type {ol.Map} */ private map; /** * Load the toolbar. * @private */ private load; /** * Destroy the toolbar. * @private */ private destroy; } import Control from 'ol/control/Control';