TTMSFNCCustomTomTom.AddMarker Method
Adds a marker at the specified coordinate.
API unit family: TMSFNCTomTom
Declaring type: TTMSFNCCustomTomTom
Overloads
Overload 1
Adds a marker at the specified coordinate.
function AddMarker(ACoordinate: TTMSFNCMapsCoordinateRec; ATitle: string = ''; AIconURL: string = ''): TTMSFNCTomTomMarker; reintroduce; overload; virtual;
Parameters
| Name | Description |
|---|---|
ACoordinate |
Coordinate where the marker is placed. |
ATitle |
Optional marker title. |
AIconURL |
Optional URL for the marker icon image. |
Returns
The created TomTom marker item.
Overload 2
Adds a marker at the specified latitude and longitude.
function AddMarker(ALatitude: Double; ALongitude: Double; ATitle: string = ''; AIconURL: string = ''): TTMSFNCTomTomMarker; reintroduce; overload; virtual;
Parameters
| Name | Description |
|---|---|
ALatitude |
Latitude of the marker position. |
ALongitude |
Longitude of the marker position. |
ATitle |
Optional marker title. |
AIconURL |
Optional URL for the marker icon image. |
Returns
The created TomTom marker item.