title: Get Road coordination From google api using geocode
body: <p>using google map api i want to get path of road using just the address
  what i have made so far</p>
  
  <blockquote>
    <p>code</p>
  </blockquote>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          var geocoder;
          var map;
          var   infoWindow;
  
      function initMap() {
       geocoder = new google.maps.Geocoder();
        map = new google.maps.Map(document.getElementById('map'), {
          zoom: 8,
          center: {lat: 0, lng: -180},
         });
  
       /* var marker = new google.maps.Marker({
          position: myLatLng,
          map: map,
          title: 'Hello World!'
        });*/
        codeAddress();
          infoWindow = new google.maps.InfoWindow;
  
  
      }
      function codeAddress() {
           geocoder.geocode( { 'address':  "my adress goes here"}, function(results, status) {
            if (status == google.maps.GeocoderStatus.OK) {
              console.log(results);
              var obj1={lat:results[0].geometry.bounds.j.H,lng:results[0].geometry.bounds.H.H};
              var obj2={lat:results[0].geometry.bounds.H.j,lng:results[0].geometry.bounds.j.j};
              map.setCenter(results[0].geometry.location);
              var marker = new google.maps.Marker({
                  map: map,
                  position: results[0].geometry.location,
                  title:"my address "
              });
  
            } else {
              alert("Geocode was not successful for the following reason: " + status);
            }
          });
        }
  
  
          &lt;/script&gt;
  </code></pre>
  
  <p>what i need is to get start of the address and the end so that i can use polyline using google api any idea how to achieve this, thank you</p>