mapbox / mapbox/mapbox-gl-js

Using stretchable icons as regular icons breaks icon scaling.

Open
#9,066 1 comment 0 reactions 1 assignee View on GitHub

@ansis is already working on this.

Since Dec 4, 2019.

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**:1.6.0

**browser**: all

### Link to Demonstration
https://jsfiddle.net/vry9a3fo/show
Pitch the map and you can notice the icons farther from the camera being smaller.

### Expected Behavior
Icon size stays constant in screenspace

### Screenshot
![2019-12-04 12 39 37](https://user-images.githubusercontent.com/1449257/70181247-698d6100-1696-11ea-99bc-d63654d92ad8.gif)

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.