Class Annotation
java.lang.Object
com.trimblemaps.mapsdk.annotations.Annotation
- All Implemented Interfaces:
Comparable<Annotation>
- Direct Known Subclasses:
BasePointCollection,Marker
Deprecated.
Use TrimbleMaps Annotation Plugin instead
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MapViewDeprecated.protected TrimbleMapsMapDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(Annotation annotation) Deprecated.Compares this Annotation object with another Annotation.booleanDeprecated.Checks if this Annotation object is equal to another Annotation.longgetId()Deprecated.Gets the annotation's unique ID.protected MapViewDeprecated.Gets the hosting map view.protected TrimbleMapsMapDeprecated.Gets the hosting TrimbleMapsMap.inthashCode()Deprecated.Gives an integer which can be used as the bucket number for storing elements of the set/map.voidremove()Deprecated.Do not use this method, used internally by the SDK.voidsetId(long id) Deprecated.Do not use this method, used internally by the SDK.voidsetMapView(MapView mapView) Deprecated.Do not use this method, used internally by the SDK.voidsetTrimbleMapsMap(TrimbleMapsMap trimbleMapsMap) Deprecated.Do not use this method, used internally by the SDK.
-
Field Details
-
trimbleMapsMap
Deprecated. -
mapView
Deprecated.
-
-
Constructor Details
-
Annotation
protected Annotation()Deprecated.
-
-
Method Details
-
getId
public long getId()Deprecated.Gets the annotation's unique ID.
This ID is unique for a MapView instance and is suitable for associating your own extra data with.- Returns:
- the assigned id.
-
remove
public void remove()Deprecated.Do not use this method, used internally by the SDK. -
setId
public void setId(long id) Deprecated.Do not use this method, used internally by the SDK.- Parameters:
id- the assigned id
-
setTrimbleMapsMap
Deprecated.Do not use this method, used internally by the SDK.- Parameters:
trimbleMapsMap- the hosting TrimbleMapsMap
-
getTrimbleMapsMap
Deprecated.Gets the hosting TrimbleMapsMap.- Returns:
- the TrimbleMapsMap
-
setMapView
Deprecated.Do not use this method, used internally by the SDK.- Parameters:
mapView- the hosting map view
-
getMapView
Deprecated.Gets the hosting map view.- Returns:
- The MapView
-
compareTo
Deprecated.Compares this Annotation object with another Annotation.- Specified by:
compareToin interfaceComparable<Annotation>- Parameters:
annotation- Another Annotation to compare with this object.- Returns:
- returns 0 if id's match, 1 if id is lower, -1 if id is higher of another Annotation
-
equals
Deprecated.Checks if this Annotation object is equal to another Annotation. -
hashCode
public int hashCode()Deprecated.Gives an integer which can be used as the bucket number for storing elements of the set/map. This bucket number is the address of the element inside the set/map. There's no guarantee that this hash value will be consistent between different Java implementations, or even between different execution runs of the same program.
-