Type Alias OutlinesOptions

OutlinesOptions: { darkenFactor?: number; maxOpacity?: number }

Outline rendering configuration options

Type declaration

  • OptionaldarkenFactor?: number

    Percentage to darken the outline color from the polygon's original color. Higher values create darker, more prominent outlines.

    30
    
  • OptionalmaxOpacity?: number

    Maximum opacity for outlines. The outline opacity interpolates from 0 to this value based on zoom level (fully transparent when zoomed out, max opacity when zoomed in).

    1