I think I see the issue: https://github.com/mapbox/mapbox-gl-native/blob/c3bf7c55a1f648e57c3853d555ff5f63c989f8c4/src/mbgl/text/placement.cpp#L233-L236 https://github.com/mapbox/mapbox-gl-native/blob/c3bf7c55a1f648e57c3853d555ff5f63c989f8c4/src/mbgl/text/placement.cpp#L241-L244 Duplicate labels get the defaultOpacityState when they should always be hidden.
@tobrun is it easy for you to check if https://github.com/mapbox/mapbox-gl-native/commit/c4176633b64cfa53939a5495dfb7360f2a00c167 fixes it? otherwise I can try to build an example to actually reproduce.
@ChrisLoer does that fix look right? would it regress some case I'm not thinking about?
@ansis Yeah that change looks right to me, I'm surprised we didn't notice it earlier.
We have to make the same fix here:
I'm trying to think through what's going to regress from this... since it's a regression itself from the flickering fixes!
Confirmed that @ansis's fix (with a fix-to-fix to make sure duplicate symbols are _always_ hidden) gets rid of the duplicate marker artifact in @tobrun's SimpleMapActivity example.
Most helpful comment
Confirmed that @ansis's fix (with a fix-to-fix to make sure duplicate symbols are _always_ hidden) gets rid of the duplicate marker artifact in @tobrun's
SimpleMapActivityexample.