Class GeoPath

  • All Implemented Interfaces:
    GeoData

    public class GeoPath
    extends MultiGeoData<GeoPoint>
    The GeoPath object represents a path/line object in the map. The GeoPath object contains a list of {@see GeoPoint} objects that represent the points of the path.
    • Constructor Detail

      • GeoPath

        public GeoPath()
      • GeoPath

        public GeoPath​(java.util.List<GeoPoint> points)
    • Method Detail

      • addPoint

        public void addPoint​(GeoPoint point)
      • addPoint

        public void addPoint​(LatLng latLng)
      • getPointAt

        public GeoPoint getPointAt​(int index)
      • getPoints

        public java.util.List<GeoPoint> getPoints()
      • getGeoType

        public int getGeoType()
        Description copied from interface: GeoData
        Returns the map object type. The value of the object type is from EnumMapFeatures map object types.
        Returns:
        a EnumMapFeatures map object type.