Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class ColorScaleOptionsLegendDisabled(val stops: List<ColorStop>, val range: ClosedRange<Float>? = null)
Link copied to clipboard
Describes how a color scale is configured, which can either be a single scale or a collection of scales for specific data masks.
Link copied to clipboard
NOTE: This file is auto-generated and should not be edited directly! Last updated: 2025-11-14T18:31:03.868Z
Link copied to clipboard
class LegendContainerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout
A custom view that hosts a vertical stack of legend views.
Link copied to clipboard
class LegendControl
The LegendControl acts as a high-level manager for map legends within a Mapbox environment.
Link copied to clipboard
class LegendControlView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout
The main view that contains and manages the legend UI components.
Link copied to clipboard
data class LegendDefaults(val titleFontWeight: FontWeight = FontWeight.Bold, val titleColor: Color = Color.Black, val backgroundColor: Color = Color.White, val margins: PaddingValues = PaddingValues(horizontal = 3.dp, vertical = 4.dp), val insets: PaddingValues = PaddingValues(8.dp), val cornerRadius: Dp = 8.dp)
A data class holding default styling values for a legend component.
Link copied to clipboard
class LegendView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout
A custom Android View that displays a legend, built entirely programmatically without XML.