public static PendingResult < SpeedLimit [ ] > speedLimits ( GeoApiContext context , LatLng ... path ) { return context . get ( SPEEDS_API_CONFIG , SpeedsResponse . class , "path" , join ( ' ' , path ) ) ; }
Returns the posted speed limit for given road segments . The provided LatLngs will first be snapped to the most likely roads the vehicle was traveling along .