Class GeoJsonMultiPolygon
- java.lang.Object
-
- com.google.maps.android.data.MultiGeometry
-
- com.google.maps.android.data.geojson.GeoJsonMultiPolygon
-
- All Implemented Interfaces:
Geometry
public class GeoJsonMultiPolygon extends MultiGeometry
A GeoJsonMultiPolygon geometry contains a number ofGeoJsonPolygons.
-
-
Constructor Summary
Constructors Constructor Description GeoJsonMultiPolygon(java.util.List<GeoJsonPolygon> geoJsonPolygons)Creates a new GeoJsonMultiPolygon
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GeoJsonPolygon>getPolygons()Gets a list of GeoJsonPolygonsjava.lang.StringgetType()Gets the type of geometry.-
Methods inherited from class com.google.maps.android.data.MultiGeometry
getGeometryObject, getGeometryType, setGeometryType, toString
-
-
-
-
Constructor Detail
-
GeoJsonMultiPolygon
public GeoJsonMultiPolygon(java.util.List<GeoJsonPolygon> geoJsonPolygons)
Creates a new GeoJsonMultiPolygon- Parameters:
geoJsonPolygons- list of GeoJsonPolygons to store
-
-
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
-
getPolygons
public java.util.List<GeoJsonPolygon> getPolygons()
Gets a list of GeoJsonPolygons- Returns:
- list of GeoJsonPolygons
-
-