mapbox / mapbox/mapbox-gl-js

Offscreen Markers clustering on map horizon when tilted

Open
#11,375 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

When I zoom into my 3D elevated map so that some markers are offscreen, those that should simply be no longer visible are instead jumping and clustering to a single position on the edge of the map, most notably when tilting the viewpoint to see the horizon.

Might this be a known bug with any solution?

![PinBug](https://user-images.githubusercontent.com/17354580/148403310-28142a64-5691-45f1-8d49-e6bc236ab518.jpg)

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 by reproducing the issue with an elevated 3D map, offscreen markers, zooming, and a tilted viewpoint. Trace the marker positioning and clustering behavior for markers beyond the visible horizon; done means offscreen markers are hidden instead of jumping to or clustering at the map edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
computer-graphics, frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.