java.lang.Object
com.trimblemaps.mapsdk.annotations.Icon

@Deprecated public class Icon extends Object
Deprecated.
Use TrimbleMaps Annotation Plugin instead
Icon is the visual representation of a Marker on a MapView.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
    Deprecated.
    Compares this icon object with another icon and determines if they match.
    android.graphics.Bitmap
    Deprecated.
    Get the bitmap being used for this icon.
    Deprecated.
    String identifier for this icon.
    float
    Deprecated.
    Get the icon bitmap scale.
    int
    Deprecated.
    Gives an integer which can be used as the bucket number for storing elements of the set/map.
    byte[]
    Deprecated.
    Get the icon bitmap bytes.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getId

      public String 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

      public boolean equals(@Nullable Object object)
      Deprecated.
      Compares this icon object with another icon and determines if they match.
      Overrides:
      equals in class Object
      Parameters:
      object - Another iconi to compare with this object.
      Returns:
      True if the icon being passed in matches this icon object. Else, false.
    • 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.
      Overrides:
      hashCode in class Object
      Returns:
      integer value you can use for storing element.