mapbox / mapbox/mapbox-maps-ios

Add 3D Annotations

Open
#414 3 comments 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged feature :green_apple:
Dominant language
Swift
Stars
601
Forks
196
PR merge metrics
No merged PRs in 30d

Description

## 3D Annotations

Create a `3DPointAnnotation` that takes a `CLLocation` object at initialization.

3DPointAnnotation(
location: CLLocation(
coordinate: CLLocationCoordinate2D(latitude: 0, longitude: 0),
altitude: 500
))

This `3DPointAnnotation` (or `Line`, or `Polygon`) would be integrated into the rendering of the 3D view. The annotation would respect obstruction caused by terrain. It would have to be considered as dependant on the terrain `exaggeration` property too.

## Why
This feature is valuable for depicting locations that are above ground level, like the 30th floor of a building, or a 3d geometric shape surrounding a meteorological entity, like a hurricane.

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

No files or tests are identified. Start by tracing the existing 3D view rendering and annotation integration, then determine how a CLLocation-backed point, line, or polygon can participate in that pipeline. Done means 3D annotations render above terrain while respecting terrain obstruction and terrain exaggeration.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
computer-graphics, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.