public static PendingResult < SpeedLimit [ ] > speedLimits ( GeoApiContext context , String ... placeIds ) { String [ ] placeParams = new String [ 2 * placeIds . length ] ; int i = 0 ; for ( String placeId : placeIds ) { placeParams [ i ++ ] = "placeId" ; placeParams [ i ++ ] = placeId ; } return context . get ( SPEEDS_API_CONFIG , SpeedsResponse . class , placeParams ) ; }
Returns the posted speed limit for given road segments .