On this page

Type Alias AnimatedStrokeOptions

AnimatedStrokeOptions:
    | {
        activeColor: [number, number, number, number];
        inactiveColor: [number, number, number, number];
    }
    | false

Options for configuring the animated stroke effect for routes. When an object is provided, it defines colors for active and inactive parts of the route. When false, the animated stroke effect is disabled.

Was this helpful?
SDK JS
Reference
AnimatedStrokeOptions