Package-level declarations

Functions

Link copied to clipboard
fun Legend(operationalLayers: List<LayerContent>, basemap: Basemap?, currentScale: Double, modifier: Modifier = Modifier, reverseLayerOrder: Boolean = false, respectScaleRange: Boolean = true, title: String = stringResource(R.string.title), typography: Typography = LegendDefaults.typography())

A composable that displays a legend for the given operational layers and basemap. The legend will display the layer symbology and description so users can better understand what is being viewed in the GeoView. The component provides the option to show all layers or only those layers in the current scale range of the GeoView as well as the ability to reverse the order of items in the legend. The legend will display information from layers, sublayers and group layers.