My code is right but I'm getting the error message "undefined is not an object (evaluating 'Map.data.results'):"
Any help appreciated
My code is right but I'm getting the error message "undefined is not an object (evaluating 'Map.data.results'):"
Any help appreciated
Hi @thomasatkinson! Thank you for those screenshots of your nested data—super great. Hmm I definitely see that it's previewing the right data. Where are you trying to display this data? Would you mind sharing a screenshot of the field where it's currently showing red?
And as a quick sanity check, if you return Map.data.results[0].geometry.location.lat
from a JS query, does it populate the right value?
Sorry for the delayed response! I'm trying to display it in a Mapbox Map. Does this help?
Doesn't seem to populate the right value from a JS query
I was actually curious about returning just the latitude and longitude data and then using that to populate the map, but super confusing way to communicate that on my end
Would it be alright if I stepped into your app to poke around? If so, feel free to write into support@retool.com (and ask for me) so we can get this sorted!