-
- All Implemented Interfaces:
-
com.google.maps.android.data.Geometry
public class LineString implements Geometry<List<LatLng>>
An abstraction that shares the common properties of KmlLineString and GeoJsonLineString
-
-
Constructor Summary
Constructors Constructor Description LineString(List<LatLng> coordinates)Creates a new LineString object
-
Method Summary
Modifier and Type Method Description StringgetGeometryType()Gets the type of geometry List<LatLng>getGeometryObject()Gets the coordinates of the LineString StringtoString()-
-
Constructor Detail
-
LineString
LineString(List<LatLng> coordinates)
Creates a new LineString object- Parameters:
coordinates- array of coordinates
-
-
Method Detail
-
getGeometryType
String getGeometryType()
Gets the type of geometry
-
getGeometryObject
List<LatLng> getGeometryObject()
Gets the coordinates of the LineString
-
-
-
-