Added defaultDistance as a url parameter.