grimzy/laravel-mysql-spatial

{"message":"Call to a member function getLat() on string"}

farshadff opened this issue · 0 comments

hello , i have stored the data on my mysql data base like below :
image
and in my code i try to get the lat like below :

$address->point->getLat()

but when i do i get this error :

{"message":"Call to a member function getLat() on string"}

any idea what can be wrong ??
when i dd the $address->point its the result :
image