mapbox-gl-js
mapbox-gl-js copied to clipboard
Markers on globes in zoomlevels between 5 and 6 loose their position map edges
mapbox-gl-js version: 3.1.2 and 3.2.0 beta
browser: Chrome on Mac
Steps to Trigger Behavior
- Place a marker on a Mapbox globe (not Mercator) new mapboxgl.Marker({}).
- Ideally do it on a map, that is very wide and not too high.
- Zoom the map until the zoom level reaches a fractional number between 5 and 6. It occasionally happens, that the zoom levels are fractional, so not rounded to 5 or 6, the bug only occurs on zoomlevels in that range, like 5.3723568348.
- When moving the globe map now (by mouse drag), the markers move away from their position at the left and right edge of the map.
Thanks for such a great API.