Class: Label

Label

Main constructor of the class. Creates a Label
control to provides a popup with specified information


new Label(text, coordOpts)

Parameters:
Name Type Description
text string

Text to show

coordOpts array

Coordinate to display popup

Source:

Extends

Members


<static, constant> POPUP_TEMPLATE :string

Template popup for this controls

Type:
  • string
Source:

Methods


fire()

Sets the callback when the instace is loaded

Inherited From:
Source:

getCoordinate()

TODO

Source:

getImpl()

This function provides the implementation
of the object

Inherited From:
Source:
Returns:
Type
Object

getPopup()

This function return popup created

Source:
Returns:

popup created

Type
M.Popup

hide()

This function remove the popup with information

Source:

on()

Sets the callback when the instace is loaded

Inherited From:
Source:

once()

Sets the callback when the instace is loaded

Inherited From:
Source:

setCoordinate()

TODO

Source:

setImpl(impl)

This function set implementation of this control

Parameters:
Name Type Description
impl M.Map

to add the plugin

Inherited From:
Source:

show(map)

This function displays the popup with information

Parameters:
Name Type Description
map M.Map

Facade map

Source:

un()

Sets the callback when the instace is loaded

Inherited From:
Source: