mapbox / mapbox/mapbox-gl-js

Add terrain support for flyTo and easeTo

Open
#10,195 3 comments 7 reactions 1 assignee View on GitHub

@mourner is already working on this.

Since Jan 19, 2021.

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

Description

**mapbox-gl-js version**: 2.0.0

Camera functions `flyTo` and `easeTo` are not taking terrain elevation properly into account leading to bumpy and jittery camera movement. The approach used in our camera system to use separate elevation reference (sea level or terrain) could be used as a starting point for enabling smoother camera movement that is independent of the terrain.

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.