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.

-[MGLMapViewDelegate mapView:viewForAnnotation:] causes assertion failure if upgrading from v3.3.x #6100

Closed

Description

@1ec5

Prior to #5882, -[MGLMapViewDelegate mapView:viewForAnnotation:] was only called for “user-contributed” annotations, never for the user location annotation. Now that it’s additionally called for the user location annotation, the most obvious implementation of this method will trip this assertion unless MGLUserLocationAnnotationView or a user-contributed annotation class is specifically accounted for. Instead of asserting, we should simply ignore the returned annotation view. We can consider making it a hard assertion in a future release.

/cc @friedbunny @frederoni

Activity

  1. added
    iOS
    annotations
    release blocker
    on Aug 20, 2016
  2. added this to the ios-v3.4.0 milestone on Aug 20, 2016
  3. self-assigned this
    on Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

annotationsbugiOSrelease blocker

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions