2
Guys I’m getting an array:
[{lat: "[{"area":"-22.88975203013098", lng: "-43.12695211119432,"},…]
0
:
{lat: "[{"area":"-22.88975203013098", lng: "-43.12695211119432,"}
1
:
{lat: "-22.88977179811704", lng: "-43.12685018725176,"}
2
:
{lat: "-22.88979650809557", lng: "-43.126624881694504,"}
3
:
{lat: "-22.890513095516", lng: "-43.12649077124376,"}
4
:
{lat: "-22.89054274732773", lng: "-43.126807271907516,"}
5
:
{lat: "-22.88975203013098", lng: "-43.12695211119432"}]"}
I need to take that part out:
"[{"area":"`
how do I do?
And where is
"area"
in that code you put ?– NoobSaibot
That’s a json, use the function
json_decode()
to manipulate him– rray