mapbox / mapbox/mapbox-maps-ios

Symbol Layers blink at mid zoom level

Open
#2,394 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
Dominant language
Swift
Stars
601
Forks
196
PR merge metrics
No merged PRs in 30d

Description

Hi Mapbox,

we have another question, it's not crazy serious, but it's been there for a while and maybe there is a fix we do not know about?

Our symbol layers flicker as in video at a certain zoom level:
https://findpenguins.com/Mapbox-Flickering.mp4

The exact same happens in Android AND iOS.
Zoomlevel when it occurs: When the smaller roads appear, our symbol layers blink, some even fade out-in quickly.

Newest MapBox SDK versions.

Symbollayer is not really added any special, layer + source.
```
val layer = symbolLayer(layerId, sourceId) {
iconImage(Expression.get(ICON_IMAGE_ID))
iconRotate(Expression.get("icon-rotation"))
iconAnchor(IconAnchor.CENTER)
iconAllowOverlap(true)
iconIgnorePlacement(true)
}
```

Any help would be appreciated!

Best,
Tobias

P.S. Sometimes our symbol layers also disappear entirely on a simple map drag. This only happens around this exact zoom level.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no repository file or test. Start by reproducing the flicker and disappearance at the zoom level where smaller roads appear, using the supplied video and symbol-layer configuration; compare behavior across the reported iOS and Android SDKs. Done means the zoom-level rendering issue has a confirmed cause and a verified fix or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, swift
Domain
computer-graphics, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.