I want to get the List of nearest locations of by passing an address of location. like: Los Angeles, should give me the list of all locations near to it either in json or xml fo
'Google Geocoding API' this could help you to find the list of nearest locations by passing the address. for reference go to this link
http://code.google.com/apis/maps/documentation/geocoding/
You can use this API by passing the address. It can be also possible to find the list by passing the co-ordinates like latitude and longitude