mapbox / mapbox/supercluster

Question: Leaflet + Supercluster: L.marker's autoPan not working

Open
#164 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
2.4k
Forks
304
PR merge metrics
No merged PRs in 30d

Description

Dear all,
First of all, I'd like to thank you guys for this really cool library!

I have a question regarding the use of supercluster in combination with leaflet. I placed the question including a minimal reproducible example on stackoverflow https://stackoverflow.com/questions/63056141/leaflet-supercluster-l-markers-autopan-not-working.

Is there a way to get an autoPan for L.marker's used with supercluster? I guess if there is some sort of workaround, this would be within leaflet. So probably this is not the right place to ask this question. Anyway, maybe you guys have some hints how to solve it (if it is possible). Any help is appreciated.

Cheers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal reproducible example linked in the issue's Stack Overflow question and review how Leaflet L.marker is combined with Supercluster. Determine whether autoPan support belongs in Leaflet or Supercluster; done would mean a confirmed workaround or a clear explanation of the responsible project.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.