title: how to convert latitude and longitude to pixels
body: <p>I have two sets of Lat and Long values corresponding to <strong>two corners of a rectangle (top left and bottom right)</strong>. I want to load a image in the rectangle and as the user clicks on the locations on the rectangle/image, it should return a latitude and longitude (from the detected pixel's coordinates). What should be the calculation to convert pixels to lat and long, given the above spot of inputs.</p>