-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Can't seem to add Markers #8718
Comments
@neonwarge04 I was experiencing a similar issue on certain devices. Once I upgraded to version |
@adavis, I need to further test this, currently migrating from v4.2.2. Jumping from map to map, I remove unseen markers and when I return to my previous view, my markers refused to load back again. Indeed, the performance usability on v5.0.2 greatly improved. |
@neonwarge04 , thanks for this ticket and #8704 . I'm on the Mapbox Android team and will look into this. Also, you might've already come across it, but I want to make sure you've seen our guide to upgrading from 4.x –> 5.x. Thanks for your patience.... |
Seeing the same thing. |
@hanspeide, but does it flicker? |
@neonwarge04 Related to the issue in OP, I believe not showing of these markers seems to be related to invalidation. A simple reproduce case is shown in #8833. All issues above are added to next milestone for further investigation. |
Platform Android
Mapbox SDK version: 4.2.2
Steps to trigger behavior
addMarker
oraddMarkers
MapBoxMap#getMarkers().getSize()
, it increases by 1 since I add a new markerExpected behavior
addMarker
Actual behavior
2. I added a pin and did not appear on the map. I restarted the map and my marker was actually there.
I am using the following code for adding a pin:
Here is how I delete it:
My previous concern was closed because its a "how question" (#8704). How can this be "how question" and should directed to StackOverflow? If I did this on StackOverflow you will say I should post this on GitHub.
Thanks!
The text was updated successfully, but these errors were encountered: