Collect the additional parameters to do the WMS/WFS query.

Fix #367