package me.itszooti.geojson;

import java.util.HashMap;
import java.util.Map;

public class GeoFeature extends GeoObject {

	private String id;
	private GeoGeometry geometry;
	private Map<String, Object> properties;
	
	public GeoFeature(String id, GeoGeometry geometry) {
		this.id = id;
		this.geometry = geometry;
		properties = new HashMap<String, Object>();
	}
	
	public String getId() {
		return id;
	}
	
	public GeoGeometry getGeometry() {
		return geometry;
	}
	
	public Object getProperty(String name) {
		return properties.get(name);
	}
	
	public void setProperty(String name, Object value) {
		properties.put(name, value);
	}
	
}

@@ -66,19 +66,67 @@
 va.util.
-Map
+HashSet;%0Aimport java.util.Map;%0Aimport java.util.Set
 ;%0A%0Apubli
@@ -581,32 +581,129 @@
 get(name);%0A%09%7D%0A%09%0A
+%09public Set%3CString%3E getPropertyNames() %7B%0A%09%09return new HashSet%3CString%3E(properties.keySet());%0A%09%7D%0A%09%0A
 %09public void set

Implement property name retrieval from GeoFeature