mapbox / mapbox/mapbox-maps-android
Layerposition lineLayer & symbolLayer when zoomed far out changes/wrong
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Environment
- Android OS version: 34
- Devices affected: all
- Maps SDK Version: 11.4.0
Observed behavior and steps to reproduce
I am adding multiple symbol and line layers with addLayerBelow. When zoomed out (zoomlevel < 6 or 7) the order of the layer suddenly changes, so that all symbolLayers are above all lineLayers. Zoomed further in, everything is fine.
This also happens if i clearly add change add a lineLayer with addAbove (all others). Symbol layers will still show above line layers when zoomed out.
Expected behavior
Keep position of layers on all zoom levels
Additional links and references
Can provide additional data.
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 issue on Android with Maps SDK 11.4.0, using multiple symbol and line layers added with addLayerBelow and addAbove. Check behavior below zoom level 6 or 7; done means layer ordering remains consistent across zoom levels, including when zooming far out.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- computer-graphics, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100