Table of Contents

TTMSFNCLeaflet.AddPolyline Method

Adds a polyline to the map.

API unit family: TMSFNCLeaflet Declaring type: TTMSFNCLeaflet Inherited from: TTMSFNCCustomLeaflet

Syntax

function AddPolyline(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCLeafletPolyline; reintroduce; virtual;

Parameters

Name Description
ACoordinates Coordinate or coordinate array used by the operation.
AClose When True, the path is closed when the element is created.

Returns

The newly created item.