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.

Annotation callout closes automatically when changing the viewport #3154

Closed

Description

@incanus

Android now does this.

Complicated by the fact that SMCalloutView doesn't support a move API, just a placement/initial layout. On raster we used to use this repeatedly during viewport changes to sync up, but it became non-performant as of last check.

Refs #1125 #2412

Activity

  1. added
    GL JS parity
    iOS
    performance
    on Nov 30, 2015
  2. changed the title [-]leave annotation callout open during pans & zooms[/-] [+]leave iOS annotation callout open during pans & zooms[/+] on Nov 30, 2015
  3. 1ec5 commented on Nov 30, 2015

    @1ec5
    Contributor

    Also leave it open when the user location changes: #2618.

  4. silviokuehn commented on Mar 4, 2016

    @silviokuehn

    I have the same problem. Auto-closing of the annotation callouts after the map was moved (by app or manually by user interaction) seems to be a bad user experience. Moreover when you have a click event (button) within the callout bubble and user did a little bit move the finger while clicking, the pop-up disappears and the click event was not triggered.

    As a workaround we tried a re-select of last selected annotation after a map move but that does not work really good.

  5. added this to the ios-v3.3.0 milestone on Mar 18, 2016
  6. changed the title [-]leave iOS annotation callout open during pans & zooms[/-] [+]Annotation callout closes automatically when changing the viewport[/+] on Jul 8, 2016
  7. removed
    performance
    on Aug 15, 2016
  8. added
    MapKit parity
    and removed
    GL JS parity
    on Aug 15, 2016
  9. 1ec5 commented on Oct 7, 2016

    @1ec5
    Contributor

    As demonstrated by #1582, all we need to do is set self.calloutViewForSelectedAnnotation.frame, potentially inside a UIView animation block, instead of closing the callout view as we do now.

  10. 1ec5 commented on Dec 5, 2016

    @1ec5
    Contributor

    Fixed in #6676 on the v3.4.0 release branch.

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

    MapKit paritybugiOS

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions