mapbox / mapbox/mapbox-maps-ios

Custom Map Style displayed in low resolution

Open
#1,945 12 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: 14.3
  • iOS version: 16.4
  • Devices affected: All
  • Maps SDK Version: 10.10.1

Observed behavior and steps to reproduce

After adding a custom Map Style created using the Mapbox Studio MapStyle maker, maps and layers on the map are low-resolution. It is hard to demonstrate, but see this screenshot (zoomed in):
IMG_9B1F1E0AB2C0-1
You can see a clear, high res line in dark gray, which is a ui element in my app. Below that is my custom map including a LineLayer with a width of 3. As can be clearly seen, the line is very low resolution. The Map is too, but it is harder to see in this light map style.

Expected behavior

The map should be just as sharp as the standard map design. All Layers should also be sharp.

Notes / preliminary analysis

Additional links and references

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 Xcode 14.3, iOS 16.4, Maps SDK 10.10.1, and a custom Mapbox Studio map style, comparing it with the standard map design. Check the rendered map and LineLayer at the affected zoom level; done means the custom map and layers are as sharp as the standard map.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, 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.