Enable direct links to a station and position
sylvainavelo opened this issue · comments
If I may suggest an improvement on the way we can link to Chronotrains.
As it is inspired by Direkt Bahn Guru, the same mechanism for linking directly to a train stop would be a great addition.
For instance, adding ?origin=8700013
in the URL would link directly to Paris Montparnasse, with its isochrones visible.
Also enabling the possibility to choose the initial zoom level and center of the map could be useful. This could be with a pattern like on the openstreetmap.org website or on umap : #<zoom>/<lat>/<lon>
, or any other understandable pattern.
If those url parameters are updated automatically when panning, zooming or clicking on a station, this would make sharing a direct link very practical.
Great thanks 👍