BaseMarkerOptions

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Abstract builder class for composing custom Marker objects.

Extending this class requires implementing Parceable interface.

Parameters

<U>

Type of the marker to be composed

<T>

Type of the builder to be used for composing a custom Marker

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun getMarker(): U
Get the Marker.
Link copied to clipboard
abstract fun getThis(): T
Get the instance of the object for which this method was called.
Link copied to clipboard
open fun icon(icon: Icon): T
Set the icon of the Marker.
Link copied to clipboard
open fun position(position: LatLng): T
Set the geographical location of the Marker.
Link copied to clipboard
open fun setIcon(icon: Icon): T
Set the icon of the Marker.
Link copied to clipboard
open fun setPosition(position: LatLng): T
Set the geographical location of the Marker.
Link copied to clipboard
open fun setSnippet(snippet: String): T
Set the snippet of the Marker.
Link copied to clipboard
open fun setTitle(title: String): T
Set the title of the Marker.
Link copied to clipboard
open fun snippet(snippet: String): T
Set the snippet of the Marker.
Link copied to clipboard
open fun title(title: String): T
Set the title of the Marker.
Link copied to clipboard
abstract fun writeToParcel(p: Parcel, p1: Int)