Show/hide (plot) pushpins based on Map zoom level/view

Balasaheb Molawade 136 Reputation points
2022-04-01T04:49:36.017+00:00

Hi,

We have requirement to show pushpin based zoom level/view.

Is there a way to limit the number of existing Pushpin displayed on a Bing Map depending on the zoom level? Like at level 5 only show one Pushpin and on a higher zoom level increase the amount displayed, so that at level 15 all existing Pushpin are shown. Is there any sample code for this.

Do we need to fetch all pushpin and then show based on zoom level or fetch only pushpin that are within zoom level/view.

Thanks!

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
700 questions
{count} votes

Your answer

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