Error when calling SearchManager.ReverseGeocodeAsync RRS feed

  • Question

  • Hi,

    I am trying to use the Bing Map SDK for Windows Store. Here is the sample code that I am trying to execute:

     Map map = new Map();
                    map.Credentials = "BING_MAP_KEY";
                    SearchManager sm = map.SearchManager;
                    ReverseGeocodeRequestOptions opt = new ReverseGeocodeRequestOptions(new Location
                                                                                                Latitude = pos.Coordinate.Latitude,
                                                                                                Longitude = pos.Coordinate.Longitude
                    var result = await sm.ReverseGeocodeAsync(opt);

    I am getting the following error in the LocationDataResponse

    Network request failed with error code 0x-2146697211

     Any help will be appreciated.



    Thursday, September 12, 2013 2:31 PM


All replies