-
- All Implemented Interfaces:
-
com.google.maps.android.data.Geometry
public class KmlLineString extends LineString
Represents a KML LineString. Contains a single array of coordinates.
-
-
Constructor Summary
Constructors Constructor Description KmlLineString(ArrayList<LatLng> coordinates)Creates a new KmlLineString object KmlLineString(ArrayList<LatLng> coordinates, ArrayList<Double> altitudes)Creates a new KmlLineString object
-
Method Summary
Modifier and Type Method Description ArrayList<Double>getAltitudes()Gets the altitudes ArrayList<LatLng>getGeometryObject()Gets the coordinates -
Methods inherited from class com.google.maps.android.data.LineString
getGeometryObject, getGeometryType, 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
-
KmlLineString
KmlLineString(ArrayList<LatLng> coordinates)
Creates a new KmlLineString object- Parameters:
coordinates- array of coordinates
-
-
Method Detail
-
getAltitudes
ArrayList<Double> getAltitudes()
Gets the altitudes
-
getGeometryObject
ArrayList<LatLng> getGeometryObject()
Gets the coordinates
-
-
-
-