Class: ZoomNavigationControl

ZoomNavigationControl

The model for a zoom in control in the navigation control tool bar

new ZoomNavigationControl(terria, zoomIn)

engineExtensions/widgets/navigation/ZoomNavigationControl.js, line 14
Name Type Description
terria Object

The Terria instance.

zoomIn boolean

is used for zooming in (true) or out (false)

Members

cssClassString

Gets or sets the CSS class of the control. This property is observable.

nameString

Gets or sets the name of the control which is set as the control's title. This property is observable.

textString

Gets or sets the text to be displayed in the nav control. Controls that have text do not display the svgIcon. This property is observable.

Methods

activate()

engineExtensions/widgets/navigation/ZoomNavigationControl.js, line 55

When implemented in a derived class, performs an action when the user clicks on this control