Skip to content

Commit

Permalink
Handle ArcGIS Circle geometry deconstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
foolmoron committed May 7, 2015
1 parent 900e290 commit e7bf2b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wicket-arcgis.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ Wkt.Wkt.prototype.deconstruct = function (obj) {
}

// esri.geometry.Polygon ///////////////////////////////////////////////////
if (obj.constructor === esri.geometry.Polygon) {
if (obj.constructor === esri.geometry.Polygon || obj.constructor === esri.geometry.Circle) {

rings = [];
for (i = 0; i < obj.rings.length; i += 1) {
Expand Down Expand Up @@ -389,4 +389,4 @@ Wkt.Wkt.prototype.deconstruct = function (obj) {
};

}
};
};

0 comments on commit e7bf2b2

Please sign in to comment.