mapbox / mapbox/mapbox-gl-js

How to do Heatmap with lines ?

Open
#10,097 13 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

Hi,

I can't find how to do how to do an heatmap with lines similar to
image

I have a Geojson source with a lot of routes and I would like to style with a scale of color where high traffic road are "hot" and low traffic are "cold"

Thank you very much

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

Review the GeoJSON source and the requested heatmap-with-lines example, then start with the project's existing heatmap and line-styling documentation or examples. Done would be a documented, reproducible way to express traffic-based hot/cold styling, or a clearly scoped implementation request if the current APIs cannot support it.

Written by the indexing model from the issue text.

Assessment

Domain
data-visualization, web-dev
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.