Skip to content

Commit

Permalink
fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Nov 26, 2024
1 parent ae66f77 commit 07f890d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function extractPolygonsFromGeojson(
}

function validateFeatureCount(features: Feature<Polygon>[]): boolean {
if (features.length > maxPolygonNum) return false;
return features.length <= maxPolygonNum;
}

function removePolygonHoles(features: Feature<Polygon>[]): {
Expand Down

0 comments on commit 07f890d

Please sign in to comment.