Add gzipped download endpoint

This commit is contained in:
John Lyon-Smith
2018-04-26 18:00:16 -07:00
parent 5e5daa2e78
commit 96e2599cdb
9 changed files with 390 additions and 164 deletions

View File

@@ -69,7 +69,7 @@ export const dotify = (s) => {
export const regionContainingPoints = (points, inset) => {
let minX, maxX, minY, maxY
if (!points) {
if (!points || points.length === 0) {
return null
}