find map by providing country,city and street
in my application findlocation opptions is there.can u please help me how to find out the corresponding map by providing the country,city,street or pincode. please help me
Asked by: Catherine526 | Posted: 25-01-2022
Answer 1
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
Answered by: Ada744 | Posted: 26-02-2022Similar questions
Still can't find your answer? Check out these communities...
Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android