Closed eagilson closed 7 years ago
Is there a way to have the output formatted as JSON code? Currently it fails the validator here http://jsonlint.com/ and causes the JSON.parse() function to throw an error.
Never mind, I figured out what the problem was. I was accessing the result by trying res.latitude instead of res[0].latitude.
res.latitude
res[0].latitude
Is there a way to have the output formatted as JSON code? Currently it fails the validator here http://jsonlint.com/ and causes the JSON.parse() function to throw an error.