public class MultiGeometry extends java.lang.Object implements Geometry
KmlMultiGeometry
and GeoJsonMultiLineString
,
GeoJsonMultiPoint
and
GeoJsonMultiPolygon
Constructor and Description |
---|
MultiGeometry(java.util.List<? extends Geometry> geometries)
Creates a new MultiGeometry object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Geometry> |
getGeometryObject()
Gets the stored geometry object
|
java.lang.String |
getGeometryType()
Gets the type of geometry
|
void |
setGeometryType(java.lang.String type)
Set the type of geometry
|
java.lang.String |
toString() |
public MultiGeometry(java.util.List<? extends Geometry> geometries)
geometries
- contains list of Polygons, Linestrings or Pointspublic java.lang.String getGeometryType()
getGeometryType
in interface Geometry
public java.util.List<Geometry> getGeometryObject()
getGeometryObject
in interface Geometry
public void setGeometryType(java.lang.String type)
type
- String describing type of geometrypublic java.lang.String toString()
toString
in class java.lang.Object