title: Building a query string for Bing Maps directions that uses My Location as a starting point
body: <p><b>Background:</b></p>
  
  <p>We are building a web app using Ember/Javascript that uses Mapbox for our application map. Because China has Google blocked, when we link a user out to 'get directions', we send them to Bing Maps instead using a query string. However, after carefully combing through the documentation (see <a href="http://msdn.microsoft.com/en-us/library/dn217138.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/dn217138.aspx</a>), I have found that we are unable to send a user to a page that shows directions from their location to an address.</p>
  
  <p><b>The Question:</b></p>
  
  <p>Can I build a query param string for Bing Maps similar to the method used to build one for Google Maps? </p>
  
  <p><b>Code:</b></p>
  
  <p>In Google Maps, the query string would look like this:</p>
  
  <pre><code>var query = 'https://www.google.com/maps/dir/Current Location/' + address;
  </code></pre>
  
  <p>In Bing Maps, I would like to build a similar query:</p>
  
  <pre><code>var query = 'http://bing.com/maps/default.aspx?rtp=pos.MyLocation~adr.' + address;
  </code></pre>
  
  <p>In the documentation for Bing Maps I could find no way to do so.</p>