Builder

open class Builder

Constructors

Link copied to clipboard
constructor()
Creates the builder

Functions

Link copied to clipboard
open fun build(): MapIcon
Build the MapIcon
Link copied to clipboard
open fun setAnchorPointX(anchorPointValue: Float): MapIcon.Builder
The horizontal anchor point for the icon.
Link copied to clipboard
open fun setAnchorPointY(anchorPointValue: Float): MapIcon.Builder
The vertical anchor point for the icon.
Link copied to clipboard
open fun setEntity(entity: Entity): MapIcon.Builder
Set the entity
Link copied to clipboard
open fun setFallbackDrawableRes(fallbackDrawableRes: Int): MapIcon.Builder
Set the fallback drawable resource
Link copied to clipboard
open fun setFlipRotationToFaceCamera(flipRotationToFaceCamera: Boolean): MapIcon.Builder
If rotation is set, this parameter controls whether or not the icon is flipped to face towards the camera.
Link copied to clipboard
open fun setIconUrl(iconUrl: String): MapIcon.Builder
Set the small icon url
Link copied to clipboard
open fun setMercatorZone(mercatorZone: MercatorZone): MapIcon.Builder
Set the mercator zone
Link copied to clipboard
Sets the orientation of the icon
Link copied to clipboard
open fun setRotation(rotationDeg: Float): MapIcon.Builder
Sets the rotation angle of the icon in degrees
Link copied to clipboard
open fun setScaling(scaling: Scaling): MapIcon.Builder
Sets the scaling of the icon
Link copied to clipboard
open fun setSize(size: Float): MapIcon.Builder
Sets the size for the icon.