You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see, the search function is all single-page JS, so the "search page" doesn't have its own URL.
It'd be great if one could launch the search page for a specific search term by using a URL, so that e.g. https://openrailwaymap.app/?q=test would open and show the search results for test.
My main usecase would be to use ORM in a browser search bar which work by templating the search term into a URL. But it would also be nice for stuff like sharing links to searches.
I'm not sure where and how this would need to be added though. I assume the search function is part of the MapLibre JS SDK? It could also be possible that this is already possible and I just didn't find it. I'd appreciate any pointers!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As far as I can see, the search function is all single-page JS, so the "search page" doesn't have its own URL.
It'd be great if one could launch the search page for a specific search term by using a URL, so that e.g.
https://openrailwaymap.app/?q=testwould open and show the search results fortest.My main usecase would be to use ORM in a browser search bar which work by templating the search term into a URL. But it would also be nice for stuff like sharing links to searches.
I'm not sure where and how this would need to be added though. I assume the search function is part of the MapLibre JS SDK? It could also be possible that this is already possible and I just didn't find it. I'd appreciate any pointers!
Beta Was this translation helpful? Give feedback.
All reactions