line-pattern
s that use a step
expression don't work at all zoom levels
#4787
Labels
line-pattern
s that use a step
expression don't work at all zoom levels
#4787
Hi, I think I have identified an issue that affects
line-pattern
s that use astep
expression.maplibre-gl-js version: 4.7.1
browser: At least Chrome and Firefox
Steps to Trigger Behavior
Configure a style that uses a
step
expression as a value forline-pattern
paint:Link to Demonstration
https://stackblitz.com/edit/maplibre-sprite-test
Expected Behavior
The sprite
railway-large
should be rendered when the zoom level is greater than 13.Actual Behavior
Only thin lines are rendered after the map mounts at zoom level 13.1:
It is necessary to zoom in and out again a couple of times for the correct sprites to show up.
The text was updated successfully, but these errors were encountered: