How to plot a GPS location on an image being used as a map?

view full story

http://stackoverflow.com – I have images of malls that I need to use as maps for an app I am making. I have the GPS lat/long of the bottom corners of the map and I figured out the distance from the bottom GPS coordinates to what would be the top of the map image. How ever these are not straight up and down linear maps meaning I can't just plot my lat and long all nice and neat. I've tried using various formulas and I'm so close but I can't plot the top lat and long of the top left and right of the map. So far this is what I have: double distanceFromLeftToRightGPS = bottomLeft.distanceTo(bottomRight); double bearingle (HowTos)