U
- Type of the marker to be composedT
- Type of the builder to be used for composing a custom Marker@Deprecated
public abstract class BaseMarkerOptions<U extends Marker,T extends BaseMarkerOptions<U,T>>
extends java.lang.Object
implements android.os.Parcelable
Extending this class requires implementing Parceable interface.
Modifier and Type | Field and Description |
---|---|
protected Icon |
icon
Deprecated.
|
protected LatLng |
position
Deprecated.
|
protected java.lang.String |
snippet
Deprecated.
|
protected java.lang.String |
title
Deprecated.
|
Constructor and Description |
---|
BaseMarkerOptions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract U |
getMarker()
Deprecated.
Get the Marker.
|
abstract T |
getThis()
Deprecated.
Get the instance of the object for which this method was called.
|
T |
icon(Icon icon)
Deprecated.
Set the icon of the Marker.
|
T |
position(LatLng position)
Deprecated.
Set the geographical location of the Marker.
|
T |
setIcon(Icon icon)
Deprecated.
Set the icon of the Marker.
|
T |
setPosition(LatLng position)
Deprecated.
Set the geographical location of the Marker.
|
T |
setSnippet(java.lang.String snippet)
Deprecated.
Set the snippet of the Marker.
|
T |
setTitle(java.lang.String title)
Deprecated.
Set the title of the Marker.
|
T |
snippet(java.lang.String snippet)
Deprecated.
Set the snippet of the Marker.
|
T |
title(java.lang.String title)
Deprecated.
Set the title of the Marker.
|
protected LatLng position
protected java.lang.String snippet
protected java.lang.String title
protected Icon icon
public T position(LatLng position)
position
- the location to position the Marker
.public T snippet(java.lang.String snippet)
snippet
- the snippet of the Marker
.public T title(java.lang.String title)
title
- the title of the Marker
.public T icon(Icon icon)
icon
- the icon of the Marker
.public T setIcon(Icon icon)
icon
- the icon of the Marker
.public T setPosition(LatLng position)
position
- the location to position the Marker
.public T setSnippet(java.lang.String snippet)
snippet
- the snippet of the Marker
.public T setTitle(java.lang.String title)
title
- the title of the Marker
.public abstract T getThis()
public abstract U getMarker()