Issue with line-dasharray and starting offset of 0 #8140
Labels
bug 🐞
needs investigation 🔍
Issues that require further research (e.g. it's not clear whether it's GL JS or something else)
mapbox-gl-js version:
0.53.1
browser:
Chrome
Steps to Trigger Behavior
line-cap: round
line-dash-array: [0, 10, 10, 10]
Link to Demonstration
Expected Behavior
There shouldn't be artifacts along the line
Actual Behavior
There are artifacts for 0 starting offset:
code:
Screenshot:
More info:
I would like to create an ant-path using animation.
I have looked at the examples below in the SO question:
https://stackoverflow.com/questions/43057469/dashed-line-animations-in-mapbox-gl-js
In these examples the artifacts are less visible since the
line-cap
isbutt
but still there.The text was updated successfully, but these errors were encountered: