mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Point annotations are not added while in the background

Open slipdef opened this issue 9 months ago • 0 comments

Environment

  • iOS version: 18.1
  • Maps SDK Version: 11.9.2

Point annotations are not added while in the background. Totally unexpected behavior. We migrated from View Annotations and got this behavior. Also there is no API to tell somehow that we have stalled annotations and ask Mapbox to re-sync. We tried layoutMapIfNeeded() and reassigning pointAnnotations array, nothing helped. Clearly we can keep a queue of newly added annotations while in the background, and add them when app becomes active. But I would prefer to understand what Mapbox behavior causes that.

slipdef avatar Mar 25 '25 20:03 slipdef