<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal style='margin-bottom:12.0pt'>Hello,<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>I am the developer of the WordPress mapping plugins Leaflet Maps Marker (<a href="https://wordpress.org/plugins/leaflet-maps-marker/">https://wordpress.org/plugins/leaflet-maps-marker/</a>) and Maps Marker Pro (<a href="https://www.mapsmarker.com">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 <a href="http://map.project-osrm.org">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: <a href="http://map.project-osrm.org/?hl=en&loc=48.292787,16.092911&df=0">http://map.project-osrm.org/?hl=en&loc=48.292787,16.092911&df=0</a>)<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>I did some research and found that the URL parameters have changed and that new parameters like "center" are required.<o:p></o:p></p><p class=MsoNormal>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><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=">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></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>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></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>The current workaround for this issue is to set both loc parameters to the same lat+lon values (like <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=">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></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>I searched the wiki but couldnt find a way how this could be solved. Is there a way to use a URL like <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=">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> 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></o:p></p><p class=MsoNormal>Any help would really be appreciated!<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>best,<o:p></o:p></p><p class=MsoNormal>Robert<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p></div></body></html>