examples/photomap/IPhoneImageDocument.php
public function getLongitude()
    {
        if (isset($this->exif)) {
            return (float)$this->getGps($this->exif['GPSLongitude'], $this->exif['GPSLongitudeRef']);
        } else {
            return null;
        }
    }
public function getLongitude()
    {
        if (isset($this->exif)) {
            return (float)$this->getGps($this->exif['GPSLongitude'], $this->exif['GPSLongitudeRef']);
        } else {
            return null;
        }
    }
Get the longitude metadata.

@return float The longitude as a single numeric value.