Namespace: places

lucid.maps. places

Source:

Classes

LabelPlaces
LabelPlacesButton
PlaceDetailParser

Members

<static> LabelPlacesButtonOptions :object

Properties:
Name Type Description
buttonDiv Node The DOM element used to show/hide the place labels.
Source:

<static> LabelPlacesOptions :object

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.
Source:

<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.
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.
Default Value:
  • IDLE
Source: