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

Balasaheb Molawade 86 Reputation points


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.


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