Class GeoJsonPoint
- java.lang.Object
-
- com.google.maps.android.data.Point
-
- com.google.maps.android.data.geojson.GeoJsonPoint
-
-
Constructor Summary
Constructors Constructor Description GeoJsonPoint(com.google.android.gms.maps.model.LatLng coordinates)
Creates a new GeoJsonPointGeoJsonPoint(com.google.android.gms.maps.model.LatLng coordinates, java.lang.Double altitude)
Creates a new GeoJsonPoint
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getAltitude()
Gets the altitude of the GeoJsonPointcom.google.android.gms.maps.model.LatLng
getCoordinates()
Gets the coordinates of the GeoJsonPointjava.lang.String
getType()
Gets the type of geometry.-
Methods inherited from class com.google.maps.android.data.Point
getGeometryObject, getGeometryType, toString
-
-
-
-
Constructor Detail
-
GeoJsonPoint
public GeoJsonPoint(com.google.android.gms.maps.model.LatLng coordinates)
Creates a new GeoJsonPoint- Parameters:
coordinates
- coordinates of GeoJsonPoint to store
-
GeoJsonPoint
public GeoJsonPoint(com.google.android.gms.maps.model.LatLng coordinates, java.lang.Double altitude)
Creates a new GeoJsonPoint- Parameters:
coordinates
- coordinates of the KmlPointaltitude
- altitude of the KmlPoint
-
-
Method Detail
-
getType
public java.lang.String getType()
Gets the type of geometry. The type of geometry conforms to the GeoJSON 'type' specification.- Returns:
- type of geometry
-
getCoordinates
public com.google.android.gms.maps.model.LatLng getCoordinates()
Gets the coordinates of the GeoJsonPoint- Returns:
- coordinates of the GeoJsonPoint
-
getAltitude
public java.lang.Double getAltitude()
Gets the altitude of the GeoJsonPoint- Returns:
- altitude of the GeoJsonPoint
-
-