Package com.google.maps.android.data
Class Point
- java.lang.Object
-
- com.google.maps.android.data.Point
-
- All Implemented Interfaces:
Geometry
- Direct Known Subclasses:
GeoJsonPoint,KmlPoint
public class Point extends java.lang.Object implements Geometry
An abstraction that shares the common properties ofKmlPointandGeoJsonPoint
-
-
Constructor Summary
Constructors Constructor Description Point(com.google.android.gms.maps.model.LatLng coordinates)Creates a new Point object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.android.gms.maps.model.LatLnggetGeometryObject()Gets the coordinates of the Pointjava.lang.StringgetGeometryType()Gets the type of geometryjava.lang.StringtoString()
-
-
-
Method Detail
-
getGeometryType
public java.lang.String getGeometryType()
Gets the type of geometry- Specified by:
getGeometryTypein interfaceGeometry- Returns:
- type of geometry
-
getGeometryObject
public com.google.android.gms.maps.model.LatLng getGeometryObject()
Gets the coordinates of the Point- Specified by:
getGeometryObjectin interfaceGeometry- Returns:
- coordinates of the Point
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-