Getting started with TMS FNC Maps Image
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.
- An API key for the static map service you intend to use.
Add the control
- Drop
TTMSFNCMapsImage from the TMS FNC Maps palette page onto a form.
- Set the
APIKey property.
- Set the center coordinate and zoom level to position the displayed image.
Load a static map image
{ Inside your form's OnCreate event: }
begin
TMSFNCMapsImage1.Latitude := 51.5074;
TMSFNCMapsImage1.Longitude := -0.1278;
TMSFNCMapsImage1.ZoomLevel := 12;
TMSFNCMapsImage1.LoadMap;
end;
Next steps