Class MarkerOptions
java.lang.Object
com.trimblemaps.mapsdk.annotations.BaseMarkerOptions<Marker,MarkerOptions>
com.trimblemaps.mapsdk.annotations.MarkerOptions
- All Implemented Interfaces:
android.os.Parcelable
@Deprecated
public final class MarkerOptions
extends BaseMarkerOptions<Marker,MarkerOptions>
implements android.os.Parcelable
Deprecated.
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<MarkerOptions>Deprecated.Fields inherited from class com.trimblemaps.mapsdk.annotations.BaseMarkerOptions
icon, position, snippet, titleFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated.Defines options for a Marker.protectedMarkerOptions(android.os.Parcel in) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Describe the kinds of special objects contained in this Parcelable's marshalled representation.booleanDeprecated.Compares thisMarkerOptionsobject with anotherMarkerOptionsand determines if their properties match.getIcon()Deprecated.Gets the custom icon set for thisMarkerOptionsobject.Deprecated.Do not use this method.com.trimblemaps.mapsdk.geometry.LatLngDeprecated.Returns the position set for thisMarkerOptionsobject.Deprecated.Gets the snippet set for thisMarkerOptionsobject.getThis()Deprecated.Get the instance of the object for which this method was called.getTitle()Deprecated.Gets the title set for thisMarkerOptionsobject.inthashCode()Deprecated.Gives an integer which can be used as the bucket number for storing elements of the set/map.voidwriteToParcel(android.os.Parcel out, int flags) Deprecated.Flatten this object in to a Parcel.Methods inherited from class com.trimblemaps.mapsdk.annotations.BaseMarkerOptions
icon, position, setIcon, setPosition, setSnippet, setTitle, snippet, title
-
Field Details
-
CREATOR
Deprecated.
-
-
Constructor Details
-
MarkerOptions
public MarkerOptions()Deprecated.Defines options for a Marker. -
MarkerOptions
protected MarkerOptions(android.os.Parcel in) Deprecated.
-
-
Method Details
-
getThis
Deprecated.Description copied from class:BaseMarkerOptionsGet the instance of the object for which this method was called.- Specified by:
getThisin classBaseMarkerOptions<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:
describeContentsin interfaceandroid.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:
writeToParcelin interfaceandroid.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 orParcelable.PARCELABLE_WRITE_RETURN_VALUE.
-
getMarker
Deprecated.Do not use this method. Used internally by the SDK.- Specified by:
getMarkerin classBaseMarkerOptions<Marker,MarkerOptions> - Returns:
- Marker The build marker
-
getPosition
public com.trimblemaps.mapsdk.geometry.LatLng getPosition()Deprecated.Returns the position set for thisMarkerOptionsobject.- Returns:
- A
LatLngobject specifying the marker's current position.
-
getSnippet
Deprecated.Gets the snippet set for thisMarkerOptionsobject.- Returns:
- A string containing the marker's snippet.
-
getTitle
Deprecated.Gets the title set for thisMarkerOptionsobject.- Returns:
- A string containing the marker's title.
-
getIcon
Deprecated.Gets the custom icon set for thisMarkerOptionsobject.- Returns:
- A
Iconobject that the marker is using. If the icon wasn't set, default icon will return.
-
equals
Deprecated.Compares thisMarkerOptionsobject with anotherMarkerOptionsand determines if their properties match.- Overrides:
equalsin classObject- Parameters:
o- AnotherMarkerOptionsto compare with this object.- Returns:
- True if marker properties match this
MarkerOptionsobject. 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.
-