Hi,
I am trying to to some improvement of googleMap plugin.
In order to do that, I have some questions:
1/ you replace ',' by '.' in exifs data 3 times in the plugin :
- in googleMap.php, function getGeoCoord()
- in GoogleMap/googleMap.php (as a hack of original class),
- function getAddMarkersJS()
- function getMapJS()
with 3 times ? the first one in googleMap.php seems to be enough , don't you think ?
2/in googleMap.php, function getGeoCoord()
why did you write that code ?
`
$lat_c = explode('.',str_replace(',', '.', $exif['EXIFGPSLatitude']));
$lat_f = round((float) abs($lat_c[0])+$lat_c[1]/pow(10,strlen($lat_c[1])),5);
`
why this code in not enough to convert string in float:
`$lat_f = round((float) (str_replace(',', '.', $exif['EXIFGPSLatitude'])),5);`
3/ in googleMap.php, function getGeoCoord()
`if (strtoupper(@$exif['EXIFGPSLatitudeRef']{0}) == 'S')`
can you explain that code ? I amunable to understand what it means...