Added mapping functionality. Scaling/Panning.