The displacement parameter in #4 is to be replaced by the distance in Google maps directions API. The results which exceed the given distance parameter should not be displayed.