From 49ea310d83e62ba98fcb4748089a1ab0003c9eb0 Mon Sep 17 00:00:00 2001 From: mbilker Date: Fri, 27 Jan 2017 21:18:27 -0500 Subject: [PATCH] Use nonPlacedRecords to store records that are not within Oakland --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 07c4e45..50eba2b 100644 --- a/main.js +++ b/main.js @@ -32,7 +32,7 @@ //Array of markers var markers = new Array(); - var nullRecords = new Array(); + var nonPlacedRecords = new Array(); //Create a new Date object for the current date var currentDate = new Date(); @@ -225,7 +225,7 @@ record.pin.addTo(map); markers.push(record); } else { - nullRecords.push(record); + nonPlacedRecords.push(record); } }) });