Table of Contents

TTMSFNCLeaflet.AddRectangle Method

Adds a rectangle to the map.

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

Syntax

function AddRectangle(ABounds: TTMSFNCMapsBoundsRec): TTMSFNCLeafletRectangle; reintroduce; virtual;

Parameters

Name Description
ABounds Bounds used by the rectangle.

Returns

The newly created item.