Surface nanodroplets are important units for lab-on-a-chip devices, compartmentalised catalytic reactions, high-resolution near-field imaging, and many others. Solvent exchange is a simple solution-based bottom-up approach for producing surface nanodroplets by displacing a good solvent of the droplet liquid by a poor one in a narrow channel in the laminar regime. The droplet size is controlled by the solution composition and the flow conditions during the solvent exchange. In this paper, we investigated the effects of local microfluidic structures on the formation of surface nanodroplets. The microstructures consist of a microgap with a well-defined geometry, embedded on the opposite microchannel wall, facing the substrate where nucleation takes place. For a given channel height, the dimensionless control parameters were the Peclet number of the flow, the ratio between the gap height and the channel height, and the aspect ratio between the gap length and the channel height. We found and explained three prominent features in the surface nanodroplet distribution at the surface opposite to the microgap: (i) enhanced volume of the droplets; (ii) asymmetry as compared to the location of the gap in the spatial droplet distribution with increasing Pe; (iii) reduced exponent of the effective scaling law of the droplet size with Pe. The droplet size also varied with the aspect and height ratios of the microgap at a given Pe value. Our simulations of the profile of oversaturation in the channel reveal that the droplet size distribution may be attributed to the local flow patterns induced by the gap. Finally, in a tapered microchannel, a gradient of surface nanodroplet size was obtained. Our work shows the potential for controlling nanodroplet size and spatial organization on a homogeneous surface in a bottom-up approach by simple microfluidic structures.