Pixel to Degrees Conversion
Posted: Wed Oct 21, 2009 2:17 pm
I am working on a map program and I am trying to convert pixels to latitude/longitude and back.
I have a method started that takes in the location and data parameters:
I have a method started that takes in the location and data parameters:
Code: Select all
function mix2Deg
(
$mix, // location to convert
$mapData // Data from $MAP_DATA for this map.
) {
}Code: Select all
function deg2Mix
(
$deg, // location to convert
$mapData // Data from $MAP_DATA for this map.
) {
}