开发者

Android Geocoder such ad google maps

开发者 https://www.devze.com 2023-03-22 23:07 出处:网络
With android GeocoderI can find a shop such as Google Maps or I can only search street, monuments, airport, etc ?? I want to search shopping center with name.开发者_StackOverflow中文版..Search on the

With android Geocoder I can find a shop such as Google Maps or I can only search street, monuments, airport, etc ?? I want to search shopping center with name.开发者_StackOverflow中文版..


Search on the internet for examples for GeoCoding.

But this is what I suggest:

You can make a use of Google Places API, which allows you to search location within some radius by specifying the type which is what you are looking.

http://code.google.com/apis/maps/documentation/places/#PlaceSearchRequests

All you have to do is to parse the output of the URL as it is specified, using JSON (parse the latitude and longitude and the name of the building) or XML. and show the overlays on the map.

http://code.google.com/apis/maps/documentation/places/supported_types.html

Here is the list of types you can search for.

0

精彩评论

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

关注公众号