Skip to content

Commit 75454d1

Browse files
committed
Actually include merged polygons in the result of polygonsFor.
1 parent 2b5a5be commit 75454d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tzmap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@
315315
}
316316
// Note: minimum of 2 iterations
317317
} while (!pts_equal(polygon[0], polygon[polygon.length - 1]));
318+
result.push(polygon);
318319
}
319320

320321
return result;

0 commit comments

Comments
 (0)