0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ant-path line アニメーション(Mapbox GL)

Last updated at Posted at 2023-02-07

こんにちは
"Add an ant path animation to a line" (Mapbox GL JS Examples) を動かしました。

  • その際、'layout': {'line-cap': 'round'}を条件指定した場合は1、不要な静止点が現れます2

output.gif

  1. map.addLayer({'id': 'line-dashed', ...})内に追加変更。

  2. これは line-dasharray が長さ 0 の場合、点(直径はline-width)として描かれるのが原因です。GitHub issue 内で議論されているようですが、当面は改善見込みなさそうです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?