use MapTools.calculateMouseCoord to calculate the coordinates