Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permalink with a Destination but without Start #438

Closed
efred opened this issue Sep 26, 2012 · 6 comments
Closed

Permalink with a Destination but without Start #438

efred opened this issue Sep 26, 2012 · 6 comments

Comments

@efred
Copy link

efred commented Sep 26, 2012

It would be nice, if there will be a possibility to make a permalink (Generate Link) with a Destination but without Start. Until now, its not possible with OSRM, but p.e. at OpenRouteService its possible. But I would make it with OSRM, because the datas are much more up to date.
The reason for this Feature Request is: if the people would organize some events and would publish it on their website it would be kind, if they can also publish a permalink to the location and the visitors can add just a start-location - this would be really visitor-friendly.

@DennisOSRM
Copy link
Collaborator

@DennisSchiefer

@DennisOSRM
Copy link
Collaborator

How about this?

http://map.project-osrm.org/?dest=49.01169682801593,8.403940200805664&destname=Karlsruher%20Schlo%C3%9F

You have to generate it yourself by adding coordinates and a (arbitrary) description.

@efred
Copy link
Author

efred commented Sep 28, 2012

yeah, this would work generaly. Only one thing i missing: i can't add the attribute p.e. "&z=17" for an other zoomlevel than 14.
It would be nice, if there will be possibility to generate such an link just with a click, instead of generate it manually.

@DennisSchiefer
Copy link

Not respecting the zoomlevel was an oversight. This should work with the next update.

We have already been thinking adding a button for generating a link for an arbitrary map position with or without markers. But so far we haven't found a good GUI solution for this.

The remaining questions are:

  • Where to put the button? For example, putting it into the big information box as with route links will not work when a marker is set by searching, as the box will be filled with search results.
  • When to remove the provided link? When a link is created shall we remove it, when the map area is dragged to a new position, when the marker is deleted/a new one added?

Writing this, I believe, retaining the button to create link while still showing the previous one, might be a possible solution to the second problem.

@goeck
Copy link

goeck commented Jun 11, 2013

Sorry to digg this up again.
Just found this pretty undocumented nasty nice option, when preparing invitations for a party. This is really awesome for such usecases, together with the option to set the map center.
BUT: one thing bothers me though. I have my dest pointing somewhere in the wild, where the party area is. Now when the URL is called everything is just fine. Setting a starting point gives me a route which actually not ends at the previosly set destination, but somewhere on a nearby road. I read that this is a desired action. in this usecase it is obviously distracting users... "Which exactly is the destination point, the firstly seen or the calculated one?".
I would suppose to draw a dotted line from the calculated dest point to the originally placed when this happens. Also the destname (when given) could be altered to, let's say: "Road near ".

examples:

  1. Partylocation URL using the dest arguement
  2. same Partylocation with start somewhere in the wild (notice the dotted line, becaus eno route was found)
  3. same as 2, but start point moved to a street and thus dest point moved to a street

@TheMarex
Copy link
Member

Obsolete with osrm-frontend-v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants