mapbox / mapbox/mapbox-maps-android

No way to add click listener to PointAnnotationGroup

Open
#2,622 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

## Environment

- Maps SDK Version: 11.10.3

## Observed behavior and steps to reproduce

- PointAnnotationGroup with `onClick` parameter is marked as deprecated. There exists no way to define a click listener on a PointAnnotationOption. Switching to the non-deprecated PointAnnotationGroup removes the ability to define click listeners for points within a PointAnnotationGroup.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PointAnnotationGroup and PointAnnotationOption APIs and comparing the deprecated group's onClick parameter with the non-deprecated API. Confirm how click events are currently exposed for grouped points, then define completion as providing an equivalent click-listener path without relying on the deprecated parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.