Class Icon
java.lang.Object
com.trimblemaps.mapsdk.annotations.Icon
Deprecated.
Use TrimbleMaps Annotation Plugin instead
Icon is the visual representation of a Marker on a MapView.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Compares this icon object with another icon and determines if they match.android.graphics.BitmapDeprecated.Get the bitmap being used for this icon.getId()Deprecated.String identifier for this icon.floatgetScale()Deprecated.Get the icon bitmap scale.inthashCode()Deprecated.Gives an integer which can be used as the bucket number for storing elements of the set/map.byte[]toBytes()Deprecated.Get the icon bitmap bytes.
-
Method Details
-
getId
Deprecated.String identifier for this icon.- Returns:
- String identifier for this icon.
-
getBitmap
public android.graphics.Bitmap getBitmap()Deprecated.Get the bitmap being used for this icon.- Returns:
- The bitmap being used for the icon.
-
getScale
public float getScale()Deprecated.Get the icon bitmap scale.Requires the bitmap to be set before calling this method.
- Returns:
- the scale of the bitmap
-
toBytes
@NonNull public byte[] toBytes()Deprecated.Get the icon bitmap bytes.Requires the bitmap to be set before calling this method.
- Returns:
- the bytes of the bitmap
-
equals
Deprecated.Compares this icon object with another icon and determines if they match. -
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.
-