Open HRN65 opened 4 years ago
I think the cluster radius does need to be decreased. There are too many situations where I know I have tight clusters in a few cities, but instead of having a few clusters I only get one.
Here is a very confusing example. I have nice, tight clusters around Detroit. But then from Flint all the way north to Lake Huron, there are 75 pins and nothing to represent them but a single cluster? What's going on there?
Could this maybe be implemented? Perhaps no clustering on the bottom 8 levels?
disableClusteringAtZoom: If set, at this zoom level and below, markers will not be clustered. This defaults to disabled. See Example. Note: you may be interested in disabling spiderfyOnMaxZoom option when using disableClusteringAtZoom.
maxClusterRadius: The maximum radius that a cluster will cover from the central marker (in pixels). Default 80. Decreasing will make more, smaller clusters. You can also use a function that accepts the current map zoom and returns the maximum cluster radius in pixels.
Would it be possible to decrease the cluster radius in maps? Frankly, I'm not a fan of clustered markers at all. They look fanzy, but tend to obscure the information you are looking for. Especially on the Pedigree Map clustering doesn't make sence. I want to see the distribution of my ancestors, but zooming in to split the markers, takes me to a "corn field" showing a lot of crossing lines, and is not much informative. Trying to follow the lines is impossible, and zooming out.... will cluster the markers again. Probably starting a fire here, but personally I would drop the clustering. Could it be made optional?
Moved from https://github.com/fisharebest/webtrees/issues/3335