- Source:
- package.js, line 82
Classes
Members
-
<static> LabelPlacesButtonOptions :object
-
- Source:
- maps/places/LabelPlacesButton.js, line 197
Properties:
Name Type Description buttonDivNode 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 typesstring[] The types of places to show. maxDistancenumber The maximum distance to find places. maxPlacesnumber The maximum number of places to show. buttonlucid.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 IDLEstring idle No search results are being shown on the map. PENDINGstring pending A search is currently being performed. ACTIVEstring active A search has been triggered and places are being shown on the map. ERRORstring error A search was triggered but there was an error finding nearby places. NO_RESULTSstring no-results A search was triggered but no results were found.