Table of Contents

TTMSFNCCustomMaps.AddPolygon Method

Creates and returns polygon.

API unit family: TMSFNCMaps Declaring type: TTMSFNCCustomMaps

Syntax

function AddPolygon(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCMapsPolygon; virtual;

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.