Share via

Show Label on Plotted Shapes

Balasaheb Molawade 141 Reputation points
2024-12-30T13:30:20.9566667+00:00

Hi,

We have developed an application using Bing Maps. We have plotted multiple collections of postal code boundaries using polygons. One polygon have multiple postal code boundaries. We want to display one label on each collection of postal codes. The label should appear as a callout to indicate which boundaries it belongs to.

Untitled

Does anyone have a solution for this.

Thanks!

Azure Maps
Azure Maps

An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.


1 answer

Sort by: Most helpful
  1. IoTGirl 3,951 Reputation points Microsoft Employee Moderator
    2024-12-31T16:20:32.2+00:00

    Yes, that is the correct experience. You might consider giving the polygons different colours for either the outline or interior in order to identify them. See https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/setpolygonoptions or you could look at using a custom infobox to modify the experience. See the index on the left of the isdk to explore other options.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.