Adding specific pixel width to the map image

For right now, I need to set the fixed width for the map so that I can
find the percentage location of the mouse.