public class MapboxDistanceRx
extends com.mapbox.services.api.distance.v1.MapboxDistance
The Mapbox Distance API returns all travel times between many points. For example, given 3 locations A, B, C, the Distance API will return a matrix of travel times in seconds between each location. This API allows you to build tools that efficiently check the reachability of coordinates from each other, filter points by travel time, or run algorithms for solving optimization problems.
Limits placed on this API include a maximum 100 coordinate pairs per request and a maximum 60 requests per minute.
This class has support for Rx Observables.Modifier and Type | Class and Description |
---|---|
static class |
MapboxDistanceRx.Builder |
Constructor and Description |
---|
MapboxDistanceRx(MapboxDistanceRx.Builder builder) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<com.mapbox.services.api.distance.v1.models.DistanceResponse> |
getObservable() |
cancelCall, cloneCall, enqueueCall, executeCall, getCall, getGson
public MapboxDistanceRx(MapboxDistanceRx.Builder builder)
© 2015–2016 Mapbox. All rights reserved.