Builder

class Builder : ViewObjectDataBuilder<B, I, D>

Constructors

Link copied to clipboard
open fun Builder(latitude: Double, longitude: Double, creator: ObjectCreator<MapMarker, MarkerData>)
Link copied to clipboard
open fun Builder(@NonNull geoCoordinates: GeoCoordinates, creator: ObjectCreator<MapMarker, MarkerData>)
Link copied to clipboard
open fun Builder(@NonNull screenPosition: ViewObjectData.Point, creator: ObjectCreator<MapMarker, MarkerData>)

Functions

Link copied to clipboard
fun build(): I
Link copied to clipboard
open fun setAnchorPosition(@NonNull anchorPosition: PointF): MarkerData.Builder

Set the relative position of MapMarker from its anchored location.
Link copied to clipboard
open fun setClickableArea(left: Int, top: Int, right: Int, bottom: Int): MarkerData.Builder
Set clickable area defined by margins from image edges.
Link copied to clipboard
Set collisions for the marker image.
Link copied to clipboard
Set collisions for the marker label.
Link copied to clipboard
open fun setMaxZoomLevel(maxZoomLevel: Float): MarkerData.Builder
Set maximum zoom level for displaying the marker.
Link copied to clipboard
open fun setMinZoomLevel(minZoomLevel: Float): MarkerData.Builder
Set minimum zoom level for displaying the marker.
Link copied to clipboard
fun setZIndex(zIndex: Int): B
Link copied to clipboard
Link copied to clipboard
Set the styled label to be displayed with marker.
Set the label to be displayed with marker.
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B