Skip to main content
Table of Contents

TTMSFNCOpenLayers.AddRectangle Method

Adds a rectangle to the map.

API unit family: TMSFNCOpenLayers Declaring type: TTMSFNCOpenLayers Inherited from: TTMSFNCCustomOpenLayers

Syntax

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

Parameters

Name Description
ABounds Bounds used by the rectangle.

Returns

The newly created item.