mapbox / mapbox-gl-geocoder

Geocoder control for mapbox-gl-js using Mapbox Geocoding API
https://mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder/
ISC License
362 stars 181 forks source link

Extra line shown in the map #486

Open BugalloF opened 1 year ago

BugalloF commented 1 year ago

Hello everyone, I'm trying to fix a bug on a project where I'm connecting differents cities around the world by their coord. The problem, as the images shows, is that one city always (or almost always) shows an extra horizontal line like going around the world. But if i change the longitude to a value higher than -64 this extra line disappears, like the second image, but now, the coordinates are wrong. Always happen in the same city, and it's fix only modifying longitude. Any sugestion? Thanks in advance.

Captura de pantalla de 2023-01-25 15-46-42 Captura de pantalla de 2023-01-25 15-47-20