title: google maps link to start a path
body: <p>I am trying to find what link I can place in my code that will allow me to automatically open google maps and starts a path to my adress, right now I have this:</p>
  <pre><code>  Future&lt;void&gt; _openMapsWithDirection(String adress) async {
      final uri =
          Uri.parse(&quot;https://www.google.com/maps/search/?api=1&amp;query=$adress&quot;);
      if (await canLaunchUrl(uri)) {
        await launchUrl(uri);
      } else {
        throw 'Could not launch $uri';
      }
    }
  </code></pre>
  <p>this code allows me to open google maps with my desire adress, but I need to press &quot;start&quot; in order to app start to work, I know that there must be a link that will tell google maps to start this path from my current location to desire adress, but I do not know where to even search it.</p>
  <p>I am using url_launcher package, there is a option to use maps_launcher, but I did everythink on url_launcher, and I want at least try this way.</p>
  <p>I found this page: <a href="https://developers.google.com/maps/documentation/urls/get-started" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/urls/get-started</a>.</p>
  <p>Where is for example &quot;https://www.google.com/maps/dir/?api=1&amp;origin=Google+Pyrmont+NSW&amp;destination=QVB&amp;destination_place_id=ChIJISz8NjyuEmsRFTQ9Iw7Ear8&amp;travelmode=walking&quot;, and this allows me to go from a place to my adress, but how I can get my CURRENT location?</p>