interface AddPolylineOptions {
    color?: string | Color;
    id?: any;
    opacity?: number;
    points: LatLng[];
    width?: number;
}

Properties

color?: string | Color

Color of the line, default black.

id?: any

Set this in case you want to later pass it to 'removePolylines'.

opacity?: number

Transparency / alpha, ranging from 0 to 1. Default fully opaque (1).

points: LatLng[]
width?: number

Width of the line, default 5.