Table of Contents

TTMSFNCCustomOpenLayers.AddPolyline Method

Adds a polyline to the map.

API unit family: TMSFNCOpenLayers Declaring type: TTMSFNCCustomOpenLayers

Syntax

function AddPolyline(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCOpenLayersPolyline; 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.