mapbox / mapbox/mapbox-maps-ios

Map styles rendered incorrectly on iOS

Open
#2,089 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
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: Any iOS
  • Maps SDK Version: 11.0.0

Observed behavior and steps to reproduce

Customized map made in Mapbox Studio is rendered in different colors on iOS

Expected behavior

Maps are similar on each platform

Additional links and references

style preview url: https://api.mapbox.com/styles/v1/gospodbog/clqss7e5200n301qx26updlun.html?title=view&access_token=xxx&zoomwheel=true&fresh=true#15.91/48.858042/2.296867/60/50

Comparing same style URL rendered by web and ios sdk:

Simulator Screenshot - iPad (10th generation) - 2024-01-03 at 16 47 55
Simulator Screenshot - iPad (10th generation) - 2024-01-03 at 16 47 24
Simulator Screenshot - iPad (10th generation) - 2024-01-03 at 16 47 03
Simulator Screenshot - iPad (10th generation) - 2024-01-03 at 16 46 46

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 rendering difference on iOS 17.2 with Maps SDK 11.0.0 using the linked Mapbox Studio style URL, then compare it with the web preview and attached screenshots. Done means the customized map uses matching colors across iOS and the other platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
computer-graphics, mobile-dev
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.