Table of Contents

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

  1. Drop TTMSFNCMapsImage from the TMS FNC Maps palette page onto a form.
  2. Set the APIKey property.
  3. 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

  • Guides — service configuration and display options.
  • API reference — full class reference.