Class BaseMarkerOptions<U extends Marker,T extends BaseMarkerOptions<U,T>>

java.lang.Object
com.trimblemaps.mapsdk.annotations.BaseMarkerOptions<U,T>
Type Parameters:
U - Type of the marker to be composed
T - Type of the builder to be used for composing a custom Marker
All Implemented Interfaces:
android.os.Parcelable
Direct Known Subclasses:
MarkerOptions

@Deprecated public abstract class BaseMarkerOptions<U extends Marker,T extends BaseMarkerOptions<U,T>> extends Object implements android.os.Parcelable
Deprecated.
Use TrimbleMaps Annotation Plugin instead
Abstract builder class for composing custom Marker objects.

Extending this class requires implementing Parceable interface.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Icon
    Deprecated.
     
    protected com.trimblemaps.mapsdk.geometry.LatLng
    Deprecated.
     
    protected String
    Deprecated.
     
    protected String
    Deprecated.
     

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract U
    Deprecated.
    Get the Marker.
    abstract T
    Deprecated.
    Get the instance of the object for which this method was called.
    icon(Icon icon)
    Deprecated.
    Set the icon of the Marker.
    position(com.trimblemaps.mapsdk.geometry.LatLng position)
    Deprecated.
    Set the geographical location of the Marker.
    setIcon(Icon icon)
    Deprecated.
    Set the icon of the Marker.
    setPosition(com.trimblemaps.mapsdk.geometry.LatLng position)
    Deprecated.
    Set the geographical location of the Marker.
    setSnippet(String snippet)
    Deprecated.
    Set the snippet of the Marker.
    Deprecated.
    Set the title of the Marker.
    snippet(String snippet)
    Deprecated.
    Set the snippet of the Marker.
    title(String title)
    Deprecated.
    Set the title of the Marker.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface android.os.Parcelable

    describeContents, writeToParcel
  • Field Details

    • position

      protected com.trimblemaps.mapsdk.geometry.LatLng position
      Deprecated.
    • snippet

      protected String snippet
      Deprecated.
    • title

      protected String title
      Deprecated.
    • icon

      protected Icon icon
      Deprecated.
  • Constructor Details

    • BaseMarkerOptions

      public BaseMarkerOptions()
      Deprecated.
  • Method Details

    • position

      public T position(com.trimblemaps.mapsdk.geometry.LatLng position)
      Deprecated.
      Set the geographical location of the Marker.
      Parameters:
      position - the location to position the Marker.
      Returns:
      the object for which the method was called.
    • snippet

      public T snippet(String snippet)
      Deprecated.
      Set the snippet of the Marker.
      Parameters:
      snippet - the snippet of the Marker.
      Returns:
      the object for which the method was called.
    • title

      public T title(String title)
      Deprecated.
      Set the title of the Marker.
      Parameters:
      title - the title of the Marker.
      Returns:
      the object for which the method was called.
    • icon

      public T icon(Icon icon)
      Deprecated.
      Set the icon of the Marker.
      Parameters:
      icon - the icon of the Marker.
      Returns:
      the object for which the method was called.
    • setIcon

      public T setIcon(Icon icon)
      Deprecated.
      Set the icon of the Marker.
      Parameters:
      icon - the icon of the Marker.
      Returns:
      the object for which the method was called.
    • setPosition

      public T setPosition(com.trimblemaps.mapsdk.geometry.LatLng position)
      Deprecated.
      Set the geographical location of the Marker.
      Parameters:
      position - the location to position the Marker.
      Returns:
      the object for which the method was called.
    • setSnippet

      public T setSnippet(String snippet)
      Deprecated.
      Set the snippet of the Marker.
      Parameters:
      snippet - the snippet of the Marker.
      Returns:
      the object for which the method was called.
    • setTitle

      public T setTitle(String title)
      Deprecated.
      Set the title of the Marker.
      Parameters:
      title - the title of the Marker.
      Returns:
      the object for which the method was called.
    • getThis

      public abstract T getThis()
      Deprecated.
      Get the instance of the object for which this method was called.
      Returns:
      the object for which the this method was called.
    • getMarker

      public abstract U getMarker()
      Deprecated.
      Get the Marker.
      Returns:
      the Marker created from this builder.