Skip to content

Sit the dot tier on its line and crossfade it with the sign - #62

Merged
egorikftp merged 1 commit into
mainfrom
fix/dot-tier-on-line
Nov 16, 2026
Merged

egorikftp merged 1 commit into
mainfrom
fix/dot-tier-on-line

Conversation

@egorikftp

Copy link
Copy Markdown
Contributor

Summary

  • Reposition the low-zoom dot markers so their center sits on the geographic point (the line end), instead of floating above it.
  • Replace the instant display swap between the dot and the sign with an opacity/scale crossfade, so zooming across the tier boundary reads as a smooth dissolve rather than a jump.

Details

The dot previously used translateY(-4px) to match the sign's visual center, which lifted it off the line. It is now absolutely positioned with bottom: -4px so its center lands on the line endpoint, while the sign keeps bottom anchoring. Both skins stay in the layout and fade via opacity/transform/visibility transitions.

Test plan

  • At low zoom, dots sit on the line endpoints for medium-speed and repairs stretches.
  • Zooming past the tier boundary animates smoothly between dot and sign.
  • Markers are not repositioned/stacked (regression from position: relative).

@egorikftp
egorikftp merged commit 79a1347 into main Nov 16, 2026
1 check passed
@egorikftp
egorikftp deleted the fix/dot-tier-on-line branch November 16, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant