Last year Alan Lepofsky posted a small trick to integrate Google maps into your Lotus Notes Personal Address Book. By clicking the ‘Google Map This Address’ link, Google Maps will open in your browser and show the address of the contact person.
But Google offers more than just showing the address of a certain person. You can also get directions.
How? Open your contacts form and do the following:
1) Put a description next to the address or title (e.g. Get Google directions)
2) Add a url hotspot containing this formula:
xTo := @ReplaceSubstring(OfficeStreetAddress;” “:”#” ; “+” :”%23″) +
“+” + @ReplaceSubstring(OfficeCity;” ” ; “+”) + “+” +
@ReplaceSubstring(OfficeZip;” ” ; “+”)+ “+” +
@ReplaceSubstring(OfficeCountry;” ” ; “+”);
xFrom := “Provinciale+steenweg+39+2627+Schelle+Belgi%C3%AB”;“http://www.google.com/maps?saddr=” + xFrom +
“&geocode=&dirflg=&daddr=” + xTo + “&f=d&hl=en&sll=51.255885,4.436806&sspn=0.008272,0.016866&” + “ie=UTF8&z=12&om=1″
3) Change the field names in xTo to the correct names that your form uses.
4) Change the address line in xFrom to your company’s address.
Now open a contact and click on the link ‘Get Google directions’. The result should be a bit like this.







