Hi,
I am returning a list of items with latitude and longitude values. I have some javascript which calculates the distance from my current location. I have mapped the response and a couple of other fields which is working as expected.
What I need to do now is trigger that calculation for each location and set a label for each item in the list. I can't work out what coding I need for this or where I need to put it.
I thought I could maybe add it on to the javascript of another field to set the related distance label but it just overwrites the first label in the list each time.
Any help would be appreciated.
Thanks