LocationPuck2D

data class LocationPuck2D @JvmOverloads constructor(var topImage: ImageHolder? = null, var bearingImage: ImageHolder? = null, var shadowImage: ImageHolder? = null, var scaleExpression: String? = null, var opacity: Float = 1.0f) : LocationPuck

Definition of a location_puck_2_d.

Constructors

Link copied to clipboard
fun LocationPuck2D(topImage: ImageHolder? = null, bearingImage: ImageHolder? = null, shadowImage: ImageHolder? = null, scaleExpression: String? = null, opacity: Float = 1.0f)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Name of image in sprite to use as the middle of the location indicator.

Link copied to clipboard
var opacity: Float = 1.0f

The opacity of the entire location puck Default value: 1. Value range: 0, 1

Link copied to clipboard
var scaleExpression: String? = null

The scale expression of the images. If defined, it will be applied to all the three images.

Link copied to clipboard

Name of image in sprite to use as the background of the location indicator.

Link copied to clipboard
var topImage: ImageHolder? = null

Name of image in sprite to use as the top of the location indicator.