mapbox / mapbox/mapbox-maps-ios
My location puck icon glitch with random style
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
Xcode version: 14.3.1
iOS version: 16.6
Devices affected: All
Maps SDK Version: 10.7
**Observed behavior and steps to reproduce**
After downloading map we have tutorial screen and we guide user to navigate to reach our location through opening google / apple map direction. While this process running we load map screen in background and when app come from background to foreground very first time it show pink icon for user puck (My location). This puck icon randomly display pink square but if close map and open again it was work as expected. I'm looking for help to resolved this issue.
I observed that before upgraded iOS 16.6 this was working fine.
Here is reference screenshot when random pink icon display on screen

**Expected behaviour**
> Map should load smoothly and location puck icon should be display.
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
Begin by reproducing the issue with Maps SDK 10.7 on iOS 16.6: download the map, leave the map screen in the background while opening directions, then return to the app. Compare the first foreground load with reopening the map; done means the location puck displays correctly without the pink square.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- computer-graphics, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100