Table of Contents

TTMSFNCLeaflet.AddTileLayer Method

Adds a custom tile layer to the map.

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

Syntax

function AddTileLayer(AURL: string; AOpacity: Single = 1): TTMSFNCLeafletTileLayer;

Parameters

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

Returns

The newly created item.