diff options
| author | Claude <noreply@anthropic.com> | 2026-05-21 08:11:36 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-21 08:11:36 +0000 |
| commit | 0da5ea2d140fc5bfa7e46a954be296d70fea49c4 (patch) | |
| tree | f6064f56fb0ceb002609fef4732a63e73a174d39 /docs | |
| parent | e4fb66791269d761a96a97213b3fd6aaeb151772 (diff) | |
Fix speed-colored track: pre-compute hex color per segment, use get("color")
Instead of asking MapLibre to interpolate/step colors at render time
(which was silently failing), pre-compute the CSS hex color for each
segment in speedSegments() and store it as a "color" property.
speedColorExpression() is now Expression.get("color") — a simple
property lookup that MapLibre parses as a CSS color for line-color.
https://claude.ai/code/session_01YUbuZNDAoLea4cf9UGQ9qn
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
