Skip to content

Commit

Permalink
wrap simple polygons
Browse files Browse the repository at this point in the history
  • Loading branch information
ungoldman committed Mar 20, 2015
1 parent b5723f0 commit 1dbf073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function (collection, callback) {
}

if (isPolygon || isMultiPolygon) {
coords = [coords]
if (isPolygon) coords = [coords]
loop(bbox, coords)
}
})
Expand Down

0 comments on commit 1dbf073

Please sign in to comment.