Latitude and solar-cycle patterns in the response of the ionosphere F2-layer to geomagnetic activity