public abstract class Geometry extends GeoJSONObject
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_COORDINATES |
CREATOR, JSON_TYPECONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
Geometry() |
Geometry(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
toJSON()
Formats the object's attributes as GeoJSON.
|
describeContents, getType, readParcel, writeToParcelpublic static final String JSON_COORDINATES
public Geometry()
public Geometry(JSONObject json)
public JSONObject toJSON() throws JSONException
toJSON in class GeoJSONObjectJSONObjectJSONException