I am trying to show with mapbox a series of points that I get from a dynamic collection without much success. Below you can see the structure of the data from the collection and my entries in teh formula and settings:
This is currently showing on the map only the last point (data {0}) but I would like to show all incoming points from the collection. Any help much appreciated!
You are actually creating an array of one element, so you get only one marker.
There is no need to create a new array, the response data is already an array. You just need to select the right path for the marker options.
Try binding the data array to the markers property โGET user request[โdataโ]โ. Do mind that โ[โdataโ][0]โ is only the first element of the array, you donโt want to select this.
Then for lat and long you can select the correct nested path.
Look at this example (with a variable instead of requested data, but is the same principle)