Skip to main content
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

Inline example 1PascalC++
{ Inside your form's OnCreate event: }
TMSFNCMapsImage1.LoadFromURL(
  'https://maps.example.com/static-map?lat=51.5074&lng=-0.1278&zoom=12');
// Inside your form's OnCreate event:
TMSFNCMapsImage1->LoadFromURL(
  L"https://maps.example.com/static-map?lat=51.5074&lng=-0.1278&zoom=12");

Next steps

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