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 views on macOS #5035

Closed
Closed

Description

@1ec5

The iOS and OS X versions of MGLMapView had nearly identical annotation implementations up until annotation views landed on iOS in #4801. @boundsj did a great job keeping the implementation clean, so porting it to OS X should mostly be a copy-paste job.

Along the way, it may be possible to directly share MGLAnnotationImage and MGLAnnotationView between the two SDKs in platform/darwin/ the way the other annotation classes are shared. The downside to sharing MGLAnnotationView would be limited Interface Builder support. We’d need to conditionally make MGLAnnotationView inherit from UIView on iOS and NSView on OS X with conditional compilation, yet IB lost the ability to understand preprocessor commands in Xcode 6.

Activity

  1. added
    macOS
    on May 14, 2016
  2. added
    annotations
    on May 17, 2016
  3. changed the title [-]Annotation views on OS X[/-] [+]Annotation views on macOS[/+] on Sep 26, 2016
  4. added
    archived
    on Nov 18, 2018
  5. stale commented on Nov 20, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  6. Zakalicious commented on Apr 29, 2020

    @Zakalicious

    Am I correct that MGLAnnotationViews have not made it into the 0.15.1 release of the macos SDK?

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

    annotationsarchivedfeaturemacOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions