U
- Type of the marker view to be composed.T
- Type of the builder to be used for composing.SymbolLayer
instead.@Deprecated
public abstract class BaseMarkerViewOptions<U extends MarkerView,T extends BaseMarkerViewOptions<U,T>>
extends java.lang.Object
implements android.os.Parcelable
Extending this class requires implementing Parceable interface.
Modifier and Type | Field and Description |
---|---|
protected float |
alpha
Deprecated.
|
protected float |
anchorU
Deprecated.
|
protected float |
anchorV
Deprecated.
|
protected boolean |
flat
Deprecated.
|
protected Icon |
icon
Deprecated.
|
protected float |
infoWindowAnchorU
Deprecated.
|
protected float |
infoWindowAnchorV
Deprecated.
|
protected LatLng |
position
Deprecated.
|
protected float |
rotation
Deprecated.
|
protected boolean |
selected
Deprecated.
|
protected java.lang.String |
snippet
Deprecated.
|
protected java.lang.String |
title
Deprecated.
|
protected boolean |
visible
Deprecated.
|
Constructor and Description |
---|
BaseMarkerViewOptions()
Deprecated.
Default constructor
|
Modifier and Type | Method and Description |
---|---|
T |
alpha(float alpha)
Deprecated.
Set the alpha of the
MarkerView . |
T |
anchor(float u,
float v)
Deprecated.
Set the anchor of the
MarkerView . |
T |
flat(boolean flat)
Deprecated.
Set the flat state of the MarkerView.
|
float |
getAlpha()
Deprecated.
Get the alpha of the MarkerView.
|
float |
getAnchorU()
Deprecated.
Get the u-value of the
MarkerView anchor. |
float |
getAnchorV()
Deprecated.
Get the v-value of the
MarkerView anchor. |
Icon |
getIcon()
Deprecated.
Get the icon of the
MarkerView . |
float |
getInfoWindowAnchorU()
Deprecated.
Get the u-value of the MarkerView InfoWindow anchor.
|
float |
getInfoWindowAnchorV()
Deprecated.
Get the v-value of the MarkerView InfoWindow anchor.
|
abstract U |
getMarker()
Deprecated.
Get the MarkerView.
|
LatLng |
getPosition()
Deprecated.
Get the geographical location of the
MarkerView . |
float |
getRotation()
Deprecated.
Get the rotation of the MarkerView.
|
java.lang.String |
getSnippet()
Deprecated.
Get the snippet of the
MarkerView . |
abstract T |
getThis()
Deprecated.
Get the instance of the object for which this method was called.
|
java.lang.String |
getTitle()
Deprecated.
Get the title of the
MarkerView . |
T |
icon(Icon icon)
Deprecated.
Set the icon of the MarkerView.
|
T |
infoWindowAnchor(float u,
float v)
Deprecated.
Set the InfoWindow anchor of the
MarkerView . |
boolean |
isFlat()
Deprecated.
Get the flat state of the
MarkerView . |
boolean |
isVisible()
Deprecated.
Get the visibility state of the MarkerView.
|
T |
position(LatLng position)
Deprecated.
Set the geographical location of the MarkerView.
|
T |
rotation(float rotation)
Deprecated.
Set the rotation of the
MarkerView . |
T |
snippet(java.lang.String snippet)
Deprecated.
Set the snippet of the MarkerView.
|
T |
title(java.lang.String title)
Deprecated.
Set the title of the MarkerView.
|
T |
visible(boolean visible)
Deprecated.
Set the visibility state of the
MarkerView . |
protected LatLng position
protected java.lang.String snippet
protected java.lang.String title
protected Icon icon
protected boolean flat
protected float anchorU
protected float anchorV
protected float infoWindowAnchorU
protected float infoWindowAnchorV
protected float rotation
protected boolean visible
protected boolean selected
protected float alpha
public BaseMarkerViewOptions()
public T position(@NonNull LatLng position)
position
- the location to position the MarkerView
.public T snippet(java.lang.String snippet)
snippet
- the snippet of the MarkerView
.public T title(java.lang.String title)
title
- the title of the MarkerView
.public T icon(Icon icon)
icon
- the icon of the MarkerView
.public T flat(boolean flat)
flat
- the flat state of the MarkerView
.public T anchor(float u, float v)
MarkerView
.u
- the u-value.v
- the v-value.public T infoWindowAnchor(float u, float v)
MarkerView
.u
- the u-value.v
- the v-values.public T rotation(float rotation)
MarkerView
.rotation
- the rotation value.public T visible(boolean visible)
MarkerView
.visible
- the visible state.public T alpha(float alpha)
MarkerView
.alpha
- the alpha value.public LatLng getPosition()
MarkerView
.public java.lang.String getSnippet()
MarkerView
.public java.lang.String getTitle()
MarkerView
.public Icon getIcon()
MarkerView
.public boolean isFlat()
MarkerView
.public float getAnchorU()
MarkerView
anchor.public float getAnchorV()
MarkerView
anchor.public float getInfoWindowAnchorU()
public float getInfoWindowAnchorV()
public float getRotation()
public boolean isVisible()
public float getAlpha()
public abstract T getThis()
public abstract U getMarker()