Spatially Dependent Photometric Activity of M dwarfs in the Solar Cylinder