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
Description
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()"?