Table of Contents

TTMSFNCCustomMaps.LoadGeoJSONFromText Method

Loads GeoJSON content and optionally creates map elements from it.

API unit family: TMSFNCMaps Declaring type: TTMSFNCCustomMaps

Syntax

function LoadGeoJSONFromText(AText: string; AAutoDisplay: Boolean = True; AZoomToBounds: Boolean = True): TTMSFNCMapsGeoJSONRec; virtual;

Remarks

Import and export workflows usually need guide snippets for provider setup, styling, and event handling.

Parameters

Name Description
AText Text content used by the operation.
AAutoDisplay Set to True to create map elements from the imported data immediately.
AZoomToBounds Bounds used by the operation.

Returns

True when the operation succeeds or the condition is met; otherwise False.