Blog
All Blog Posts | Next Post | Previous PostTMS FNC Maps v1.4 released!
Wednesday, March 24, 2021
What's new?
The second TMS FNC Maps update of 2021 includes integrated directions for Google Maps and MapKit along with map rotation in TTMSFNCMapKit.
Introducing TTMSFNCMapKit
A new stand-alone component for Apple MapKit JS is available in TMS FNC Maps v1.4.: TTMSFNCMapKit includes integrated directions and map rotation as component specific features with more to come in the near future.
Integrated directions with step by step instructions
TTMSFNCGoogleMaps and the new TTMSFNCMapKit component now include support for directions out of the box. All you have to do is drop one component on the form, assign a valid API Key and you're good to go! Addresses and locations are geocoded automatically and the calculated route is displayed on the map with just a single line of code.
TMSFNCMapKit1.AddDirections('New York', 'Washington DC');
Optional configuration parameters are available including but not limited to:
- Polyline color and width
- Hide markers or polyline or both
- Indicate if travelling by car or on foot
Also, step by step instructions and route details (displayed in the bottom-left corner of the screenshot below) are returned in an event.
Map Rotation
Another new feature exclusive to the TTMSFNCMapKit component is the ability to rotate the map programmatically. Again with only one line code the rotation of the map can be changed.TMSFNCMapKit1.Options.MapRotation := TMSFNCMapKit1.Options.MapRotation + 45;
Update Now!
Update now to get all the latest and greatest TMS FNC Maps updates and get started exploring the new features!
Bart Holvoet
This blog post has received 2 comments.
Pieter Scheldeman
All Blog Posts | Next Post | Previous Post
Ramazan Geven