Blog

All Blog Posts  |  Next Post  |  Previous Post

Embracing the Future: TMS FNC Maps for Delphi Supports Google Routes API and Places New API

Tuesday, February 25, 2025

At TMS Software, we are committed to providing our customers with the latest and most reliable tools for their mapping needs. By staying up-to-date with new API versions and continuously improving our products, we ensure that you have access to the most advanced features and capabilities. Our goal is to support your development journey and help you create innovative and efficient applications.

The world of mapping and geolocation is constantly evolving, and staying ahead means embracing the latest advancements. This blog post will focus on the Google Routes API and Google Places New API in TMS FNC Maps. This update marks a significant shift from the previous reliance on the Google Directions API and Google Places API, bringing a host of new features and improvements to developers and users alike.


Why the Change?

It's important to note that the current Google Directions API and Google Places API will become legacy on March 1, 2025. While existing projects utilizing these APIs will continue to function for the foreseeable future, developers should plan to transition to the new APIs to ensure ongoing functionality and access to the latest features.

The Google Routes API is the next generation of the Directions API. It offers enhanced performance, more accurate routing, and additional features such as eco-friendly route options and real-time traffic information. This makes it an ideal choice for applications requiring precise and efficient route planning.

Similarly, the Google Places New API replaces the older Places API, providing more robust and detailed information about places. With features like Place Details, Place Photos, Nearby Search, and Text Search, developers can now access richer data and better integrate location-based services into their applications.


Benefits for Developers

  1. Enhanced Routing Capabilities: The Google Routes API allows for more accurate and efficient route planning, including support for various modes of transportation such as driving, walking, biking, and public transit.

  2. Detailed Place Information: The Google Places New API offers comprehensive details about places, including user reviews, photos, and contact information, making it easier to provide users with valuable insights.

  3. Improved Performance: Both APIs are designed to offer better performance and scalability, ensuring that applications can handle increased loads and deliver faster responses.

  4. Eco-Friendly Options: The Google Routes API includes options for calculating the most fuel-efficient routes, helping developers create more sustainable applications.


Integration with TMS FNC Maps

TMS FNC Maps is a versatile mapping solution that supports multiple mapping services, including Google Maps, Here Maps, Leaflet, and more. With the integration of the Google Routes API and Google Places New API, developers can seamlessly incorporate these powerful tools into their applications, enhancing the user experience with accurate routing and detailed place information.


TMS Software Delphi  Components


Migration

Developers who have embraced TMS FNC Maps can now, with minimal effort, seamlessly enjoy the benefits of significant underlying changes at Google. This update not only enhances your applications but also ensures they remain future-proof with virtually no additional effort.

To ensure a smooth transition from the Google Directions API and Google Places API to the Google Routes API and Google Places New API, simply follow these two steps:

  1. Enable the new APIs: Ensure the new APIs are enabled for your project in the Google Developer Console.

  2. Switch to the new API in code: For the TTMSFNCDirections component set UseGoogleRoutes to True, for the TTMSFNCPlaces component set UseGooglePlacesNew to True.


Conclusion

The inclusion of support for the Google Routes API and Google Places New API in TMS FNC Maps represents a significant advancement for developers aiming to build sophisticated mapping and geolocation applications. With superior routing capabilities, comprehensive place information, and enhanced performance, TMS FNC Maps remains at the forefront of mapping solutions.



Bart Holvoet




This blog post has received 2 comments.


1. Thursday, February 27, 2025 at 10:14:07 PM

If I understood correctly, there is no need to upgrade to some new version of TMS FNC Maps. Is it enough to change certain values, as described in point 2. above?
I''m user of TMS FNC Maps 4.3.0.2. Is this version good enough to support new API?

Drzislav Sikiric


2. Thursday, February 27, 2025 at 11:59:27 PM

If you want to take advantage of these new Google APIs, the new version of TMS FNC Maps is needed as only the new version has the code to work with the new API versions and the property to switch to it.

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