Skip to main content
Table of Contents

TTMSFNCMaps.AddPolygon Method

Creates and returns polygon.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMaps Inherited from: TTMSFNCCustomMaps

Syntax

GeneratedPascalC++
function AddPolygon(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCMapsPolygon; virtual;
virtual TTMSFNCMapsPolygon* __fastcall AddPolygon(TTMSFNCMapsCoordinateRecArray ACoordinates, bool AClose = false);

Parameters

Name Description
ACoordinates Coordinate value used by the operation.
AClose Set to True to close the supplied coordinate path.

Returns

True when the operation succeeds or the condition is met; otherwise False.