Package 

Class KmlLineString

  • All Implemented Interfaces:
    com.google.maps.android.data.Geometry

    
    public class KmlLineString
    extends LineString
                        

    Represents a KML LineString. Contains a single array of coordinates.

    • 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
      • KmlLineString

        KmlLineString(ArrayList<LatLng> coordinates, ArrayList<Double> altitudes)
        Creates a new KmlLineString object
        Parameters:
        coordinates - array of coordinates
        altitudes - array of altitudes