Package com.google.maps.android
Class FlexiblePoint
-
- All Implemented Interfaces:
public final class FlexiblePointA single point of a flexible polyline.
-
-
Constructor Summary
Constructors Constructor Description FlexiblePoint(Double latitude, Double longitude, Double thirdDimensionValue)FlexiblePoint(Double latitude, Double longitude)
-
Method Summary
Modifier and Type Method Description final DoublegetLatitude()Latitude in degrees. final DoublegetLongitude()Longitude in degrees. final DoublegetThirdDimensionValue()The third value for this point, or nullwhen the polyline carries no third dimension.final LatLngtoLatLng()Returns this point as a LatLng, discarding thirdDimensionValue. -
-
Method Detail
-
getLatitude
final Double getLatitude()
Latitude in degrees.
-
getLongitude
final Double getLongitude()
Longitude in degrees.
-
getThirdDimensionValue
final Double getThirdDimensionValue()
The third value for this point, or
nullwhen the polyline carries no third dimension. The unit is defined by the polyline's ThirdDimension.
-
toLatLng
final LatLng toLatLng()
Returns this point as a LatLng, discarding thirdDimensionValue.
- Returns:
The two dimensional position of this point.
-
-
-
-