title: Google directions don't work
body: <p>I try to make directions for my current position and marker coordinate. so i get latitude and longitude using getcurrentposition. then, i mark it.</p>
  
  <pre><code>function initialize() {
    directionsDisplay = new google.maps.DirectionsRenderer();
    var node = new google.maps.LatLng(-7.276442,112.791174);
    var mapOptions = {
      zoom: 15,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    map = new google.maps.Map(document.getElementById('map'),
        mapOptions);
    directionsDisplay.setMap(map);
  
      navigator.geolocation.getCurrentPosition(function(position) {
        pos = new google.maps.LatLng(position.coords.latitude,
                                         position.coords.longitude);
  
        var marker = new google.maps.Marker({
              position : pos,
              map: map,
              title:'Lokasi Anda'
        });
        var marker1 = new google.maps.Marker({
              position : node,
              map: map,
              title:'Lokasi Anda'
        });
  
        map.setCenter(pos);
      }, function() {
        handleNoGeolocation(true);
      });
  
  }
  </code></pre>
  
  <p>then, I calculate it using this function.</p>
  
  <pre><code>function calcRoute() {
  
    var request = {
        origin:pos,
        destination:node,
        travelMode: google.maps.DirectionsTravelMode.DRIVING
    };
  
    directionsService.route(request, function(response, status) {
      if (status == google.maps.DirectionsStatus.OK) {
        directionsDisplay.setDirections(response);
      }
    });
  }
  </code></pre>
  
  <p>but why i can't see direction from <code>pos</code> to <code>node</code>. any suggestion ?</p>