Class BasePointCollection

java.lang.Object
com.trimblemaps.mapsdk.annotations.Annotation
com.trimblemaps.mapsdk.annotations.BasePointCollection
All Implemented Interfaces:
Comparable<Annotation>
Direct Known Subclasses:
Polygon, Polyline

@Deprecated public abstract class BasePointCollection extends Annotation
Deprecated.
Use TrimbleMaps Annotation Plugin instead
Multipoint is an abstract annotation for combining geographical locations.
  • Constructor Details

    • BasePointCollection

      protected BasePointCollection()
      Deprecated.
  • Method Details

    • getPoints

      @NonNull public List<com.trimblemaps.mapsdk.geometry.LatLng> getPoints()
      Deprecated.
      Returns a copy of the points.
      Returns:
      A List of points.
    • setPoints

      public void setPoints(@NonNull List<com.trimblemaps.mapsdk.geometry.LatLng> points)
      Deprecated.
      Sets the points of this polyline. This method will take a copy of the points, so further mutations to points will have no effect on this polyline.
      Parameters:
      points - A List of LatLng points making up the polyline.
    • addPoint

      public void addPoint(com.trimblemaps.mapsdk.geometry.LatLng point)
      Deprecated.
      Add a point to the polyline.
      Parameters:
      point - A LatLng point to be added.
    • getAlpha

      public float getAlpha()
      Deprecated.
      Value between 0 and 1 defining the polyline alpha.
      Returns:
      float value between 0 and 1.
    • setAlpha

      public void setAlpha(float alpha)
      Deprecated.
      Set this BasePointCollections alpha.
      Parameters:
      alpha - float value between 0 and 1.