eurostat-map
Version:
Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.
14 lines (12 loc) • 478 B
TypeScript
import { LegendConfig } from './LegendConfig'
/**
* Configuration for categorical map legends.
* Used to display a legend with colored rectangles representing different categories.
*/
export interface CategoricalLegendConfig extends LegendConfig {
/**
* Custom order for legend elements. If not specified, uses the domain order from the classifier.
* Provide an array of category codes in the desired display order.
*/
order?: string[]
}