Components

Map

<Map />

Constructor

# <Map />

A Map component that includes the visualization of New York and listing location markers.

Properties:
Name Type Description
listings array

The listings to be shown on the map

setListing function

An event handler when a listing is clicked on

placeSearch string

The propagated search value from the Searchbar

recommendations array

Recommended listings based on the selected listing

selected Object

The currently clicked on listing

View Source components/Map/Map.js, line 32