Skip to main content
Table of Contents

TTMSFNCLeaflet.AddPolyline Method

Adds a polyline to the map.

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

Syntax

FMX.TMSFNCLeaflet.hppPascalC++
function AddPolyline(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCLeafletPolyline; reintroduce; virtual;
HIDESBASE virtual TTMSFNCLeafletPolyline* __fastcall AddPolyline(TTMSFNCMapsCoordinateRecArray ACoordinates, bool AClose = false);

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.