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.

Point annotations disappear at low zoomlevels #5109

Closed

Description

@tobrun

When you zoom out, point annotations disappears. Zooming back in restores them.

ezgif com-video-to-gif 20

This was noticed on Android and was validated for iOS by @1ec5 with 3.3.0-alpha.3

Activity

  1. added
    Core
    on May 23, 2016
  2. added this to the ios-v3.3.0 milestone on May 23, 2016
  3. 1ec5 commented on May 23, 2016

    @1ec5
    Contributor

    These are GL point annotations, by the way.

  4. bleege commented on May 24, 2016

    @bleege
    Contributor

    Discussed internally with @tobrun @cammace today and this issue is a blocker for Android 4.1.0 FINAL release.

    /cc @mapbox/mobile @jfirebaugh @kkaefer @tmpsantos @brunoabinader

  5. added
    iOS
    Android
    on May 25, 2016
  6. tmpsantos commented on May 27, 2016

    @tmpsantos
    Contributor

    On it.

  7. tmpsantos commented on May 27, 2016

    @tmpsantos
    Contributor

    Found the commit that caused the regression: 4c62a55

    This is not only affecting annotations but also label density on low zoom levels:
    screenshot from 2016-05-27 17-27-45
    screenshot from 2016-05-27 17-28-45

    /cc @ansis

  8. bleege commented on May 27, 2016

    @bleege
    Contributor

    Awesome. Thanks @tmpsantos @ansis!

  9. jfirebaugh commented on May 27, 2016

    @jfirebaugh
    Contributor

    @tmpsantos Any idea what about 4c62a55 is causing the issue? (Let's assume that @ansis is focused on schoolwork.)

  10. tmpsantos commented on May 27, 2016

    @tmpsantos
    Contributor

    @jfirebaugh I'm investigating but seems to me some integer overflow or float to integer conversion making it full transparent.

    I was initially comparing to the code on JS trying to find anything wrong with the ported code but it seems fine.

  11. added a commit that references this issue on May 27, 2016
    9db75f1
  12. bleege commented on May 27, 2016

    @bleege
    Contributor

    @tmpsantos I just tested your fix in #5175 and can confirm that it solves this issue. Both markers (C and A) were visible at all zoom levels as well as when cycled on / off using the FAB (see screenshots below). I'm going to merge #5175 into master and then cherry pick the commit over to the release-android-v4.1.0 branch so that this fix gets into the nightly SNAPSHOTS as well as the final release. Thank you for fixing this!

    device-2016-05-27-160756

    device-2016-05-27-160811

  13. added a commit that references this issue on May 27, 2016
    623b81f
  14. bleege commented on May 27, 2016

    @bleege
    Contributor

    Cherry picked into Android's release-android-v4.1.0 branch.

    screen shot 2016-05-27 at 4 21 41 pm

  15. mpuchala commented on May 30, 2016

    @mpuchala

    @bleege @tobrun
    When can we expect new snapshot or beta-2 release with this fix?

  16. tobrun commented on May 30, 2016

    @tobrun
    MemberAuthor

    @mpuchala, thank you for reaching out. In normal circumstances you should be able to use the SNAPSHOT containing this fix. I just double checked the nightly builds and there seems to be a problem with building. I'm fixing this in #5187.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidCorebugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions