Skip to main content
Table of Contents

TTMSFNCCustomGoogleMaps.AddKMLLayer Method

Adds a KML layer to the map.

API unit family: TMSFNCGoogleMaps Declaring type: TTMSFNCCustomGoogleMaps

Syntax

FMX.TMSFNCGoogleMaps.hppPascalC++
function AddKMLLayer(AURL: string; AZoomToBounds: Boolean = True; ASuppressInfoWindows: Boolean = False): TTMSFNCGoogleMapsKMLLayer;
TTMSFNCGoogleMapsKMLLayer* __fastcall AddKMLLayer(System::UnicodeString AURL, bool AZoomToBounds = true, bool ASuppressInfoWindows = false);

Parameters

Name Description
AURL URL used by the operation.
AZoomToBounds When True, the map zooms to the layer bounds.
ASuppressInfoWindows When True, KML info windows are suppressed.

Returns

The resulting google maps kml layer instance.