Icon
@Serializable
Data structure for Icons to be used with StoresOverlay or Markers.
Supported image format: PNG, JPG, SVG.
Construct via one of the Icon.Companion factories (fromResource, fromAsset, fromFile, fromPath, fromBitmap, defaultMarker) for engine-agnostic decode, or pass an HTTP(S) URL to the primary constructor for the legacy remote-fetch path.
Properties
Link copied to clipboard
Size to display the icon in pixel
Link copied to clipboard
URL to the icon. HTTP(S) for remote icons, or an opaque cache-key string minted by an Icon.Companion factory for locally-decoded bitmaps.