Skip to main content
Table of Contents

TTMSFNCLeaflet.AddRectangle Method

Adds a rectangle to the map.

API unit family: TMSFNCLeaflet Declaring type: TTMSFNCLeaflet Inherited from: TTMSFNCCustomLeaflet

Syntax

FMX.TMSFNCLeaflet.hppPascalC++
function AddRectangle(ABounds: TTMSFNCMapsBoundsRec): TTMSFNCLeafletRectangle; reintroduce; virtual;
HIDESBASE virtual TTMSFNCLeafletRectangle* __fastcall AddRectangle(const TTMSFNCMapsBoundsRec &ABounds);

Parameters

Name Description
ABounds Bounds used by the rectangle.

Returns

The newly created item.