You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Annotations inappropriately disappear en masse based on zoom #10845
CoreThe cross-platform C++ core, aka mbglannotationsAnnotations on iOS and macOS or markers on AndroidbugiOSMapbox Maps SDK for iOSrelease blockerBlocks the next final release
On master circa 10a4405 (pre-ios-v4.0.0), zooming in/out of a map with 10,000 sprite annotations can cause virtually every annotation to inappropriately disappear.
Add 10,000 sprite annotations in iosapp.
Zoom several levels in and out — annotations will disappear and then mostly never reappear.
If you quickly zoom in to ~z11 and then out to ~z4, it’s possible to have a single annotation remaining (out of the 10k that should be visible). In general, this appears to be happening within individual tiles.
Does this issue reproduce only with annotations, or does it also reproduce with symbols in a symbol layer? Collision detection was overhauled in #10436 on master; could that be related?
Collision detection was overhauled in #10436 on master; could that be related?
Yeah, I think so, although I'm not super familiar with how Annotations are implemented -- basically a SymbolAnnotation should behave like an icon feature, right? @ansis, this makes me think "inappropriate CrossTileSymbolIndex duplicate detection" -- does this ring any bells with the work you're doing right now?
CoreThe cross-platform C++ core, aka mbglannotationsAnnotations on iOS and macOS or markers on AndroidbugiOSMapbox Maps SDK for iOSrelease blockerBlocks the next final release
Activity
1ec5 commentedon Jan 5, 2018
Does this issue reproduce only with annotations, or does it also reproduce with symbols in a symbol layer? Collision detection was overhauled in #10436 on master; could that be related?
ChrisLoer commentedon Jan 5, 2018
Yeah, I think so, although I'm not super familiar with how Annotations are implemented -- basically a
SymbolAnnotationshould behave like an icon feature, right? @ansis, this makes me think "inappropriate CrossTileSymbolIndex duplicate detection" -- does this ring any bells with the work you're doing right now?jfirebaugh commentedon Jan 6, 2018
Symbol annotations use a symbol layer with
"icon-allow-overlap": trueand"icon-ignore-placement": true.Another potential culprit is ac32b41.
ChrisLoer commentedon Jan 9, 2018
I can reproduce this on the commit before ac32b41.
kkaefer commentedon Jan 9, 2018
I believe ac32b41 isn't at fault here, since I can observe the same behavior in the commit immediately preceding it.
ChrisLoer commentedon Jan 9, 2018
Bisected to #10436.
ChrisLoer commentedon Jan 10, 2018
#10899 appears to fix this (I've tested on macosapp and a simulated iphone 6s so far).