public class BaseFeatureCollection extends Object implements GeoJSON
Constructor and Description |
---|
BaseFeatureCollection() |
Modifier and Type | Method and Description |
---|---|
static FeatureCollection |
fromJson(String json)
Create a GeoJSON feature collection object from JSON.
|
String |
getType()
Should always be "FeatureCollection".
|
String |
toJson()
Convert feature collection into JSON.
|
public String getType()
public static FeatureCollection fromJson(String json)
json
- String of JSON making up a feature collection.FeatureCollection
GeoJSON object.© 2015–2016 Mapbox. All rights reserved.