类名 ZoomNavigationControl

# abstract new ZoomNavigationControl(terria, zoomIn)

参数:

名称 类型 描述
terria Object

The Terria instance.

zoomIn boolean

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

成员变量

String

# cssClass

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

String

# name

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

String

# text

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.

方法

# abstract protected activate()

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

构造函数
成员变量
方法
事件