| 2 minute read |

Are you tired of maps where all of your point markers or pushpins are overlapping each other and practically colouring in the whole screen?

Messy points!

Yes we were too, and that’s why we introduced the clustered pushpin feature. When two pushpins will occupy the same area on the screen then they will be grouped into a cluster. This cluster contains a number that lets us know how many are in the cluster and further more if we move our mouse over the cluster the area that the points occupy on the map will be highlighted!

Much easier to understand!

Pushpin clustering can be setup on any point, line or polygon layer in seconds. Here’s how:

  • Open the Toolbox from the administration sidebar in your map editor.
  • Navigate to the Visualization tab and click on the Clustered Pushpin icon.

  • Next, select the layer you wish to apply pushpins to from the dropdown box.
  • Set your options for your pushpins. You can choose the distance between points to cluster, the color of the clustered marker, and also decide if you want uniform single colored pins, or categorized pins. Mango provides a set of ready-made pins, or you can upload your own custom map markers for both Single Symbol and Categorized pushpins.
  • Hit Save and you’re done!

Any type of data can use pushpins, but in the case of point layers you will probably want to hide the point markers from your map, and only show the pushpin overlay. Here’s how to do it:

  • Go to Layer Settings in your  administration side bar
  • Choose the layer with the markers that you wish to hide
  • Click the pencil icon to edit the layer
  • On the Style tab, set the Fill opacity to 0%
  • Change the Outline style to None

  • Switch to the “General” tab at the top of the Layers panel
  • Flip the the “ Display this layer in the map legend” toggle to OFF
  • Hit Save

Now your map only shows the clustered pushpins. Users can interact with the pushpins just like before – clicking on a pin will open the data identify panel.

Here’s an interactive map map of schools in Manhattan using clustered pushpins.