Skip to main content
Table of Contents

TTMSFNCCustomOpenLayers.AddTileLayer Method

Adds a custom tile layer to the map.

API unit family: TMSFNCOpenLayers Declaring type: TTMSFNCCustomOpenLayers

Syntax

FMX.TMSFNCOpenLayers.hppPascalC++
function AddTileLayer(AURL: string; AOpacity: Single = 1): TTMSFNCOpenLayersTileLayer;
TTMSFNCOpenLayersTileLayer* __fastcall AddTileLayer(System::UnicodeString AURL, float AOpacity = 1.000000E+00f);

Parameters

Name Description
AURL URL used by the operation.
AOpacity Opacity value applied to the layer.

Returns

The newly created item.