Skip to main content
ControlsPluginOptions
Options for the controls plugin.
NameTypeDescription
buttons?ControlsComponentButtonsOptional extra buttons to add to the controls component.
clear?booleanWhether or not to show the clear button, defaults to true.
clearMessage?stringOptional message to show the user when prompting them to confirm they want to clear the dataset
containerBrowserElementThe element that will host the controls
orientation?"row" | "column"Optional orientation for the controls. Defaults to 'row'.
undoRedo?booleanWhether or not to show undo/redo buttons, defaults to true
zoom?booleanWhether or not to show zoom in/zoom out buttons. Defaults to false when the UI's zoom method is "wheel", and defaults to true when the UI's zoom method is "click".
zoomToExtents?booleanWhether or not to show the zoom to extents button, defaults to true