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
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