Table of Contents

TTMSFNCCustomGoogleMaps.AddPolygon Method

Adds a polygon to the map.

API unit family: TMSFNCGoogleMaps Declaring type: TTMSFNCCustomGoogleMaps

Syntax

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

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.