new MousePositionControlModel(){Void}
modules/controls/mousePosition/model.js, line 22
model for the mouse position
Properties:
Name | Type | Default | Description |
---|---|---|---|
hintText |
String | "", | filled with "Bewegen Sie die Maus Ć¼ber die Karte"- translated |
showMousePositionText |
String | "", | filled with "Einblenden"- translated |
hideMousePositionText |
String | "", | filled with "Ausblenden"- translated |
Listens to Events:
Extends
Methods
-
changeLang(lng){Void}
modules/controls/mousePosition/model.js, line 38 -
change language - sets default values for the language
Name Type Description lng
String the language changed to Fires:
- Controls.MousePosition#event:changeHintText
- Controls.MousePosition#event:changeShowMousePositionText
- Controls.MousePosition#event:changeHideMousePositionText