mapbox / mapbox/mapbox-gl-geocoder
Extra line shown in the map
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
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.


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reproducing the reported city case and compare the map when its longitude is below and above -64, using the two linked screenshots as references; done means identifying why the extra horizontal line appears and confirming the issue without altering the coordinates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100