mapbox / mapbox/mapbox-arkit-ios

Min annotation scale

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.