The Accident Assessor sample application shows how to use Google geo-encoding and decoding to obtain geographic coordinates (latitude and longitude ) of address and location pin information on a Google map, or, conversely, how to use address details to decode the latitude and longitude information from it.
For more information see this blog post: Using Google Geocoding API