Class: ZoomControlModel

ZoomControlModel

ControlsZoomModel

new ZoomControlModel(config){void}

modules/controls/zoom/model.js, line 23
model for the zoom buttons +/-
Name Type Description
config Object optional Config
Properties:
Name Type Default Description
zoomIn String "" the title text for zooming in
zoomOut String "" the title text for zooming out
Listens to Events:

Extends

Methods

changeLang(lng){Void}

modules/controls/zoom/model.js, line 37
change language - sets default values for the language
Name Type Description
lng String the language changed to

getShowZoomBox(){boolean}

modules/controls/zoom/model.js, line 62
Getter Zoombox Button (On, Off)

getShowZoomIn(){boolean}

modules/controls/zoom/model.js, line 48
Getter ZoomIn Button (On, Off)

getShowZoomOut(){boolean}

modules/controls/zoom/model.js, line 55
Getter ZoomOut Button (On, Off)

setConfig(cfg){void}

modules/controls/zoom/model.js, line 70
Übernimmt die Einträge der config.json
Name Type Description
cfg Object optional Config