Icon

@Serializable
data class Icon @JvmOverloads constructor(val url: String, val scaledSize: Size? = null, val anchor: Point? = null)

Data structure for Icons to be used with StoresOverlay or Markers.

Supported image format: PNG, JPG, SVG

Constructors

Link copied to clipboard
constructor(image: Bitmap, scaledSize: Size? = null, anchor: Point? = null)
constructor(url: String, scaledSize: Size? = null, anchor: Point? = null)

Properties

Link copied to clipboard
val anchor: Point? = null

Anchor point for the icon

Link copied to clipboard
val scaledSize: Size? = null

Size to display the icon in pixel

Link copied to clipboard
val url: String

URL to the icon, only support HTTP(S)