Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@friedbunny

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.

  1. Add 10,000 sprite annotations in iosapp.
  2. Zoom several levels in and out — annotations will disappear and then mostly never reappear.

Check out this video for a demonstration.

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.

sprites_gonezo
Annotations have gonezo.

/cc @mapbox/gl-core @akitchen @fabian-guerra @lilykaiser

Activity

  1. added
    annotations
    Core
    iOS
    on Jan 5, 2018
  2. added
    release blocker
    on Jan 5, 2018
  3. added this to the milestone on Jan 5, 2018
  4. 1ec5 commented on Jan 5, 2018

    @1ec5
    Contributor

    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?

  5. ChrisLoer commented on Jan 5, 2018

    @ChrisLoer
    Contributor

    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?

  6. jfirebaugh commented on Jan 6, 2018

    @jfirebaugh
    Contributor

    Symbol annotations use a symbol layer with "icon-allow-overlap": true and "icon-ignore-placement": true.

    Another potential culprit is ac32b41.

  7. ChrisLoer commented on Jan 9, 2018

    @ChrisLoer
    Contributor

    I can reproduce this on the commit before ac32b41.

  8. kkaefer commented on Jan 9, 2018

    @kkaefer
    Member

    I believe ac32b41 isn't at fault here, since I can observe the same behavior in the commit immediately preceding it.

  9. self-assigned this
    on Jan 9, 2018
  10. ChrisLoer commented on Jan 9, 2018

    @ChrisLoer
    Contributor

    Bisected to #10436.

  11. ChrisLoer commented on Jan 10, 2018

    @ChrisLoer
    Contributor

    #10899 appears to fix this (I've tested on macosapp and a simulated iphone 6s so far).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CoreannotationsbugiOSrelease blocker

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions