Skip to main content
Table of Contents

TTMSFNCCustomOpenLayers.AddPolyline Method

Adds a polyline to the map.

API unit family: TMSFNCOpenLayers Declaring type: TTMSFNCCustomOpenLayers

Syntax

FMX.TMSFNCOpenLayers.hppPascalC++
function AddPolyline(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCOpenLayersPolyline; reintroduce; virtual;
HIDESBASE virtual TTMSFNCOpenLayersPolyline* __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.