Skip to content

via marker improvements - #461

Merged
karussell merged 27 commits into
masterfrom
via_marker
Aug 21, 2026
Merged

via marker improvements#461
karussell merged 27 commits into
masterfrom
via_marker

Conversation

@karussell

@karussell karussell commented Aug 20, 2026

Copy link
Copy Markdown
Member

This change implements four improvements for the via marker:

  • drag from route to create a new via marker (the drag-start location determines the via number)
  • click on route to create via marker (the click location determines the via number)
  • delete via in ctx menu
  • improves the via marker style and uses simple circles

Try it here: https://graphhopper.com/maps-dev/via_marker/

Drag from route works obviously only on desktop (hover) and looks like:

To make via markers more consistent with the transparent circle on that route I took the opportunity and changed the style of the via markers too (first commits). In master the via markers are a bit thin leading to rather small numbers. When changing this to a circle this looks cleaner, is consistent to the dragging style and the font can be also slightly bigger improving overall experience when using multiple markers.

Before:

After:

Now that the anchor is at the center of the icon the marker gets now transparent to achieve a better placement.

@karussell karussell changed the title Improve via marker drag from route and improve via marker style Aug 20, 2026
@karussell karussell changed the title drag from route and improve via marker style drag via from route, delete via in ctx menu, click on route to create via and improve via marker style Aug 20, 2026
@karussell karussell changed the title drag via from route, delete via in ctx menu, click on route to create via and improve via marker style via marker improvements Aug 20, 2026
@karussell
karussell merged commit ea83446 into master Aug 21, 2026
2 checks passed
@karussell
karussell deleted the via_marker branch August 21, 2026 10:51
@karussell karussell added enhancement New feature or request feature request Requests for new features that won't necessarily be realized labels Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature request Requests for new features that won't necessarily be realized

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant