No description
  • JavaScript 96.9%
  • CSS 2.9%
  • HTML 0.2%
Find a file
Matt ee3e7d08b9 fix(highlight): use data-driven expressions to target specific features
Instead of changing entire layer paint properties (which highlights all
labels in the layer), use MapLibre case expressions to target only the
specific feature by name. This prevents highlighting ALL labels when
hovering/selecting one.

Expression format:
  ["case", ["==", ["get", "name"], featureName], highlightColor, originalColor]

Fixes text duplication at z14+ on small places.
2026-04-30 03:07:43 +00:00
frontend fix(highlight): use data-driven expressions to target specific features 2026-04-30 03:07:43 +00:00