- Source:
- package.js, line 66
Classes
Members
-
<static> LabelPlacesButtonOptions :object
-
- Source:
- maps/places/LabelPlacesButton.js, line 197
Properties:
Name Type Description buttonDiv
Node The DOM element used to show/hide the place labels. -
<static> LabelPlacesOptions :object
-
- Source:
- maps/places/LabelPlaces.js, line 258
Properties:
Name Type Argument Description types
string[] The types of places to show. maxDistance
number The maximum distance to find places. maxPlaces
number The maximum number of places to show. button
lucid.maps.places.LabelPlacesButton <optional>
The button which will activate the places being shown. If undefined, you must trigger the places to be shown by calling the addPlaces function. -
<static> LabelPlacesState
-
An enumeration of states for the process-lifecycle of labelling places.The lucid.maps.places.LabelPlacesButton will adjust its appearance to reflect the current state.
- Default Value:
- IDLE
- Source:
- maps/places/LabelPlacesButton.js, line 165
Properties:
Name Type Default Description IDLE
string idle No search results are being shown on the map. PENDING
string pending A search is currently being performed. ACTIVE
string active A search has been triggered and places are being shown on the map. ERROR
string error A search was triggered but there was an error finding nearby places. NO_RESULTS
string no-results A search was triggered but no results were found.