mapbox / mapbox/mapbox-gl-js

Map Distortion on Android Chrome with Container Width > 1650px

Open
#13,003 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

mapbox-gl-js version: 3.0 (and other versions)

browser: Chrome on Android (latest version)

Steps to Trigger Behavior
Set up a Mapbox GL JS map in a container.
Increase the container's width to more than 1650px.
Open the page in Chrome on an Android device.
Link to Demonstration
https://codepen.io/cylqinsmoon/pen/Rwvdbyv

Expected Behavior
The map should render without distortion, maintaining quality and proportions across different platforms, similar to its behavior on Chrome for Windows and macOS.

Actual Behavior
When the map container's width is set to more than 1650px, the map displays with distortion on Chrome for Android. This issue is not observed on other platforms.

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 running the linked CodePen reproduction on Android Chrome with a container wider than 1650px, then compare it with Chrome on Windows or macOS. The issue names no repository file or test, so trace the rendering path responsible for the distortion; done means the map keeps its expected proportions on Android Chrome at that width.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript, typescript
Domain
computer-graphics, frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.