mapbox / mapbox/mapbox-gl-js

Polyline Animation

Open
#10,009 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature :green_apple:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

It would be awesome if there was a plugin or functionality to animate/draw out polyline.

A lot of applications use Mapbox to show travel routes or delivery routes and it's useful to show the route drawn from start to end like these Leaflet plugins do:

leaflet.motion https://igor-vladyka.github.io/leaflet.motion/
Leaflet.Polyline.SnakeAnim https://github.com/IvanSanchez/Leaflet.Polyline.SnakeAnim

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.

Research direction

Start by reviewing the two referenced Leaflet plugins and the mapbox-gl-js codebase to determine the appropriate scope for polyline animation. Define the supported animation behavior and integration surface, then verify that a route can be drawn progressively from its start to its end.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.