Restricting BING Map searches to a country in Windows Phone 7
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 the开发者_运维知识库re 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!
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.
精彩评论