Package-level declarations
Types
Link copied to clipboard
A concrete implementation of PointLegendFeatureResolver specifically for weather alerts.
Link copied to clipboard
data class PointLegend(val id: String, var title: String? = null, val labelFontWeight: FontWeight = FontWeight.Normal, var titleFontSize: TextUnit = LegendDefaults.titleFontSize, var titleFontWeight: FontWeight = LegendDefaults.titleFontWeight, var titleColorValue: Color = LegendDefaults.titleColor, var labelFontSize: TextUnit = PointLegendDefaults.labelFontSize, var labelColor: Color = PointLegendDefaults.labelColor, var radius: Double = PointLegendDefaults.radius.value.toDouble(), var items: List<PointLegendItem> = emptyList(), var itemResolver: PointLegendFeatureResolver? = null, var layerId: String? = null, var units: MeasurementUnits = MeasurementUnits.IMPERIAL, var margins: Margin = Margin(width = 4.dp.value, height = 4.dp.value)) : Legend
Renders a legend composed of labeled point markers.
Link copied to clipboard
object PointLegendDefaults
Default values for the PointLegend.
Link copied to clipboard
interface PointLegendFeatureResolver
Resolves queried map features into legend items for a PointLegend.
Link copied to clipboard
data class PointLegendItem(@ColorInt var color: Int, val label: String, val emptyItem: Boolean = false)
A placeholder data class for PointLegendItem. This should match the definition used in your PointLegendView.
Link copied to clipboard
class PointLegendView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: AttributeSet? = null) : View