mapbox-maps-ios
mapbox-maps-ios copied to clipboard
Point annotations are not added while in the background
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.