You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
A few months ago I reported an issue with onMarkerClick #11795. Since then, I downgraded to v5.2.0 to avoid this problem, and since a week, I upgraded again to v6.4.0 in hope that problem was solved this time.
A few users are reporting to me (f.e. users with a Galaxy A5 - Android 8.0) they can't click a marker, so on some devices, onMarkerClick is never fired (or in some cases the event is fired but on another marker than the one who has clicked). I can't reproduce this issue on my own devices.
This is a very annoying problem that has been dragging on for months. Is the only way to downgrade again tot v5.2.0?
In my case, I draw custom markers on map. Each time user drags the map, all markers are cleared and drawed again in the new bounding box.
Would you be able to share the icons you are adding to your map or the dimensions of these images?
With #12482 we improved click handing of markers by taking in account marker detection when small icons are shown and it should resolve the issue you are having. Would love to get this resolved for you @nijs9! Looking forward to your response.
A few months ago I reported an issue with onMarkerClick #11795. Since then, I downgraded to v5.2.0 to avoid this problem, and since a week, I upgraded again to v6.4.0 in hope that problem was solved this time.
A few users are reporting to me (f.e. users with a Galaxy A5 - Android 8.0) they can't click a marker, so on some devices, onMarkerClick is never fired (or in some cases the event is fired but on another marker than the one who has clicked). I can't reproduce this issue on my own devices.
This is a very annoying problem that has been dragging on for months. Is the only way to downgrade again tot v5.2.0?
In my case, I draw custom markers on map. Each time user drags the map, all markers are cleared and drawed again in the new bounding box.
When map is Idle I draw some markers:
In showVisibleNodesOnMap I clear all current markers and draw new markers in the new bounding box:
And this is the markerclick event:
Steps to reproduce
Expected behavior
Marker click event does the job.
Actual behavior
On some devices (f.e. Galaxy A5 - Android 8.0) click event is not triggered, or sometimes triggered on another marker than the one who has clicked.
Configuration
Android versions: 8.0
Device models: Galaxy A5
Mapbox SDK versions: 6.4.0
The text was updated successfully, but these errors were encountered: