将 BING 地图搜索限制为 Windows Phone 7 中的某个国家/地区
问题标题几乎概括了这一点。我想将地图搜索仅限于美国。目前我只使用 BING 地图地理编码服务,所以我想应该有一种方法可以做到这一点。例如,如果我搜索巴黎,我只想得到“德克萨斯州巴黎”,而不是“法国巴黎”。
谢谢!
The question title pretty much sums it up. I want to restrict the map search to USA only. Right now I'm only using the BING Maps geocode service, so I guess there should be a way in there to do this. For example, if I search Paris, I only want to get 'Paris, TX' and not 'Paris, France'.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过将
", USA"
添加到查询中?如果不知道如何捕获/获取您正在搜索的值,就很难提供更具体的解决方案。
Have you tried just appending
", USA"
to the query?Without knowing how you're capturing/sourcing the values you're searching for it's hard to offer a more specific solution.