Getting started with TMS FNC Bing Maps
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 Bing Maps API key from the Microsoft Azure portal.
Add the control
- Drop
TTMSFNCBingMaps from the TMS FNC Maps palette page onto a form.
- Set the
APIKey property to your Bing Maps API key.
Add a marker
{ Inside your form's OnCreate event: }
var
Marker: TTMSFNCMapsMarker;
begin
Marker := TMSFNCBingMaps1.Markers.Add;
Marker.Coordinate.Latitude := 52.3676;
Marker.Coordinate.Longitude := 4.9041;
Marker.Title := 'Amsterdam';
end;
Next steps