MarkerOptions

MarkerOptions is a class that contains all the options for a marker.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
abstract class Image

Abstract class for the image to be used for the marker.

Link copied to clipboard

Part of the image placed closest to the anchor.

Link copied to clipboard
object TextAnchor

Part of the text placed closest to the anchor.

Functions

Link copied to clipboard
fun withImage(image: MarkerOptions.Image): <Error class: unknown class>

Set image to be used for the marker.

Link copied to clipboard
fun withImageAnchor(imageAnchor: String): <Error class: unknown class>

Set image anchor to be used for the image.

Link copied to clipboard
fun withImageOffset(imageOffset: List<Double>): <Error class: unknown class>

Set image-offset to initialise the markerOptions with.

Link copied to clipboard
fun withImageScaleFactorSize(imageScaleFactorSize: Double): <Error class: unknown class>

Set image scale factor size to be used for the image.

Link copied to clipboard
fun withSymbolSortKey(symbolSortKey: Double): <Error class: unknown class>

Set symbol-sort-key to initialise the markerOptions with.

Link copied to clipboard
fun withTextAnchor(textAnchor: String): <Error class: unknown class>

Set text anchor to be used for the text.

Link copied to clipboard
fun withTextColor(@ColorInt textColor: Int): <Error class: unknown class>
fun withTextColor(textColor: String): <Error class: unknown class>

Set text-color to initialise the markerOptions with.

Link copied to clipboard
fun withTextField(textField: String): <Error class: unknown class>

Set text field to be used for the marker.

Link copied to clipboard
fun withTextHaloColor(@ColorInt textHaloColor: Int): <Error class: unknown class>
fun withTextHaloColor(textHaloColor: String): <Error class: unknown class>

Set text-halo-color to initialise the markerOptions with.

Link copied to clipboard
fun withTextHaloWidth(textHaloWidth: Double): <Error class: unknown class>

Set text-halo-width to initialise the markerOptions with.

Link copied to clipboard
fun withTextOffset(textOffset: List<Double>): <Error class: unknown class>

Set text-offset to initialise the markerOptions with.

Link copied to clipboard
fun withTextSize(textSize: Double): <Error class: unknown class>

Set text-size to initialise the markerOptions with.