new LabelPlacesButton(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
lucid.maps.places.LabelPlacesButtonOptions | Configuration for the button. |
- Source:
- maps/places/LabelPlacesButton.js, line 10
Methods
-
getState() → {lucid.maps.places.LabelPlacesState}
-
- Source:
- maps/places/LabelPlacesButton.js, line 123
Returns:
The current state of this button. -
hide()
-
Hide the button graphic.
- Source:
- maps/places/LabelPlacesButton.js, line 54
-
setActive()
-
Set this button into the "active" state.
- Source:
- maps/places/LabelPlacesButton.js, line 81
- See:
-
- The lucid.maps.places.LabelPlacesState enumeration.
-
setError()
-
Set this button into the "error encountered" state.
- Source:
- maps/places/LabelPlacesButton.js, line 90
- See:
-
- The lucid.maps.places.LabelPlacesState enumeration.
-
setIdle()
-
Set this button into the "idle" state.
- Source:
- maps/places/LabelPlacesButton.js, line 63
- See:
-
- The lucid.maps.places.LabelPlacesState enumeration.
-
setNoResults()
-
Set this button into the "no results found" state.
- Source:
- maps/places/LabelPlacesButton.js, line 100
- See:
-
- The lucid.maps.places.LabelPlacesState enumeration.
-
setPending()
-
Set this button into the "pending results" state.
- Source:
- maps/places/LabelPlacesButton.js, line 72
- See:
-
- The lucid.maps.places.LabelPlacesState enumeration.
-
show()
-
Make the button visible, after a call to hide.
- Source:
- maps/places/LabelPlacesButton.js, line 46
Events
-
click
-
Indicates when the button is clicked.
Type:
- object
- Source:
- maps/places/LabelPlacesButton.js, line 152