You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the DefaultClusterRenderer the constant NonHierarchicalDistanceBasedAlgorithm.MAX_DISTANCE_AT_ZOOM is used.
Is this a problem?
For me this is a problem, since I would like to make the MAX_DISTANCE_AT_ZOOM configurable. So I can control the "granularity of clusters".
Furthermore I am wondering how this works when using the GridBasedAlgorithm? I guess it is just working because GridBasedAlgorithm.GRID_SIZE has the same value as NonHierarchicalDistanceBasedAlgorithm.MAX_DISTANCE_AT_ZOOM... or am I overlooking something here?
Would it be an approach to introduce a method getMaxDistanceAtZoom on Algorithm and then inject an Algorithm into the DefaultClusterRenderer?
I could do that and issue a Pull-Request ...
The text was updated successfully, but these errors were encountered:
Currently I achieve this by defining a custom algorithm with the code of the NonHierarchicalDistanceBasedAlgorithm, I just changed the MAX_DISTANCE_AT_ZOOM value.
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!
In the DefaultClusterRenderer the constant NonHierarchicalDistanceBasedAlgorithm.MAX_DISTANCE_AT_ZOOM is used.
Is this a problem?
For me this is a problem, since I would like to make the MAX_DISTANCE_AT_ZOOM configurable. So I can control the "granularity of clusters".
Furthermore I am wondering how this works when using the GridBasedAlgorithm? I guess it is just working because GridBasedAlgorithm.GRID_SIZE has the same value as NonHierarchicalDistanceBasedAlgorithm.MAX_DISTANCE_AT_ZOOM... or am I overlooking something here?
Would it be an approach to introduce a method getMaxDistanceAtZoom on Algorithm and then inject an Algorithm into the DefaultClusterRenderer?
I could do that and issue a Pull-Request ...
The text was updated successfully, but these errors were encountered: