Skip to content

Commit

Permalink
force null geometry instead Point(0,0)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jun 7, 2024
1 parent 6e35b7d commit 8fe6e45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public static Feature createInstanceFromJson(JsonObject json) throws ArcgisExcep
geometry = Point.createInstanceFromJson(jsonGeometry); // TODO another
//geometry types?
} else {
geometry = new Point(0, 0);
geometry = null;
}
Map<String, Object> attributes = attToMap(json.get(ATTRIBUTES_TAG).getAsJsonObject());
return new Feature(geometry, attributes);
Expand Down

0 comments on commit 8fe6e45

Please sign in to comment.