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.

Marker info window offset not working correctly #6859

Closed

Description

@cammace

When creating a marker and using mapboxMap.selectMarker() while the markers not in view will result in the info window not being positioned correctly.

cc: @mapbox/android

Activity

  1. added
    Android
    on Oct 31, 2016
  2. added this to the android-v4.2.0 milestone on Oct 31, 2016
  3. tobrun commented on Nov 1, 2016

    @tobrun
    Member

    To make this work we will have to either dynamically recalculate the offset or we need to make InfoWindow a part of our ViewMarker API (this will allow view recycling and calculating the offset only when the views becomes visible on screen).

  4. tobrun commented on Nov 2, 2016

    @tobrun
    Member

    Instead of approaches mentioned above.
    Not calculating offsets when the Marker is not on screen seems to give the required UX.

    For example:

    ezgif com-video-to-gif 72

  5. self-assigned this
    on Nov 2, 2016
  6. cammace commented on Nov 2, 2016

    @cammace
    ContributorAuthor

    This was fixed in #6877, closing

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

Metadata

Metadata

Assignees

Labels

Androidbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions