Icon

open class Icon

Deprecated

Icon is the visual representation of a Marker on a MapView.

Deprecated

As of 7.0.0, use Mapbox Annotation Plugin instead

Functions

Link copied to clipboard
open fun equals(@Nullable object: Any): Boolean
Compares this icon object with another icon and determines if they match.
Link copied to clipboard
open fun getBitmap(): Bitmap
Get the bitmap being used for this icon.
Link copied to clipboard
open fun getId(): String
String identifier for this icon.
Link copied to clipboard
open fun getScale(): Float
Get the icon bitmap scale.
Link copied to clipboard
open fun hashCode(): Int
Gives an integer which can be used as the bucket number for storing elements of the set/map.
Link copied to clipboard
open fun toBytes(): Array<Byte>
Get the icon bitmap bytes.