Using the Directions Field you can calculate the driving directions ( using Google Maps directions API ) or the straight line distance between 2 or more locations.
You can calculate the directions between an origin location and a destination location, and you can add waypoints in between.
When calculating the driving distance, which uses Google Maps API, you can display the driving routes on a
Google Map Field, you can output the driving steps using the Direction Panel Field, and you can populate other form fields ( text, hidden… ) with the values of the driving distance and duration.
When using the field to calculate the straight line distance, you can display the straight-line routes on the
Google Map Field, and you can populate other form fields with the value of the distance ( duration is not available for straight-line calculation at the moment ).
The distance/directions are being calculated between different Geocoder fields. You can add as many Geocoder fields as you need to the form and sync them ( see Fields Syncing ) with other geolocation fields ( address, map, coordinates, etc… ) that will be used to find the locations for the distance calculation.
Select between driving directions and distance calculated by Google Maps API and a straight line ( “as the crow flies” ) distance.
You must select at least the geocoder fields that will be used as the origin and destination points. In addition, you can also select the geocoders that will be used as waypoints.
Select a Directions Panel field if you would like to display the directions steps ( you need to have a Directions Panel field present in the form ). Note that this feature is available with driving directions only.