Panning the mc

Can anyone point me in the right direction?

I’m looking to have a small window with a portion of a map showing through, and then as the user rolls over upper portion, lower portion, left and right portion the map will move in that direction.

Thank you…