public class GeoJsonLineString extends LineString
com.google.android.gms.maps.model.LatLng
s.Constructor and Description |
---|
GeoJsonLineString(java.util.List<LatLng> coordinates)
Creates a new GeoJsonLineString object
|
GeoJsonLineString(java.util.List<LatLng> coordinates,
java.util.List<java.lang.Double> altitudes)
Creates a new GeoJsonLineString object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Double> |
getAltitudes()
Gets the altitudes of the GeoJsonLineString
|
java.util.List<LatLng> |
getCoordinates()
Gets the coordinates of the GeoJsonLineString
|
java.lang.String |
getType()
Gets the type of geometry.
|
getGeometryObject, getGeometryType, toString
public GeoJsonLineString(java.util.List<LatLng> coordinates)
coordinates
- list of coordinates of GeoJsonLineString to storepublic GeoJsonLineString(java.util.List<LatLng> coordinates, java.util.List<java.lang.Double> altitudes)
coordinates
- array of coordinatesaltitudes
- array of altitudespublic java.lang.String getType()
public java.util.List<LatLng> getCoordinates()
public java.util.List<java.lang.Double> getAltitudes()