public class LineString extends java.lang.Object implements Geometry<java.util.List<LatLng>>
KmlLineString and
GeoJsonLineString| Constructor and Description |
|---|
LineString(java.util.List<LatLng> coordinates)
Creates a new LineString object
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<LatLng> |
getGeometryObject()
Gets the coordinates of the LineString
|
java.lang.String |
getGeometryType()
Gets the type of geometry
|
java.lang.String |
toString() |
public LineString(java.util.List<LatLng> coordinates)
coordinates - array of coordinatespublic java.lang.String getGeometryType()
getGeometryType in interface Geometry<java.util.List<LatLng>>public java.util.List<LatLng> getGeometryObject()
getGeometryObject in interface Geometry<java.util.List<LatLng>>public java.lang.String toString()
toString in class java.lang.Object