mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.09k stars 2.21k forks source link

Offscreen Markers clustering on map horizon when tilted #11375

Open fooldome opened 2 years ago

fooldome commented 2 years ago

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

ryanhamley commented 2 years ago

Can you provide a minimal reproduction of the bug using a site like JSFiddle or CodePen?

fooldome commented 2 years ago

I see the same behaviour on this example https://docs.mapbox.com/mapbox-gl-js/example/custom-marker-icons/ So I assume the issue is with using custom icons.