Forum: Global Maps

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Global Maps premium extension please open a new premium support ticket.

[Resolved]Set cluster limit?

Forums Global Maps Set cluster limit?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #32006

    Is there a way to set the cluster to be removed with less than 3 markers/location?



    There are no settings that can control that. However, you can simply do so by editing the javascript file of the plugin.
    All you need to do is open the file:
    and go to line 214 which should be:

    all you need to add is

    so the line above will now be:

    This will tell the plugin to only create a cluster if it has at least 3 markers inside it. Otherwise the markers will be displayed as individuals.

    I will look into adding this as a feature in the future.

    Hope it helps.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.