You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
-[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:] error is uninformative #8398
CoreThe cross-platform C++ core, aka mbglMapKit parityFor feature parity with MapKit on iOS or macOSiOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOSrefactor
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.
CoreThe cross-platform C++ core, aka mbglMapKit parityFor feature parity with MapKit on iOS or macOSiOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOSrefactor
Activity
brunoabinader commentedon Mar 15, 2017
👉 #8418.
jfirebaugh commentedon Mar 15, 2017
Is this a duplicate of #8086?
1ec5 commentedon Mar 16, 2017
Yes indeed!