mapbox / mapbox/mapbox-maps-ios

symbolZElevate not working with models

Open
#2,085 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

## Environment

- Xcode version: 15.1
- iOS version: 17.2
- Devices affected: All
- Maps SDK Version: 11.0.0

## Observed behavior and steps to reproduce

When I add a symbol and a model at the same center coordinate, then tilting the map, the symbol does not appear above the model.

layer.symbolZOrder = .constant(SymbolZOrder.auto)
layer.symbolPlacement = .constant(SymbolPlacement.point)
layer.symbolZElevate = .constant(true)

https://github.com/mapbox/mapbox-maps-ios/assets/109214745/042d7d20-30f4-4790-969d-3127ae39a6e5

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 reproducing the issue with a symbol and model at the same center coordinate, using the stated Xcode, iOS, and Maps SDK versions and the symbolZElevate configuration shown. Trace the symbol/model rendering entry points; done means the symbol appears above the model when the map is tilted, with coverage for the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
computer-graphics, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.