Hi. I'm trying to get distances between various locations. So far I've managed to get the distance between 2 location by doing something like that:
Now I'd like to use manyToOne in order to get many distances at once. The documentation says manyToOne "[...] will compute time and distance from many origins to a single destination (the first location in lc)." But what is the exact syntax? I tried something like that:
But I get "The LocationCollection must contain at least two locations", so maybe I'm just missing the correct list separator? Thanks for your ideas!