IconSpec

class IconSpec(val name: String, val size: Float, val offset: Float, val anchor: String)

Resolved icon payload. The name is the atlas entry to look up; size is a multiplier on the atlas entry's native pixel size; offset is a horizontal offset in icon-pixel units; anchor picks where on the icon the geographic point sits.

Constructors

Link copied to clipboard
constructor(name: String, size: Float, offset: Float, anchor: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Float