Display A list of Map markers

Hello, I want to get a list of LAT/LNG from an API and then display them on a map. Any suggestions on how I can do this? My data is returned like such,
{ "data": [{ "address_lat": 33.000, "address_lng": -117.111 }] }

1 Like

Hey @lukejamison0rowvo,

You can use the object blocks to parse your JSON, save the coords to a list and then display them on a map.

Here’s a simple example to guide you:

Let us know if there’s anything else we can do to help!

@domhnallohanlon Thanks for the reply but is not working I can’t seem to get all the LAT/LNG from the API and display them on a map. I think the issue is with returning the data from the API. Any suggestions?

It might be the API @lukejamison0rowvo?

Which API are you using?

@domhnallohanlon I’m using the Detrack API documented here Detrack API docs