Added ability to detect a pan, but the map image does not pan when a pan is detected