ggmap icon indicating copy to clipboard operation
ggmap copied to clipboard

Vector of coordinates in mapdist() function

Open fgoerlich opened this issue 4 years ago • 0 comments

Hi, According to the documentation I can use vectors (of addresses) in the mapdist() function (page 41 of version 3.0.0) and also I can include geographic coordinates (page 42). But I haven´t found a way to include vectors of coordinates in the mapdist() function, since the onlye example I have found only considers a pair of coordinates (numeric of length = 2). Is there a way to pass many coordinates as origins and many coordinates as destination at the same time or I have to loop over the mapdist() function? Thanks a lot.

fgoerlich avatar Jul 13 '20 19:07 fgoerlich