mapbox / mapbox/mapbox-maps-ios
Update coordinates of ImageSource
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
- Xcode version: 14.1
- iOS version: 16.1
- Devices affected:
- Maps SDK Version: 10.9.0-beta.1
## Observed behavior and steps to reproduce
ImageSource does not have update coordinates method. We can only update image using mapView.mapboxMap.style.updateImageSource(withId: <#T##String#>, image: <#T##UIImage#>) method
## Required
ImageSource should have update coordinates method. How to update ImageSource coordinates after adding ?
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 with the ImageSource API and the mapView.mapboxMap.style.updateImageSource(withId:image:) entry point described in the issue. Determine how coordinates should be updated after the source is added, and verify that an ImageSource can change coordinates without replacing the image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100