Table of Contents

TTMSFNCCustomGoogleMaps.AddKMLLayer Method

Adds a KML layer to the map.

API unit family: TMSFNCGoogleMaps Declaring type: TTMSFNCCustomGoogleMaps

Syntax

function AddKMLLayer(AURL: string; AZoomToBounds: Boolean = True; ASuppressInfoWindows: Boolean = False): TTMSFNCGoogleMapsKMLLayer;

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.