@Deprecated public final class MarkerOptions extends BaseMarkerOptions<Marker,MarkerOptions>
| Modifier and Type | Field and Description |
|---|---|
static <any> |
CREATOR
Deprecated.
|
icon, position, snippet, title| Modifier | Constructor and Description |
|---|---|
|
MarkerOptions()
Deprecated.
Defines options for a Marker.
|
protected |
MarkerOptions(Parcel in)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents()
Deprecated.
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
boolean |
equals(java.lang.Object o)
Deprecated.
Compares this
MarkerOptions object with another MarkerOptions and
determines if their properties match. |
Icon |
getIcon()
Deprecated.
Gets the custom icon set for this
MarkerOptions object. |
Marker |
getMarker()
Deprecated.
Do not use this method.
|
LatLng |
getPosition()
Deprecated.
Returns the position set for this
MarkerOptions object. |
java.lang.String |
getSnippet()
Deprecated.
Gets the snippet set for this
MarkerOptions object. |
MarkerOptions |
getThis()
Deprecated.
Get the instance of the object for which this method was called.
|
java.lang.String |
getTitle()
Deprecated.
Gets the title set for this
MarkerOptions object. |
int |
hashCode()
Deprecated.
Gives an integer which can be used as the bucket number for storing elements of the set/map.
|
void |
writeToParcel(Parcel out,
int flags)
Deprecated.
Flatten this object in to a Parcel.
|
icon, position, setIcon, setPosition, setSnippet, setTitle, snippet, titlepublic MarkerOptions()
protected MarkerOptions(Parcel in)
@NonNull public MarkerOptions getThis()
BaseMarkerOptionsgetThis in class BaseMarkerOptions<Marker,MarkerOptions>public int describeContents()
public void writeToParcel(Parcel out,
int flags)
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_WRITE_RETURN_VALUE.public Marker getMarker()
getMarker in class BaseMarkerOptions<Marker,MarkerOptions>public LatLng getPosition()
MarkerOptions object.LatLng object specifying the marker's current position.public java.lang.String getSnippet()
MarkerOptions object.public java.lang.String getTitle()
MarkerOptions object.public Icon getIcon()
MarkerOptions object.Icon object that the marker is using. If the icon wasn't set, default icon
will return.public boolean equals(@Nullable
java.lang.Object o)
MarkerOptions object with another MarkerOptions and
determines if their properties match.equals in class java.lang.Objecto - Another MarkerOptions to compare with this object.MarkerOptions object.
Else, false.public int hashCode()
hashCode in class java.lang.Object