Google Contacts in Google Apps Script

This Google Apps Script with fetch all the entries from your Google Contacts including the physical addresses. It then uses the geocoding service of Google Maps to turn these addresses into latitude and longtude points which are finally written to a KML file for reading inside Google Maps.