TTMSFNCCustomLeaflet.AddPolyline Method
Adds a polyline to the map.
API unit family: TMSFNCLeaflet
Declaring type: 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.