Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Cluster minimumClusterSize can't be update dynamically #1617

Open
@tianxu0836

Description

@tianxu0836

I have two clusters and I only want always two clusters on the map.
so I want to make sure minimumClusterSize get increased after a new marker add to it. The minimumClusterSize should always equals the total markers in the cluster.

when I click on the map, I will add a new marker to the first cluster(the cluster starts with 5 markers)
I realized that after I add a new marker, minimumClusterSize can't be updated.
when you keep adding markers at some point, you will see more than two clusters. However, I only wants two clusters.

Here is the plnkr with the issue:
http://plnkr.co/edit/TlkZ18IMbWKxI8pdgwko?p=preview

btw, it seems MarkerClusterer methods can't be accessed in the angular google maps?
How do you call "setMinimumClusterSize()"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions