Numeric vector containing latitude coordinate for each coordinate
to map. Also accepts dataframe with latitude in the first column and
longitude in the second column.
lng
Numeric vector containing longitude coordinate for each
coordinate to map.
osrmurl
Base URL of the OSRM service
Details
Retrieve coordinates of the node(s) on the network mapped from coordinates
passed to functions using OSRM API v4 only. For API v5, use nearest_osm.