Table of Contents

TTMSFNCCustomBingMaps.AddPolygon Method

Adds a polygon overlay to the map.

API unit family: TMSFNCBingMaps Declaring type: TTMSFNCCustomBingMaps

Syntax

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

Parameters

Name Description
ACoordinates Coordinates that define the polygon boundary.
AClose When True, closes the polygon path if needed.

Returns

The created Bing Maps polygon item.