Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic map-marker clustering #3

Open
carlsverre opened this issue Apr 4, 2022 · 0 comments
Open

Dynamic map-marker clustering #3

carlsverre opened this issue Apr 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@carlsverre
Copy link
Contributor

Currently the maps limit the amount of markers they show. This results in not showing all of the data when the limit is reached. A solution is to perform some kind of clustering when querying SingleStore. A rough sketch of how this might work follows:

  • first query to determine the number of markers visible in the given bounds
  • if over the limit - alter the query to cluster markers together
    • consider using plus codes to help with this... if the initial query returns count grouped by plus code at resolution 8, the followup clustering query could use that information to either cluster at the 6, 8, or 12 level based on how the markers are naturally clustered
@carlsverre carlsverre added the enhancement New feature or request label Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant