开发者

what would be url for xml suggestions

开发者 https://www.devze.com 2023-03-27 17:35 出处:网络
With this url Google suggestions You can get an xml sug开发者_StackOverflow中文版gestions list for the word cars

With this url Google suggestions

You can get an xml sug开发者_StackOverflow中文版gestions list for the word cars

What would be the URL to limit the results to Google Maps results?


I think the Google Geocode api might be what you're looking for. There's documentation on that page for xml output for search locations using queries like the following:

http://maps.googleapis.com/maps/api/geocode/xml?address=<SEARCH_TERM_HERE>&sensor=true

It seeems very powerful. By just searching for the town I live I get multiple results in xml, each containing the region, co-ordinates, area, country, post code, etc.

0

精彩评论

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