开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜