$exif->location()

Returns the $location object for the image if the image has GPS data.

  • return ($location)
$location = $page->image()->location();

echo $location->lat();
echo $location->lng();

Is something missing or incorrect? Edit this page on Github…