Class BasePointCollection
java.lang.Object
com.trimblemaps.mapsdk.annotations.Annotation
com.trimblemaps.mapsdk.annotations.BasePointCollection
- All Implemented Interfaces:
Comparable<Annotation>
Deprecated.
Use TrimbleMaps Annotation Plugin instead
Multipoint is an abstract annotation for combining geographical locations.
-
Field Summary
Fields inherited from class com.trimblemaps.mapsdk.annotations.Annotation
mapView, trimbleMapsMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoint(com.trimblemaps.mapsdk.geometry.LatLng point) Deprecated.Add a point to the polyline.floatgetAlpha()Deprecated.Value between 0 and 1 defining the polyline alpha.List<com.trimblemaps.mapsdk.geometry.LatLng>Deprecated.Returns a copy of the points.voidsetAlpha(float alpha) Deprecated.Set thisBasePointCollections alpha.voidDeprecated.Sets the points of this polyline.Methods inherited from class com.trimblemaps.mapsdk.annotations.Annotation
compareTo, equals, getId, getMapView, getTrimbleMapsMap, hashCode, remove, setId, setMapView, setTrimbleMapsMap
-
Constructor Details
-
BasePointCollection
protected BasePointCollection()Deprecated.
-
-
Method Details
-
getPoints
Deprecated.Returns a copy of the points.- Returns:
- A
Listof points.
-
setPoints
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- AListofLatLngpoints making up the polyline.
-
addPoint
public void addPoint(com.trimblemaps.mapsdk.geometry.LatLng point) Deprecated.Add a point to the polyline.- Parameters:
point- ALatLngpoint 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 thisBasePointCollections alpha.- Parameters:
alpha- float value between 0 and 1.
-