Azure Indoor Maps: Can we control clustering at any zoom level and radius in Azure Maps?

Koushal Jain 41 Reputation points
2022-11-04T04:08:11.973+00:00

Hi All,

We are using Clustering in Azure Indoor Maps. The cluster is not working at a particular zoom level. Whenever we are zoom-in we are not able to see cluster even if there are too many pins and they are very close to each other.

We are using the below setting:
clusterRadius: 45,
clusterMaxZoom: 24

How to allow cluster for any zoom level or radius? Kindly provide you inputs how we can achieve that.

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

2 answers

Sort by: Most helpful
  1. rbrundritt 15,231 Reputation points Microsoft Employee
    2022-11-04T14:42:15.36+00:00

    How are you using clustering with Azure Indoor Maps? The indoor maps expose data as vector tiles which don't have clustering option. If you use a symbol layer to render your points from these vector tiles, it should automatically hide colliding text/icons unless you have disabled this (have set ignorePlacement and/or allowOverlap to false)

    0 comments No comments

  2. QuantumCache 20,031 Reputation points
    2023-02-27T06:19:40.9733333+00:00

    Hello,

    In addition to the suggestion posted by Ricky in above answer, did you try clustering of indoor markers in Azure Indoor Maps, you can use the Azure Maps JavaScript SDK and implement clustering manually?

    Also try this by using the "k-means" algorithm to group markers into clusters based on their proximity to each other.

    Please comment in the below section for further help in this matter.

    0 comments No comments