2
5

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.

移動軌跡ルートの地図上アニメーション(deck.gl, Tripslayer )

Last updated at Posted at 2022-01-02

こんにちは。

移動軌跡ルートを地図上でアニメーション表示しました。

  • deck.gl の Tripslayerを利用し、オリジナルソースを参考にし1 2、ローカルデータファイル読み込み動作へ書き換えました。

output.gif

$ curl https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/trips/trips-v7.json 2> /dev/null | jq -c 'map(select(.path[0][0] < -73.98 and .path[-1][0] < -73.98 and .path[0][0] > -74.02 and .path[-1][0] > -74.02 and .path[0][1] < 40.75 and .path[-1][1] < 40.75 and .path[0][1] > 40.70 and .path[-1][1] > 40.70))' | jq -c '.' > trips-v7_0.json
  1. オリジナルのデモ動作およびソースは: https://deck.gl/examples/trips-layer (または https://docs.carto.com/deck-gl/examples/advanced-examples/trips-layer

  2. 他の参考情報は、stevekirks/deckgl-trips (GitHub) 、 Deck GL Time Frame Animations (Craig Kochis)

2
5
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
2
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?