public static PendingResult < SnappedPoint [ ] > nearestRoads ( GeoApiContext context , LatLng ... points ) { return context . get ( NEAREST_ROADS_API_CONFIG , RoadsResponse . class , "points" , join ( ' ' , points ) ) ; }
Takes up to 100 GPS points and returns the closest road segment for each point . The points passed do not need to be part of a continuous path .