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 mapViewDidFailLoadingMap:withError:] error is uninformative #8398

Closed

Description

@1ec5

The error passed into -[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:] is an uninformative error. We synthesize this generic error for compatibility with MapKit because mbgl doesn’t actually tell the SDK what went wrong. Per #8377 (comment), mbgl::MapObserver::onDidFailLoadingMap() should accept the error or error message as a parameter. This would allow all the SDKs – not only the iOS and macOS SDKs – to provide more information when the map fails to load for some reason.

/cc @brunoabinader @fabian-guerra

Activity

  1. added
    Core
    iOS
    macOS
    MapKit parity
    on Mar 14, 2017
  2. added this to the ios-v3.6.0 milestone on Mar 14, 2017
  3. brunoabinader commented on Mar 15, 2017

    @brunoabinader
    Contributor

    👉 #8418.

  4. jfirebaugh commented on Mar 15, 2017

    @jfirebaugh
    Contributor

    Is this a duplicate of #8086?

  5. 1ec5 commented on Mar 16, 2017

    @1ec5
    ContributorAuthor

    Yes indeed!

  6. removed this from the ios-v3.6.0 milestone on Mar 28, 2017
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

    CoreMapKit parityiOSmacOSrefactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions