Last updated

API / geotoolkit / controls / toolbar / Toolbar / Toolbar

Namespace: Toolbar

toolbar.Toolbar.Toolbar

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Object

toolbar options

Type declaration

NameTypeDescription
alignment?AnchorTypecanvas point to which the toolbar is attached
border?stringtoolbar buttons css-styled border (e.g. "1px black solid" for solid border style)
borderradius?numbertoolbar element border radius (in px)
buttons?(Button[] | Button | string)[]toolbar buttons or its string identifier (see geotoolkit.controls.toolbar.ButtonRegistry.getInstance().getIds() for all the buttons available)
classname?stringtoolbar css class name
color?stringcss-styled toolbar buttons background color
element?HTMLElementhtml dom element to use as the tooltip (instead of the new one creating by default)
fontsize?numbertoolbar buttons font size
gap?numbergap size (in px) between buttons
node?CompositeNode-
offset?number | Dimension | Point | { x: number ; y: number }toolbar offset (in pixel)
orientation?Orientationtoolbar orientation (vertical/horizontal)
size?numbertoolbar buttons size (in pixel)
toolsToolsContainerplot tools container to add toolbar to