Skip to content

Commit e4f72e3

Browse files
committed
ProtoFeature扩充,属性中支持数据、对象、数组与对象的相互嵌套,允许feature中的形状、属性为空
1 parent 54e5f86 commit e4f72e3

File tree

5 files changed

+2613
-1830
lines changed

5 files changed

+2613
-1830
lines changed

giscat-vector/giscat-vector-pojo/src/main/java/org/wowtools/giscat/vector/pojo/Feature.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ public Feature(Geometry geometry) {
4242
this.geometry = geometry;
4343
}
4444

45+
public Feature(Map<String, Object> properties) {
46+
this.properties = properties;
47+
}
48+
4549
public Feature() {
4650
}
4751

0 commit comments

Comments
 (0)