开发者

Map Search Results

I am trying to provide useful information on an area to users based on a search term and their location.

I thought googles geo api would return a best match list of results for a query such as "swimming+pool+'my location' that I could then place an annotation for each resul开发者_Go百科t in my map view but it only returns one best match location.

How can I go about doing this?


The Google gecoder only handles addresses. Google provide a completely separate API which will geocode business names and categories, the Google AJAX Search API in Local Search mode


Bing's map api will return multiple results for a business search near a location - which is essentially what you're doing. Unsure about Google's results.


You can't use Google's HTTP API for business info. You should take a look at Yelp or Foursquare's APIs, I think.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜