Converting Lat/Long to/from stuff

I’ve had a “fun” couple days trying to figure out how to convert Lat/Long both to and from pixel x/y values. It took me a lot longer than I thought it would. I will post some code in another post, when I’ve had a chance to clean it up and make sure it works properly. What a struggle. Still waiting for the Palm pre to be released so I can officially begin development of my new app.