$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();
Returns the $location object for the image if the image has GPS data.
$location = $page->image()->location();
echo $location->lat();
echo $location->lng();