'Why @this cannot work in my laravel-livewire(mapbox)?
I try to get the long and lat data from the class, but this "@this" is not working

This is the class:

This is the error:

I'm new in livewire and Json. Your help is a gold for me.
Solution 1:[1]
First: You can apply @this on the livewire blade file only Your Error Path: vpet\resouces\views\customer\location.blade.php (This will definitely give an error)
According to your class right path is: vpet\resouces\views\livewire\map-location.blade.php
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | M Umer Yasin |
