mapbox / mapbox-gl-native-ios

Interactive, thoroughly customizable maps for iOS powered by vector tiles and OpenGL
https://www.mapbox.com/mobile/
Other
210 stars 121 forks source link

visibleAnnotations occasionally returns 0 entries, when an annotation is visible. #306

Open julianrex opened 6 years ago

julianrex commented 6 years ago

Platform: macOS Mapbox SDK version: https://github.com/mapbox/mapbox-gl-native/tree/jrex-macosapp-visible-annotations

Steps to trigger behavior

  1. Checkout the above branch
  2. Add a annotation
  3. Repeat moving the annotation offscreen and then back on screen, then select the debug menu entry Show Visible Annotation Count and watch the log. Occasionally you'll see it read 0.

Short-lived video of the above: http://c.rxy.me/2w3n3T373v0T

Expected behavior

Annotation count should be 1 when the annotation is on screen.

cc @ChrisLoer

julianrex commented 6 years ago

This seems to be caused by the same underlying issue as mapbox/mapbox-gl-native#11275.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

julianrex commented 5 years ago

Needs re-confirming.

stale[bot] commented 5 years ago

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.