diff --git a/src/listings-page/ListingsPage.js b/src/listings-page/ListingsPage.js
index 3aa80cf..4f03ce4 100644
--- a/src/listings-page/ListingsPage.js
+++ b/src/listings-page/ListingsPage.js
@@ -4,12 +4,17 @@ import {
withScriptjs,
withGoogleMap,
Marker,
- InfoWindow
+ InfoWindow,
+ useLoadScript
} from "react-google-maps";
+
+
import * as listingData from "./data/property-data.json";
import mapStyles from "./mapStyles";
import "./ListingsPage.css";
+
+
function Map(){
const [selectedProperty, setSelectedProperty] = useState(null);
@@ -17,6 +22,8 @@ function Map(){
return (
+
+
- {listingData.Properties.map(house => (
+ {
+ listingData.Properties.map(house => {
+
-
-
-
- ))}
+
+ })
+ }
{selectedProperty && (
@@ -95,10 +103,6 @@ function Map(){
)}
-
-
-
-
@@ -117,6 +121,70 @@ class ListingsPage extends Component {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{/*
@@ -158,7 +226,6 @@ class ListingsPage extends Component {