mapbox / mapbox/mapbox-maps-ios
Layer color changes not rendered until map interaction in 11.18.x
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
Environment
- Xcode version: 26.2 (Build 17C52)
- iOS version: 18.0+
- Devices affected: iPhone (Simulator and Device)
- Maps SDK Version: 11.18.0, 11.18.1
Observed behavior and steps to reproduce
- Set a layer's color programmatically (e.g., fill color or line color)
- Observe that the layer color does not visually update on the map
- Pan or zoom the map
- The layer color now updates and displays correctly
The color change only renders after user interaction triggers a map redraw.
Expected behavior
Layer color changes should render immediately when the property is set, without requiring map interaction to trigger a visual update.
Works correctly in version 11.14.2.
Notes / preliminary analysis
Regression introduced between 11.14.2 and 11.18.0.
Additional links and references
- Last working version: 11.14.2
- Confirmed broken in: 11.18.0, 11.18.1
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
Start by reproducing the layer color update on iOS with Maps SDK 11.18.0 or 11.18.1, then compare the behavior with 11.14.2. Investigate the rendering path responsible for programmatic layer color changes; done means fill and line colors appear immediately without panning or zooming.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100