Getting started with TMS FNC TomTom
Prerequisites
- TMS FNC Core installed and the runtime package added to the project.
- TMS FNC Maps installed and the runtime package added to the project.
- A TomTom Developer API key.
Add the control
- Drop
TTMSFNCTomTom from the TMS FNC Maps palette page onto a form.
- Set the
APIKey property to your TomTom API key.
Add a marker
{ Inside your form's OnCreate event: }
var
Marker: TTMSFNCTomTomMarker;
begin
Marker := TMSFNCTomTom1.Markers.Add;
Marker.Coordinate.Latitude := 52.3676;
Marker.Coordinate.Longitude := 4.9041;
Marker.Title := 'Amsterdam';
end;
Next steps