osm-americana/openstreetmap-americana

Bannered shields cause neighboring shields to move too far down

Open

#340 opened on May 21, 2022

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (78 forks)auto 404
buggood first issuemaplibreshields

Repository metrics

Stars
 (238 stars)
PR merge metrics
 (PR metrics pending)

Description

With shields along concurrent routes where one shield has more banners than another, the shield with fewer banners displays farther down on the screen than expected:

Screenshot from 2022-05-21 12-03-13

@ZeLonewolf:

It would require a change to maplibre to adjust the baseline for shields, or some other pixel gymnastics that I haven't thought of yet.

Contributor guide