PointAnnotationManager.addOnPointAnnotationClickListener is shared between all PointAnnotationManagers
When creating multiple PointAnnotationManager and adding OnPointAnnotationClickListener to them I found that only the last listener is called. This is especially counter intuitive since the listener is added to the individual AnnotationManager but click listeners are apparently shared at the map level.
Hi @j-bbr, could you provide which MapboxMaps SDK version are you using? We have recently addressed an issue with annotation's click listener being registered without channel suffix here, this fix is released in our v2.4.1. If you are using an older version of our SDK, please update to use the latest one, if not, please let me know here and I will create a ticket and work on it asap
Hi, @maios I am on version 2.5.0
Seeing this same issue with 2.6.0 @maios. This is a blocking bug stopping us from releasing :(
Any update on this one?
Ended up changing the implementation to not use the PointAnnotationManager at all and instead add points to the map using style layers and GeoJson
@brandon-watkins-avcrm can you please provide the docs link for using styles and GeoJson or any example?