new Label(text, coordOpts)
facade/js/Label.js, line 21
Name | Type | Description |
---|---|---|
text |
string |
Text to show |
coordOpts |
array |
Coordinate to display popup |
Extends
- M.facade.Base
Members
-
module:M/Label~Label.POPUP_TEMPLATE{string}
-
Template popup for this controls
Methods
-
getCoordinate()
facade/js/Label.js, line 74 -
TODO
-
getPopup(){M.Popup}
facade/js/Label.js, line 64 -
This function return popup created
Returns:
popup created
-
hide()
facade/js/Label.js, line 37 -
This function remove the popup with information
-
setCoordinate()
facade/js/Label.js, line 84 -
TODO
-
show(map, removePrevious)
facade/js/Label.js, line 51 -
This function displays the popup with information
Name Type Description map
M.Map Facade map
removePrevious
Boolean remove previous labels