Blog

All Blog Posts  |  Next Post  |  Previous Post

Introducing 3D maps in TMS FNC Maps for Delphi

Tuesday, August 6, 2024

We are thrilled to announce a significant enhancement to our TMS FNC Maps product: the introduction of 3D maps! Our TMS FNC Maps product supports several mapping services, and now, two of these services—MapBox and Here—have added a 3D mapping style to their API service. This blog post will guide you through enabling and displaying 3D maps with MapBox or Here in TMS FNC Maps for Delphi.

TMS Software Delphi  Components

Configuring 3D Maps

To configure 3D maps with MapBox, follow these steps
Set Up Your API Key: Ensure you have a valid MapBox API key. You can obtain this from the MapBox website.
Configure the Map Component: In your Delphi application, drop a TTMSFNCMapBox component onto your form.
Enable 3D Mode: Set the MapStyle property to the 3D style. For example:

TMSFNCMapBox1.Options.MapStyle := mbs3D;

Adjust View Settings
It is possible to adjust the view of the map at run-time by holding the ctrl key and dragging the map with the left mouse button.
Optionally, you can adjust the tilt and heading of the map programmatically to get the desired 3D view:

TMSFNCMapBox1.Options.Tilt := 72;
TMSFNCMapBox1.Options.Heading := -110;

Related Settings

Additionally the zoom level and center position coordinate can be set:

TMSFNCMapBox1.SetZoomLevel(16);
TMSFNCMapBox1.SetCenterCoordinate(50.6359, 3.0766);

TMS Software Delphi  Components

Set the Time Of Day (for MapBox only)
Another interesting option is the ability to set the time of day in 3D view. This feature is unique to the MapBox service!

TMSFNCMapBox1.Options.TimeOfDay := todNight;


TMS Software Delphi  Components



What About Other Mapping Services?

Currently, only MapBox and Here offer production-ready support for 3D maps. However, we are optimistic that other supported mapping services will soon follow suit and introduce 3D mapping capabilities. Services like Google Maps have been continuously evolving, and we are closely monitoring these developments. As new features become available, we will consider integrating them to further enhance the versatility and functionality of TMS FNC Maps.

Conclusion

With the addition of 3D maps in TMS FNC Maps for Delphi, you can now create more immersive and visually appealing applications. Whether you choose MapBox or Here, enabling 3D maps is straightforward and significantly enhances the user experience. We expect other mapping services to transition to 3D maps in the future, and we hope you enjoy exploring these new capabilities in your projects!

Available Now

The TMS FNC Maps for Delphi update is available now. You can download the latest version and start using the new features right away!



Bart Holvoet




This blog post has received 2 comments.


1. Friday, August 9, 2024 at 9:17:21 AM

Does 3D map works with C++Builder ?

Damien VAQUIER


2. Friday, August 9, 2024 at 9:19:06 AM

Yes, works both from Delphi & C++Builder

Bruno Fierens




Add a new comment

You will receive a confirmation mail with a link to validate your comment, please use a valid email address.
All fields are required.



All Blog Posts  |  Next Post  |  Previous Post