Bing map boundary area

pheonix shephered 1 Reputation point
2022-04-04T07:38:56.767+00:00

Hi,

I have seen that while you zoom out and click on the names of city or localities present within a country, the boundary of that particular city or locality appears. Is there a quicker way to get the area of that city/locality using the boundary other than using measure distance and closing the shape? If so please let me know

another doubt I had was , as mentioned earlier we usually get boundaries if we click on the name of those city/locality. but there are cases where we get a pointer to a location within that city/locality instead of a boundary when we click it. Is there any way to overcome that?

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
592 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2022-04-09T05:49:55.37+00:00

    If you are a developer, you can get the boundary with an API call as long as you know some details about which boundary you want. For example this iSDK sample shows Zipcodes in the USA https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/sdsloadmultipleboundaries


  2. IoTGirl 2,976 Reputation points Microsoft Employee
    2022-04-16T18:58:16.723+00:00

    Your fist link has no postal code while your second link does. This provides more precise data which is likely the source of the difference you are seeing.

    0 comments No comments