TTMSFNCGoogleMaps.AddMarker Method
Adds a marker at the specified coordinate.
API unit family: TMSFNCGoogleMaps
Declaring type: TTMSFNCGoogleMaps
Inherited from: TTMSFNCCustomGoogleMaps
Overloads
Overload 1
Adds a marker at the specified coordinate.
function AddMarker(ACoordinate: TTMSFNCMapsCoordinateRec; ATitle: string = ''; AIconURL: string = ''): TTMSFNCGoogleMapsMarker; reintroduce; overload; virtual;
Parameters
| Name | Description |
|---|---|
ACoordinate |
Coordinate used by the operation. |
ATitle |
The title value. |
AIconURL |
Marker icon URL. |
Returns
The resulting google maps marker instance.
Overload 2
Adds a marker at the specified latitude and longitude.
function AddMarker(ALatitude: Double; ALongitude: Double; ATitle: string = ''; AIconURL: string = ''): TTMSFNCGoogleMapsMarker; reintroduce; overload; virtual;
Parameters
| Name | Description |
|---|---|
ALatitude |
Latitude in decimal degrees. |
ALongitude |
Longitude in decimal degrees. |
ATitle |
The title value. |
AIconURL |
Marker icon URL. |
Returns
The resulting google maps marker instance.