google map javascript direction service returns zero result with TRANSIT mode
<p>The following code returns status "OK":</p>

<pre><code>$(document).ready(function(){

    var directionsService = new google.maps.DirectionsService;
    directionsService.route({
        origin: {lat:35.059280, lng:135.753},
        destination: {lat:34.981117, lng:135.748},
        travelMode: google.maps.TravelMode.DRIVING,
    }, function(response, status) {
        console.log(status);
    });
});
</code></pre>

<p>The following code returns status "ZERO RESULTS":</p>

<pre><code>$(document).ready(function(){

    var directionsService = new google.maps.DirectionsService;
    directionsService.route({
        origin: {lat:35.059280, lng:135.753},
        destination: {lat:34.981117, lng:135.748},
        travelMode: google.maps.TravelMode.TRANSIT,
    }, function(response, status) {
        console.log(status);
    });
});
</code></pre>

<p>The only difference is the travelMode.
But when I manually search google map, I did get couple of routing directions in TRANSIT mode.</p>

<p><a href="https://www.google.com.tw/maps/dir/35.05928,135.753/34.98117,135.748/@35.0193556,135.7110872,13z/data=!3m1!4b1!4m2!4m1!3e3" rel="nofollow">https://www.google.com.tw/maps/dir/35.05928,135.753/34.98117,135.748/@35.0193556,135.7110872,13z/data=!3m1!4b1!4m2!4m1!3e3</a></p>

<p>Is there anything wrong with my code?
Thanks!</p>