Skip to content

feat: permalink with costing options#396

Open
rohhann12 wants to merge 2 commits intovalhalla:masterfrom
rohhann12:feat/permalink-costing-options
Open

feat: permalink with costing options#396
rohhann12 wants to merge 2 commits intovalhalla:masterfrom
rohhann12:feat/permalink-costing-options

Conversation

@rohhann12
Copy link
Contributor

@rohhann12 rohhann12 commented Mar 22, 2026

🛠️ Fixes Issue

closes #335

👨‍💻 Changes proposed

-Added a costing query parameter to the URL that stores any non-default costing options as JSON

  • Settings are restored from the URL on page load, so they survive refreshes and can be shared via permalink
  • URL stays clean when everything is at defaults — the param only appears when something is changed

📄 Note to reviewers

Only non-default values are sync to keep the URL short. exclude_polygons is intentionally skipped as it can hold large GeoJSON data.

📷 Screenshots

@github-actions
Copy link

Preview is ready! 🚀 You can view it here: https://valhalla-app-tests.gis-ops.com/396

@rohhann12 rohhann12 changed the title feat: extend permalink with costing options feat: permalink with costing options Mar 22, 2026
@rohhann12
Copy link
Contributor Author

hi @nilsnolde let me know if you have any ideas on how we can handle the geo json

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.

UX: extend permalink with costing options

1 participant