This tool generates the getCoords() function for a jQuery Mapael map file. It assumes that the projection of the map is equirectangular.
Fill in the form with the x coordinates and longitudes of two points, one on the left and one on the right of your map, and the y coordinates and latitudes of two points, one at the top and one at the bottom.