mapbox / mapbox/mapbox-arkit-ios
Min annotation scale
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 227
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am using to show locations that have distances a number of kilometers away , example 10kms, because of the distance the annotation is not visible. I have been capping the distance, in MBanchor class, so the annotation remains visible this works but what happens is i am able to walk up to the point quickly then pass it even though it is kilometers away.
So the question how to set a minimum size for an annotation, i have tried changing the scale of the scnplane in the annotationmanager but that didnt work.
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 MBanchor class and the annotationmanager, then inspect how the SCNPlane scale relates to distance and annotation visibility. The issue is resolved when an annotation remains visible at kilometer distances without capping the distance, while still allowing movement past the point naturally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- ar-vr-xr, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100