-
- All Implemented Interfaces:
-
com.google.maps.android.data.Geometry
public class GeoJsonMultiPolygon extends MultiGeometry
A GeoJsonMultiPolygon geometry contains a number of GeoJsonPolygons.
-
-
Constructor Summary
Constructors Constructor Description GeoJsonMultiPolygon(List<GeoJsonPolygon> geoJsonPolygons)Creates a new GeoJsonMultiPolygon
-
Method Summary
Modifier and Type Method Description StringgetType()Gets the type of geometry. List<GeoJsonPolygon>getPolygons()Gets a list of GeoJsonPolygons -
Methods inherited from class com.google.maps.android.data.MultiGeometry
getGeometryObject, getGeometryType, setGeometryType, toString -
Methods inherited from class com.google.maps.android.data.Geometry
getGeometryObject -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GeoJsonMultiPolygon
GeoJsonMultiPolygon(List<GeoJsonPolygon> geoJsonPolygons)
Creates a new GeoJsonMultiPolygon- Parameters:
geoJsonPolygons- list of GeoJsonPolygons to store
-
-
Method Detail
-
getType
String getType()
Gets the type of geometry. The type of geometry conforms to the GeoJSON 'type'specification.
-
getPolygons
List<GeoJsonPolygon> getPolygons()
Gets a list of GeoJsonPolygons
-
-
-
-