Type Alias TPathSectionHighlightOptions

TPathSectionHighlightOptions: {
    animationDuration?: number;
    color?: string;
    widthMultiplier?: number;
}

Configuration options for highlighting a specific section of a path on the map. These options allow you to visually emphasize a segment of a path using custom color, width, and animation duration for user interaction or navigation purposes.

Type declaration

  • OptionalanimationDuration?: number

    Duration of the highlight animation in milliseconds.

    1500
    
  • Optionalcolor?: string

    The highlight color for the path section (CSS color string).

    'red'
    
  • OptionalwidthMultiplier?: number

    Multiplies the base path width by this factor for the duration of the highlight.

    1