mapbox / mapbox/mapbox-maps-ios
Cannot add features after remove features
Open
Nobody has claimed this yet.
auto-triaged
bug :beetle:
v11
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
Environment
- Xcode version: 15.1
- iOS version: 17.2
- Devices affected: iPhone 15
- Maps SDK Version: 11.0.0
Observed behavior and steps to reproduce
Calling removeGeoJSONSourceFeatures and then calling addGeoJSONSourceFeatures will not add the new features to the source. It works without issues if I set a delay between the calls.
Expected behavior
The new features should be added to the source without the need to set a delay.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with removeGeoJSONSourceFeatures followed immediately by addGeoJSONSourceFeatures in an iOS app using Maps SDK 11.0.0. Trace the GeoJSON source feature-update path and verify that newly added features appear without adding a delay between the calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100