none
Clustering question RRS feed

All replies

  • Hi Balasaheb,

    Zooming in and zooming out will disperse the pushpins but you can turn off clustering as shown here:

    https://www.bing.com/api/maps/sdk/mapcontrol/isdk/getclusteringoptions#JS

    Try turning clusterLayer.setOptions().clusteringEnabled to false.

    Sincerely,

    IoTGirl

    Monday, March 2, 2020 4:30 PM
    Owner
  • Hi,

    Thanks for your reply. We have checked and it is working fine. Now we have another issue when we have cluster say suppose with 10 pushpins. Now we want to hide/show pushpins inside the cluster based on some checkbox value. Is there is any way to do this.

    Waiting for your reply.

    Thanks!



    Balasaheb

    Tuesday, March 3, 2020 2:34 PM
  • Hi Balasheb,

    You could tie the clusteringEnabled true or false to a checkbox to turn clustering on or off.  When on, the cluster experience is tied to zoom level so the 10 items will break when the zoom level dictates it should.  

    Sincerely,

    IoTGirl 

    Tuesday, March 3, 2020 6:04 PM
    Owner