On this page
Example: Google Maps location for an address
Show the Google map location for an address. The adress is stored in another custom field Address (Text Field (single line)).
A valid configuration for this Calculated Text Field:
Text to be parsed
%{10407} != null ? "<iframe width=\"100%\" height=\"500\" id=\"gmap_canvas\" src=\"https:\/\/maps.google.com\/maps?q=" + replaceAll(toLowerCase(%{10407})," ","%20") + "&t=&z=13&ie=UTF8&iwloc=&output=embed\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\"><\/iframe>" : null
Note that:
- %{10407} is the field code for Address
Once configured and added to an issue screen, the result will look like this: