Class GeoJsonMultiLineString
- java.lang.Object
-
- com.google.maps.android.data.MultiGeometry
-
- com.google.maps.android.data.geojson.GeoJsonMultiLineString
-
- All Implemented Interfaces:
Geometry
public class GeoJsonMultiLineString extends MultiGeometry
A GeoJsonMultiLineString geometry contains a number ofGeoJsonLineString
s.
-
-
Constructor Summary
Constructors Constructor Description GeoJsonMultiLineString(java.util.List<GeoJsonLineString> geoJsonLineStrings)
Creates a new GeoJsonMultiLineString object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GeoJsonLineString>
getLineStrings()
Gets a list of GeoJsonLineStringsjava.lang.String
getType()
Gets the type of geometry.-
Methods inherited from class com.google.maps.android.data.MultiGeometry
getGeometryObject, getGeometryType, setGeometryType, toString
-
-
-
-
Constructor Detail
-
GeoJsonMultiLineString
public GeoJsonMultiLineString(java.util.List<GeoJsonLineString> geoJsonLineStrings)
Creates a new GeoJsonMultiLineString object- Parameters:
geoJsonLineStrings
- list of GeoJsonLineStrings 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
-
getLineStrings
public java.util.List<GeoJsonLineString> getLineStrings()
Gets a list of GeoJsonLineStrings- Returns:
- list of GeoJsonLineStrings
-
-