Constructor
# <Marker />
A pin on top of the map component, for all listings, recommendations and currently selected listing, as well as searchresults.
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
number | The id of a place to which the marker belongs |
|
setListing |
function | A function callback to set the clicked on listing as the selected listing |
|
type |
string | If the marker belongs to a listing, recommendation, search place or is selected |
|
place |
Object |
<optional> |
The information about the place which is currently being hovered on |