Skip to content

Commit

Permalink
Merge pull request #139 from mrgr4v3s/issue-138
Browse files Browse the repository at this point in the history
Issue #138 fix with untested change to ArcGIS extension
  • Loading branch information
arthur-e authored Dec 17, 2019
2 parents 7520fd1 + 77dbd5a commit 6782769
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*sublime*
node_modules
.idea/*
5 changes: 0 additions & 5 deletions wicket-arcgis.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,6 @@ Wkt.Wkt.prototype.construct = {
return rings;
});

if (!holey && rings[0].length > 1) { // Easy, if there are no inner rings (holes)
// But we add the second condition to check that we're not too deeply nested
return rings;
}

newRings = [];
for (i = 0; i < rings.length; i += 1) {
if (rings[i].length > 1) {
Expand Down

0 comments on commit 6782769

Please sign in to comment.