Get list of Local Businesses using Bing Maps Search service API

☆樱花仙子☆ 提交于 2019-12-04 17:47:51

I've ended up using results from Google local search which produces fantastic results and which you can supply an exact Geo-location to specify the area to search.

In case it's useful to someone else later I used Google API for .net to call the google service and then display the points on the silverlight Bing maps control.

I do know that the local business search on Bing Maps for Wp7 is limited to US. In fact I'm living in Canada and the results are useless except if you change your local settings for "browser amd search language" in the Regional screen of the Settings tile like described here:

"Bing Maps has issues finding local results‏"

http://social.answers.microsoft.com/Forums/en-US/windowsphone7/thread/d1f0ce7f-464f-4804-9c61-48cec47fe518/

maybe the WS API has some same limitations ?

You have several options to localize the results of the Bing Search SOAP API, namely:

  1. Set the RequestBase.Culture property to en-GB
  2. Set the SearchRegion class properties of BoundingArea or GeocodeLocation from a previous GeocodeResult

If you are using the Phonebook SourceType from the Bing API v2, you could try setting the SearchRequest.Market property to the appropriate culture code.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!