public class KmlLineString extends LineString
Constructor and Description |
---|
KmlLineString(java.util.ArrayList<LatLng> coordinates)
Creates a new KmlLineString object
|
KmlLineString(java.util.ArrayList<LatLng> coordinates,
java.util.ArrayList<java.lang.Double> altitudes)
Creates a new KmlLineString object
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.Double> |
getAltitudes()
Gets the altitudes
|
java.util.ArrayList<LatLng> |
getGeometryObject()
Gets the coordinates
|
getGeometryType, toString
public KmlLineString(java.util.ArrayList<LatLng> coordinates)
coordinates
- array of coordinatespublic KmlLineString(java.util.ArrayList<LatLng> coordinates, java.util.ArrayList<java.lang.Double> altitudes)
coordinates
- array of coordinatesaltitudes
- array of altitudespublic java.util.ArrayList<java.lang.Double> getAltitudes()
public java.util.ArrayList<LatLng> getGeometryObject()
getGeometryObject
in interface Geometry<java.util.List<LatLng>>
getGeometryObject
in class LineString