mapbox / mapbox/mapbox-arkit-ios

Vary the altitude for annotations?

Open
#26 2 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

When I have a lot of annotations next to each other, they occlude each other. I have tried passing a location with various altitudes when initializing each annotation but that does not seem to be taken into account when placing the annotation in 3D space. Will you have plans to use the altitude parameter of the location when placing the annotation? Alternatively you can make altitude grow with distance, i.e. farther annotations are displayed higher up in space.

Do let me know if this is already supported and I missed something or implemented incorrectly.

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 by locating the annotation placement logic and checking whether the location altitude is read when annotations are positioned in 3D space. Reproduce the occlusion with several nearby annotations, then determine and document whether altitude-based placement or distance-based height is the intended behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
ar-vr-xr, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.