find map by providing country,city and street
in my application findlocation opptions is there.can u please he开发者_开发百科lp me how to find out the corresponding map by providing the country,city,street or pincode. please help me
From a Geocoder object, you can use the method getFromLocationName
that accepts an address and the number of result (if several locations are found)
It returns a list of Address objects that contain methods getLongitude()
and getLatitude()
Having the latitude and longitude, you can make a GeoPoint and use it for your mapController
精彩评论