I am working on an application which includes bing map with following functionality
- User inputs a location and distance from that location to search.
- Bing Maps REST Services Locations API is used to geocode the location.
- Bing Spatial Data Services Query API is used to search for points of interest near the location.
- The POI information is displayed and pushpins are added to the map.
for this I used following code http://msdn.microsoft.com/en-us/library/hh757509.aspx in my application which is working fine for North America becauseNAVTEQNA
data source contains information about points of interest (POIs) in North America.
Now if i replace NAVTEQNA
with FourthCoffeeSample
which is provided http://msdn.microsoft.com/en-us/library/gg585133.aspx . this is also working fine for same area but not working for India & other countries including US also except of North America.
Note
If I am entering any address of any country the address is Geocoding using the REST Services, but it is not searching for points of interest (POI) using Spatial data Services. Searching for points of interest (POI) using Spatial data Services is working fine for North America.
Please suggest me how it will work for India & other countries.