> How can I do this using simple java program? I mean submit the > addresses to the maps.google.com
If you are really using Java (not javascript) see the documentation http://code.google.com/apis/maps/documentation/geocoding/ > and recieve the distance from > maps.google.com? If you mean distance by road, see the documentation http://code.google.com/apis/maps/documentation/directions/ If you mean straight-line distance, you can calculate it from locations Beware of the terms of use http://code.google.com/apis/maps/terms.html Use of Google service usually requires displaying a Google map. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.