Skip to content

Commit

Permalink
Merge pull request #17 from clj2289/patch-1
Browse files Browse the repository at this point in the history
Fixes distance measurements for polygons
  • Loading branch information
jcornet authored Dec 3, 2020
2 parents bdf0edf + 2e91838 commit 044cdcb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,6 @@ function(
_getPolylineOfPolygon: function(polygon) {
var polyline = new Polyline(polygon.spatialReference);
var points = polygon.rings[0];
points = points.slice(0, points.length - 1);
polyline.addPath(points);
return polyline;
},
Expand Down

0 comments on commit 044cdcb

Please sign in to comment.