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.

Implement MapChangeDidFailLoadingMap event notification #2762

Closed

Description

@friedbunny

#630 got us willStartLoading and didFinishLoading, but MapChangeDidFailLoadingMap is somewhat more complicated and remains to be implemented.

This delegate method already exists on iOS and probably does on Android (@ljbade?), it's the core logic that needs doing.

/cc @jfirebaugh

Activity

  1. bleege commented on Oct 23, 2015

    @bleege
    Contributor

    /cc @mapbox/mobile

  2. 1ec5 commented on Oct 23, 2015

    @1ec5
    Contributor
  3. ljbade commented on Oct 23, 2015

    @ljbade
    Contributor

    This failure should also include malformed URLs

  4. ljbade commented on Oct 23, 2015

    @ljbade
    Contributor

    And yes Android plumbing is done

  5. friedbunny commented on Oct 23, 2015

    @friedbunny
    ContributorAuthor

    @1ec5 For iOS, this issue refers to mapViewDidFailLoadingMap:withError:, while #1804 is mapViewDidFinishRenderingMap:fullyRendered:NO. These both exist in MapKit, though I'm unsure what the effective difference is right now.

  6. bleege commented on Oct 26, 2015

    @bleege
    Contributor

    And yes Android plumbing is done

    @ljbade Could you provide a link to the issue / commit where this was done? That way we all can track this better in the future. 👍

  7. ljbade commented on Oct 26, 2015

    @ljbade
    Contributor

    The two relevant PRs are #2255 and #2591

    Although we will need to change the Android Javadoc for that event to indicate it is now implemented.

  8. bleege commented on Oct 27, 2015

    @bleege
    Contributor

    Cool! Thanks for the links @ljbade! Makes remembering what was done much easier. 👍

  9. added a commit that references this issue on Nov 18, 2015
  10. added
    MapKit parity
    on Aug 22, 2016
  11. tmpsantos commented on Aug 24, 2016

    @tmpsantos
    Contributor

    MapChangeDidFailLoadingMap is currently never emitted by mbgl-core. I'm proposing on #6142 to emit it at least when the style fails to load.

  12. friedbunny commented on Aug 31, 2016

    @friedbunny
    ContributorAuthor

    #6142 added this to core and #6145 finished up the iOS/macOS implementations.

    @tobrun, if you could confirm that DID_FAIL_LOADING_MAP is successfully received on Android and then update the docs, I think we can close this issue. 🙇

  13. added
    Android
    iOS
    on May 9, 2017
  14. tobrun commented on Jan 4, 2018

    @tobrun
    Member

    Confirming that this is implemented. Closing.

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

    AndroidMapKit parityfeatureiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions