Skip to content

Commit

Permalink
Merge pull request #91 from mbilker/null-record-stash
Browse files Browse the repository at this point in the history
Use nonPlacedRecords to store records that are not within Oakland
  • Loading branch information
vonbearshark authored Jan 28, 2017
2 parents 9e6cf0d + 49ea310 commit 0b6405c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -276,7 +276,7 @@
record.pin.addTo(map);
markers.push(record);
} else {
nullRecords.push(record);
nonPlacedRecords.push(record);
}
})
});
Expand Down

0 comments on commit 0b6405c

Please sign in to comment.