Spatially dependent electromagnetically induced transparency