mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-23 12:09:30 -07:00
fix for file didn't load in spc outlook
This commit is contained in:
@@ -18,6 +18,8 @@ const testAllPoints = (point, data) => {
|
|||||||
data.forEach((day, index) => {
|
data.forEach((day, index) => {
|
||||||
// initialize the result
|
// initialize the result
|
||||||
result[index] = false;
|
result[index] = false;
|
||||||
|
// if there's no data (file didn't load), exit early
|
||||||
|
if (day === undefined) return;
|
||||||
// loop through each category
|
// loop through each category
|
||||||
day.features.forEach((feature) => {
|
day.features.forEach((feature) => {
|
||||||
if (!feature.geometry.coordinates) return;
|
if (!feature.geometry.coordinates) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user