<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Robert,<div class=""><br class=""></div><div class="">  <a href="http://map.project-orsm.org/" class="">http://map.project-orsm.org/</a> isn't really intended for linking to like your'e describing.  It's more of a demo interface to OSRM itself.</div><div class=""><br class=""></div><div class="">  Have you explored using LRM (Leaflet Routing Machine) <a href="http://www.liedman.net/leaflet-routing-machine/" class="">http://www.liedman.net/leaflet-routing-machine/</a> and drawing routes on your own Leaflet <div> ?</div><div class=""><br class=""></div><div class="">daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 11, 2015, at 12:47 PM, <a href="http://MapsMarker.com" class="">MapsMarker.com</a> <<a href="mailto:info@mapsmarker.com" class="">info@mapsmarker.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Hello,<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">I am the developer of the WordPress mapping plugins Leaflet Maps Marker (<a href="https://wordpress.org/plugins/leaflet-maps-marker/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://wordpress.org/plugins/leaflet-maps-marker/</a>) and Maps Marker Pro (<a href="https://www.mapsmarker.com/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">https://www.mapsmarker.com</a>). Both plugins include support for different directions providers - one of them is OSRM and directions links are linking directly to<span class="Apple-converted-space"> </span><a href="http://map.project-osrm.org/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">map.project-osrm.org</a>. I noticed that the URL schema I used so far seemed to have changed and the map is now always centered on Washington (example link produced by my plugin currently:<span class="Apple-converted-space"> </span><a href="http://map.project-osrm.org/?hl=en&loc=48.292787,16.092911&df=0" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://map.project-osrm.org/?hl=en&loc=48.292787,16.092911&df=0</a>)<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">I did some research and found that the URL parameters have changed and that new parameters like "center" are required.<o:p class=""></o:p></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Anyway I am having issues supporting the new URL scheme, because I only want to set the end point for directions as I do not know where the user wants to start. I tried this by using the following URL for example:<br class=""><a href="http://map.project-osrm.org/?z=13&center=48.242330%2C16.433030&loc=48.242330%2C16.433030&loc=&hl=en&ly=&alt=&df=&srv=" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://map.project-osrm.org/?z=13&center=48.242330%2C16.433030&loc=48.242330%2C16.433030&loc=&hl=en&ly=&alt=&df=&srv=</a><o:p class=""></o:p></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">The main issue is that if only 1 loc parameter is set, the input form field for start point remains empty, resulting in a non usable link for my plugin users.<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">The current workaround for this issue is to set both loc parameters to the same lat+lon values (like<span class="Apple-converted-space"> </span><a href="http://map.project-osrm.org/?z=13&center=48.242330%2C16.433030&loc=48.242330%2C16.433030&loc=48.242330%2C16.433030&hl=en&ly=&alt=&df=&srv=" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://map.project-osrm.org/?z=13&center=48.242330%2C16.433030&loc=48.242330%2C16.433030&loc=48.242330%2C16.433030&hl=en&ly=&alt=&df=&srv=</a>) - this results in start+end point form fields being populated - anyway this is suboptimal, as the user has to delete the start form field and enter where he wants to start.<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">I searched the wiki but couldnt find a way how this could be solved. Is there a way to use a URL like<span class="Apple-converted-space"> </span><a href="http://map.project-osrm.org/?z=13&center=48.242330%2C16.433030&loc=48.242330%2C16.433030&loc=&hl=en&ly=&alt=&df=&srv=" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://map.project-osrm.org/?z=13&center=48.242330%2C16.433030&loc=48.242330%2C16.433030&loc=&hl=en&ly=&alt=&df=&srv=</a><span class="Apple-converted-space"> </span>with only 1 loc parameter set which prefills the endpoint for directions so that the user only has to set the start point for directions? If not, is there a chance that the site gets updated to support that?<o:p class=""></o:p></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Any help would really be appreciated!<o:p class=""></o:p></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">best,<o:p class=""></o:p></p><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Robert<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OSRM-talk mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OSRM-talk@openstreetmap.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OSRM-talk@openstreetmap.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.openstreetmap.org/listinfo/osrm-talk" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.openstreetmap.org/listinfo/osrm-talk</a></div></blockquote></div><br class=""></div></body></html>