Class: ResetViewNavigationControl

ResetViewNavigationControl

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

new ResetViewNavigationControl(terria)

engineExtensions/widgets/navigation/ResetViewNavigationControl.js, line 13
Name Type Description
terria Object

The Terria instance.

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.

svgHeightNumber

Gets or sets the height of the svg icon. This property is observable.

svgIconObject

Gets or sets the svg icon of the control. This property is observable.

svgWidthNumber

Gets or sets the width of the svg icon. This property is observable.

Methods

activate()

engineExtensions/widgets/navigation/ResetViewNavigationControl.js, line 111

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