Class MarkerOptions

All Implemented Interfaces:
android.os.Parcelable

@Deprecated public final class MarkerOptions extends BaseMarkerOptions<Marker,MarkerOptions> implements android.os.Parcelable
Deprecated.
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<MarkerOptions> CREATOR
      Deprecated.
  • Constructor Details

    • MarkerOptions

      public MarkerOptions()
      Deprecated.
      Defines options for a Marker.
    • MarkerOptions

      protected MarkerOptions(android.os.Parcel in)
      Deprecated.
  • Method Details

    • getThis

      @NonNull public MarkerOptions getThis()
      Deprecated.
      Description copied from class: BaseMarkerOptions
      Get the instance of the object for which this method was called.
      Specified by:
      getThis in class BaseMarkerOptions<Marker,MarkerOptions>
      Returns:
      the object for which the this method was called.
    • describeContents

      public int describeContents()
      Deprecated.
      Describe the kinds of special objects contained in this Parcelable's marshalled representation.
      Specified by:
      describeContents in interface android.os.Parcelable
      Returns:
      integer 0.
    • writeToParcel

      public void writeToParcel(android.os.Parcel out, int flags)
      Deprecated.
      Flatten this object in to a Parcel.
      Specified by:
      writeToParcel in interface android.os.Parcelable
      Parameters:
      out - The Parcel in which the object should be written.
      flags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
    • getMarker

      public Marker getMarker()
      Deprecated.
      Do not use this method. Used internally by the SDK.
      Specified by:
      getMarker in class BaseMarkerOptions<Marker,MarkerOptions>
      Returns:
      Marker The build marker
    • getPosition

      public com.trimblemaps.mapsdk.geometry.LatLng getPosition()
      Deprecated.
      Returns the position set for this MarkerOptions object.
      Returns:
      A LatLng object specifying the marker's current position.
    • getSnippet

      public String getSnippet()
      Deprecated.
      Gets the snippet set for this MarkerOptions object.
      Returns:
      A string containing the marker's snippet.
    • getTitle

      public String getTitle()
      Deprecated.
      Gets the title set for this MarkerOptions object.
      Returns:
      A string containing the marker's title.
    • getIcon

      public Icon getIcon()
      Deprecated.
      Gets the custom icon set for this MarkerOptions object.
      Returns:
      A Icon object that the marker is using. If the icon wasn't set, default icon will return.
    • equals

      public boolean equals(@Nullable Object o)
      Deprecated.
      Compares this MarkerOptions object with another MarkerOptions and determines if their properties match.
      Overrides:
      equals in class Object
      Parameters:
      o - Another MarkerOptions to compare with this object.
      Returns:
      True if marker properties match this MarkerOptions 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.