var markers = [
{
coords:{lat: 14.5858544, lng: 120.9763816},
}
];
Hi everyone, how do I output the lat and lng? I can't seem to access them. I have tried
document.getElementById("demo").innerHTML = markers[0].coords
document.getElementById("demo").innerHTML = markers['coords'][0]['lat'];
but it doesn't work