mapbox / mapbox/mapbox-gl-js

Camera animation

Open
#10,875 4 comments 0 reactions 1 assignee View on GitHub

@rreusser is already working on this.

Since Sep 8, 2021.

api :memo: needs discussion :speech_balloon:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**: 2.3.1

### Question
Hi there :). I am using terrain 3d and have a route animation. I want to achieve sth. like https://www.relive.cc/view/vAOZDD5poqL with the camera. Tried a lot with the `free camera path` example but I don´t want to follow the route 1:1 and have the "laggy" follow animation. I tried with turf.simplify but it´s still following always over the track. I want to have a follow animation like in this video. Can you give me some hints on how to achieve this? Thank you so much for your help! Kind regards

### Links to related documentation
https://docs.mapbox.com/mapbox-gl-js/example/free-camera-path/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.