Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
olivernyc committed Aug 5, 2018
1 parent 19a3163 commit 6891cc4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
</head>

<body>
<main class="pa3 mw8 center sans-serif">
<div class="mv4 pa4 w-100">
<h1 class="tc f4 fw8">January 2018</h1>
<div id="map-div-1" class="w-100 vh-75 relative bg-light-gray "></div>
<main class="pa4 mw8 center sans-serif">
<div class="pa5 w-100 vh-100">
<h2 class="mt0 tc">January 2018</h2>
<div id="map-div-1" class="w-100 h-100 relative bg-light-gray "></div>
</div>

<div class="mv4 pa4 w-100">
<h1 class="tc f4 fw8">August 2018</h1>
<div id="map-div-2" class="w-100 vh-75 relative bg-light-gray "></div>
<div class="pa5 w-100 vh-100">
<h2 class="mt0 tc">August 2018</h2>
<div id="map-div-2" class="w-100 h-100 relative bg-light-gray "></div>
</div>

<div class="mv4 pa4 w-100">
<h1 class="tc f4 fw8">New 2018</h1>
<div id="map-div-3" class="w-100 vh-75 relative bg-light-gray "></div>
<div class="pa5 w-100 vh-100">
<h2 class="mt0 tc">New 2018</h2>
<div id="map-div-3" class="w-100 h-100 relative bg-light-gray "></div>
</div>
</main>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBNClp7oJsw-eleEoR3-PQKV23tpeW-FpE&libraries=visualization&callback=initMap" async defer></script>
Expand Down
28 changes: 14 additions & 14 deletions map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ var map;
var currentNode = {};
var searchQuery = "";

const mapOptions = {
center: { lat: 40.6991809, lng: -73.9505798 },
zoom: 13,
disableDefaultUI: false,
zoomControl: false,
streetViewControl: false,
scrollwheel: false,
scrollwheel: false,
fullscreenControl: false,
gestureHandling: "greedy",
mapTypeControl: false,
backgroundColor: "none"
};

const maps = [
{
divId: "map-div-1",
Expand Down Expand Up @@ -150,20 +164,6 @@ const styles = [
}
];

const mapOptions = {
center: { lat: 40.6981809, lng: -73.9595798 },
zoom: 13,
disableDefaultUI: false,
zoomControl: false,
streetViewControl: false,
scrollwheel: false,
scrollwheel: false,
fullscreenControl: false,
gestureHandling: "greedy",
mapTypeControl: false,
backgroundColor: "none"
};

function initMap() {
return maps.map(map => {
return initMapWithData(map);
Expand Down

0 comments on commit 6891cc4

Please sign in to comment.