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.

Allow defining a padding for bounds with View Marker invalidation #5440

Closed

Description

@tobrun

Currently we use the bounds of the map itself to invalidate View Markers in bounds. This underneath uses getPointAnnotationsInBounds. There are cases (eg. big icons) where these bounds are not ideal. You need to scroll an extra bit before the annotation appears. We should be able to increase the bounds by default and look into making this configurable.

Activity

  1. added
    AndroidMapbox Maps SDK for Android
    annotationsAnnotations on iOS and macOS or markers on Android
    on Jun 22, 2016
  2. tobrun commented on Mar 1, 2017

    @tobrun
    MemberAuthor

    in #8206 @kingfisherphuoc shows that using an negative margin on the MapView impacts the size of MarkerView invalidation. This should be taking in account when picking up this issue.

  3. tobrun commented on Sep 27, 2017

    @tobrun
    MemberAuthor

    MarkerView is going to be deprecated with #9782. We are no longer maintaining this API and will remove it in future versions of the SDK. As noted in the deprecation message. We are advising users to leverage SymbolLayer instead (you can use the sample code in #9782 to convert Android SDK views to an Image to be used as a Symbol). While we no longer maintain the API we are happy to accept any PRs on it.

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

    AndroidMapbox Maps SDK for AndroidannotationsAnnotations on iOS and macOS or markers on Androidfeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions