public interface RouteTilesService
Modifier and Type | Method and Description |
---|---|
retrofit2.Call<okhttp3.ResponseBody> |
getCall(java.lang.String userAgent,
java.lang.String coordinates,
java.lang.String version,
java.lang.String accessToken)
Constructs the html call using the informmation passed in through the
MapboxRouteTiles.Builder . |
@GET(value="route-tiles/v1/{coordinates}") retrofit2.Call<okhttp3.ResponseBody> getCall(@Header(value="User-Agent") java.lang.String userAgent, @Path(value="coordinates") java.lang.String coordinates, @Query(value="version") java.lang.String version, @Query(value="access_token") java.lang.String accessToken)
MapboxRouteTiles.Builder
.userAgent
- the user agentcoordinates
- a string value of the min and max longitude and latitudeversion
- version which was previously fetched through
MapboxRouteTileVersions
accessToken
- Mapbox access token