开发者

find map by providing country,city and street

开发者 https://www.devze.com 2022-12-18 12:20 出处:网络
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 meFrom a Geocode

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

精彩评论

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

关注公众号