Interface AdminAreaOptions

Set of options to display the selected administrative area on the map when it's available.

const adminArea = {
show: true,
fillColor: 'rgba(0, 75, 120, 0.1)',
outlineColor: 'rgba(0, 75, 120, 1)',
}
interface AdminAreaOptions {
    fillColor?: string;
    outlineColor?: string;
    show: boolean;
}

Properties

fillColor?: string

Fill color of the polygon, you should play with the opacity.

'rgba(0, 75, 120, 0.1)'
outlineColor?: string

Outline color of the polygon.

'rgba(0, 75, 120, 1)'
show: boolean

true to show administrative boundary when the result is an administrative area.