public function setWalkingDistance(int $originDistance = 2000, int $destinationDistance = 2000): self
    {
        $this->options['maxWalkingDistanceDep'] = $originDistance;
        $this->options['maxWalkingDistanceDest'] = $destinationDistance;

        return $this;
    }
public function setWalkingDistance(int $originDistance = 2000, int $destinationDistance = 2000): self
    {
        $this->options['maxWalkingDistanceDep'] = $originDistance;
        $this->options['maxWalkingDistanceDest'] = $destinationDistance;

        return $this;
    }
public function setWalkingDistance ( int $ originDistance = 2000 , int $ destinationDistance = 2000 ) : self { $ this -> options [ 'maxWalkingDistanceDep' ] = $ originDistance ; $ this -> options [ 'maxWalkingDistanceDest' ] = $ destinationDistance ; return $ this ; }
Set walking distances in meters.

@param int $originDistance      Walking distance at origin, in meters, min 500, max 20.000
@param int $destinationDistance Walking distance at destination, in meters, min 500, max 20.000

@return $this
Set walking distances in meters .