Class GeoJsonGeometryCollection
- java.lang.Object
-
- com.google.maps.android.data.MultiGeometry
-
- com.google.maps.android.data.geojson.GeoJsonGeometryCollection
-
- All Implemented Interfaces:
Geometry
public class GeoJsonGeometryCollection extends MultiGeometry
A GeoJsonGeometryCollection geometry contains a number of GeoJson Geometry objects.
-
-
Constructor Summary
Constructors Constructor Description GeoJsonGeometryCollection(java.util.List<Geometry> geometries)
Creates a new GeoJsonGeometryCollection object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Geometry>
getGeometries()
Gets the stored Geometry objectsjava.lang.String
getType()
Gets the type of geometry.-
Methods inherited from class com.google.maps.android.data.MultiGeometry
getGeometryObject, getGeometryType, setGeometryType, toString
-
-
-
-
Constructor Detail
-
GeoJsonGeometryCollection
public GeoJsonGeometryCollection(java.util.List<Geometry> geometries)
Creates a new GeoJsonGeometryCollection object- Parameters:
geometries
- array of Geometry objects to add to the GeoJsonGeometryCollection
-
-
Method Detail
-
getType
public java.lang.String getType()
Gets the type of geometry. The type of geometry conforms to the GeoJSON 'type' specification.- Returns:
- type of geometry
-
getGeometries
public java.util.List<Geometry> getGeometries()
Gets the stored Geometry objects- Returns:
- stored Geometry objects
-
-