title: create google maps to plot driving route to multiple location
body: <p>I would like to create a google maps showing a driving route to multiple locations using ROAD DIRECTIONS only. 
  I am using php to insert the lat and longitude of the destination points. 
  eg using      </p>
  
  <pre><code>  `var markers = [
  
      &lt;?php 
              // loop through the rows of data
              if( have_rows('tour_site', $ID) ):
  
               $info_places = array();
                $info_all_places = array();                 
                  while( have_rows('tour_site', $ID) ) : the_row();
                   //display a sub field value
                      $name = get_sub_field('name');
                      $long = get_sub_field('long');
                      $lat = get_sub_field('lat');
                      $info_places = array("name" =&gt; $name, "long"=&gt;$long, "lat"=&gt;$lat);
                      $info_all_places = array($info_places);
                      foreach ($info_all_places as $info) {
                      ?&gt;
                      { 
                           "title": &lt;?php echo "'" . $info['name']  . "'"; ?&gt;,
                           "lat": &lt;?php echo "'" . $info['lat'] . "'"; ?&gt;,
                           "lng": &lt;?php echo "'" . $info['long'] . "'"; ?&gt;,
                      }, 
                      &lt;?php 
                      }
              endwhile;
              else :   
              endif;
          ?&gt;
  
  
          {
             "title": 'Always the starting point',
             "lat": 'xxx',
             "lng": 'xxx
           }
  
  
   ];`
  </code></pre>
  
  <p>How do I plot these point on a google map showing ONLY A DRIVING ROUTE, NO CROW FLIES?</p>
  
  <p>The issue here isn't how to bring in the php values but how to plot a route with multiple locations along the way. How do I do this? </p>