Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since Version v10.18.4 using two PointAnnotationManager ends with MapClickListener not working anymore #2578

Open
Toprakete opened this issue Feb 20, 2025 · 0 comments
Labels
bug 🪲 Something isn't working

Comments

@Toprakete
Copy link

Hi,
I wanted to update our application from mapbox sdk version 10.15.0 to version 10.19.0.
After this i checked that the map click does not fire. I tried all versions starting with 10.15.0 till I found that with 10.18.4 the behaviour changed and click does not react.

Observed behavior and steps to reproduce

I use two PointAnnotationManager, one for my data annotations and one for the current position symbol.

AnnotationConfig amgrConf = new AnnotationConfig(null,"AnnotationManager",null,null);
m_annotationMgr = (PointAnnotationManager) ap.createAnnotationManager(AnnotationType.PointAnnotation,amgrConf);
m_userLocationMgr = (PointAnnotationManager) ap.createAnnotationManager(AnnotationType.PointAnnotation,null);

When I remove the second PointAnnotationManager, the click fires again.

How can I use both PointAnnotationManager and still get the map click?

Environment

  • Android OS version: <15
  • Devices affected: all
  • Maps SDK Version: 10.18.4

Expected behavior

Using two PointAnnotationManager map click works further

Notes / preliminary analysis

Additional links and references

@Toprakete Toprakete added the bug 🪲 Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant