Blog
All Blog Posts | Next Post | Previous PostTMS FNC Maps 1.3 released!
Tuesday, February 9, 2021
What's new?
The first TMS FNC Maps update of 2021 includes 2 often requested features: programmatically toggle StreetView mode in TTMSFNCGoogleMaps and the ability to avoid toll roads with TTMSFNCDirections.
Toggle StreetView mode in TTMSFNCGoogleMaps
With just one line of code it is now possible to switch to StreetView mode on the map's current center position. This feature is available exclusively for the TTMSFNCGoogleMaps component.
TMSFNCGoogleMaps1.Options.StreetView.Enabled := not TMSFNCGoogleMaps1.Options.StreetView.Enabled;
Avoid toll roads with TTMSFNCDirections
Adjust your routing with just a single parameter to avoid toll roads. This feature is available for the following directions services: Google, Here, Bing, Azure and MapBox.
Avoid toll roads:
TMSFNCDirections1.GetDirections(StartCoordinate, EndCoordinate, nil, '', nil, False, tmDriving, nil, False, '', mlmDefault, True);
Include toll roads (default):
TMSFNCDirections1.GetDirections(StartCoordinate, EndCoordinate, nil, '', nil, False, tmDriving, nil, False, '', mlmDefault, False);
What's next?
Although we are already working on a future update, it's a little early to reveal what we have planned for now.
I hope you enjoy the new features and I'm looking forward to share more exciting new additions to TMS FNC Maps throughout the new year!
Bart Holvoet
This blog post has not received any comments yet.
All Blog Posts | Next Post | Previous Post