The 'Directions' custom field allows users to specify an origin and destination location as text when creating/editing an issue. The directions will be shown as inline Google Map Directions in the issue. To separate origin and destination, the separator => has to be used.
The directions from origin to destination are made in driving mode. For instance, only origin and destination may be set by user input.
Configuring the Directions custom field is no different from configuring any other Jira custom field. For information on how to configure a custom field in Jira, see the Jira documentation.
A user specifies 'Locarno => Lugano' in a Directions field when creating an issue, and once saved and when the issue is in view mode, Google Map Directions will be shown: