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

Some places are not shown until you zoom in #22

Open
lorenzoPrimi opened this issue Mar 13, 2023 · 1 comment
Open

Some places are not shown until you zoom in #22

lorenzoPrimi opened this issue Mar 13, 2023 · 1 comment

Comments

@lorenzoPrimi
Copy link
Contributor

Happens in area with many pins closeby

@salvatoto
Copy link
Collaborator

salvatoto commented Apr 14, 2023

@lorenzoPrimi This is because of the Cluster library I'm using: https://github.com/efremidze/Cluster. I had to switch to it from standard MapKit clustering because for some reason MapKit clustering isn't great and the map UI would freeze when zoomed out because of too many annotations.

There might be some settings to play with with Cluster to get a better experience, but from my experience with MapKit clustering we need to use Cluster.

Other solutions:

  • Some other 3rd-party clustering library
  • We implement smarter logic on what annotations to put on the map. Right now we just add all of them and let the engine figure it out. However, this works relatively well with Cluster and implementing our own logic could be a lot of work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants