Contents

new PolylineOverlay(points, options)

Creates a polyline overlay with coordinate points and style options.

Declaration

constructor(points: Coordinate[], options?: OverlayOptions);

Parameters

  • points:

    The required points in the polyline as an array of Coordinate.

  • options:

    An optional object literal of style options for initializing the polyline.

Discussion

The following is an example of the options parameter for a polyline overlay:

{
    style: new mapkit.Style({
        lineWidth: 2,
        strokeColor: "#F0F"
    })
}

See Also

Creating a polyline overlay