Skip to main content
Table of Contents

TTMSFNCCustomGoogleMaps.AddPolygon Method

Adds a polygon to the map.

API unit family: TMSFNCGoogleMaps Declaring type: TTMSFNCCustomGoogleMaps

Syntax

FMX.TMSFNCGoogleMaps.hppPascalC++
function AddPolygon(ACoordinates: TTMSFNCMapsCoordinateRecArray; AClose: Boolean = False): TTMSFNCGoogleMapsPolygon; reintroduce; virtual;
HIDESBASE virtual TTMSFNCGoogleMapsPolygon* __fastcall AddPolygon(TTMSFNCMapsCoordinateRecArray ACoordinates, bool AClose = false);

Parameters

Name Description
ACoordinates Coordinates used by the operation.
AClose When True, the first coordinate is appended to close the shape.

Returns

The resulting google maps polygon instance.