Support for latlng in getDirections()

It's an extremely lazy fix, but it works.