Package 

Class GeoJsonPoint

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

    
    public class GeoJsonPoint
    extends Point
                        

    A GeoJsonPoint geometry contains a single com.google.android.gms.maps.model.LatLng.

    • Constructor Summary

      Constructors 
      Constructor Description
      GeoJsonPoint(LatLng coordinates) Creates a new GeoJsonPoint
      GeoJsonPoint(LatLng coordinates, Double altitude) Creates a new GeoJsonPoint
    • Method Summary

      Modifier and Type Method Description
      String getType() Gets the type of geometry.
      LatLng getCoordinates() Gets the coordinates of the GeoJsonPoint
      Double getAltitude() Gets the altitude of the GeoJsonPoint
      • Methods inherited from class com.google.maps.android.data.Point

        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

      • GeoJsonPoint

        GeoJsonPoint(LatLng coordinates)
        Creates a new GeoJsonPoint
        Parameters:
        coordinates - coordinates of GeoJsonPoint to store
      • GeoJsonPoint

        GeoJsonPoint(LatLng coordinates, Double altitude)
        Creates a new GeoJsonPoint
        Parameters:
        coordinates - coordinates of the KmlPoint
        altitude - altitude of the KmlPoint
    • Method Detail

      • getType

         String getType()

        Gets the type of geometry. The type of geometry conforms to the GeoJSON 'type'specification.

      • getCoordinates

         LatLng getCoordinates()

        Gets the coordinates of the GeoJsonPoint