grimzy / laravel-mysql-spatial

MySQL Spatial Data Extension integration with Laravel.
Other
792 stars 312 forks source link

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

Closed farshadff closed 1 year ago

farshadff commented 1 year ago

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