Table of Contents

TTMSFNCCustomMaps.AddMarker Method

Creates and returns marker.

API unit family: TMSFNCMaps Declaring type: TTMSFNCCustomMaps

Overloads

Overload 1

Creates and returns marker.

function AddMarker(ACoordinate: TTMSFNCMapsCoordinateRec; ATitle: string = ''; AIconURL: string = ''): TTMSFNCMapsMarker; overload; virtual;

Parameters

Name Description
ACoordinate Coordinate value used by the operation.
ATitle Title or caption assigned to the created element.
AIconURL URL of the marker icon image.

Returns

String value returned by the operation.

Overload 2

Creates and returns marker.

function AddMarker(ALatitude: Double; ALongitude: Double; ATitle: string = ''; AIconURL: string = ''): TTMSFNCMapsMarker; overload; virtual;

Parameters

Name Description
ALatitude Latitude value in decimal degrees.
ALongitude Longitude value in decimal degrees.
ATitle Title or caption assigned to the created element.
AIconURL URL of the marker icon image.

Returns

String value returned by the operation.