Get coordinates from list of markers

Sorry. You can not do that directly. You either need a global variable representative of those latitude and longitude coordinates or try something like recommended by abg.

See Social Distancing ... a CloudDB / Location Marker Tutorial
for making a facy app that will determine how far a marker is from another.