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.

[Android] Dispatch touch event from MarkerView to MapView #5388

Closed

Description

Platform: Android
Mapbox SDK version: 4.1.0-beta.2

Steps to trigger behavior

I tried to use MarkerView instead of Marker. When I want to scroll the map, if I touch a marker view, the scroll doesn't work. See here:
ezgif com-video-to-gif 1

Expected behavior

When I begin to scroll the map with a finger on a MarkerView, the touch should be delegated to the map.

Activity

  1. tobrun commented on Jun 17, 2016

    @tobrun
    Member

    @Hugoo13 thank you for reaching out. You are correct that this behaviour isn't right. Will try patching this up and go for the same approach as with iOS. eg. handling click in core instead of the View object itself.

  2. added
    Android
    on Jun 17, 2016
  3. added this to the android-v4.1.0 milestone on Jun 17, 2016
  4. added
    annotations
    on Jun 17, 2016
  5. removed this from the android-v4.1.0 milestone on Jun 23, 2016
  6. tobrun commented on Jun 23, 2016

    @tobrun
    Member

    I'm removing this from the 4.1.0 milestone, change impacts the code a bit too much just before release.

  7. tobrun commented on Jul 7, 2016

    @tobrun
    Member

    Looking into this now, solution will be to let core determine pressed marker views instead of using the Android SDK onClick event.

  8. added a commit that references this issue on Jul 11, 2016
  9. tobrun commented on Jul 11, 2016

    @tobrun
    Member

    I'm working on a proposed solution in #5639

  10. added this to the android-v4.2.0 milestone on Aug 5, 2016
  11. self-assigned this
    on Aug 16, 2016
  12. added a commit that references this issue on Aug 17, 2016
  13. tobrun commented on Aug 22, 2016

    @tobrun
    Member

    This is on hold to merge until underlying logic is being sorted out

  14. tobrun commented on Sep 30, 2016

    @tobrun
    Member

    Explicitly noting that this issue depends on #6055 getting resolved first

  15. tobrun commented on Oct 25, 2016

    @tobrun
    Member

    #6773 got merged to resolve #6055, going to rebase my PR in #5639 and see if it still works.

  16. tobrun commented on Oct 25, 2016

    @tobrun
    Member

    #5639 was merged, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidannotationsbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions