Get Multiple Boundary by using SpatialDataService of Bing maps RRS feed

  • Question

  • Hi,

    We are creating one application where we are plotting region by city, state, etc. We are using Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary API to get the boundary of the provided region. However, if we are plotting an invalid region, we cannot identify whether the boundary is provided by Bing Maps or not. There is an errorcallback function provided in the above API, but we get callbackState ="3" if we provide invalid region. Is there any other way to identify whether the region is invalid and Bing Maps is not able to provide the boundary?

    Thanks In Advance!

    Friday, December 29, 2017 12:40 PM