public class MapMatchingResponse extends Object
Constructor and Description |
---|
MapMatchingResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
A string depicting the state of the response.
|
List<MapMatchingMatching> |
getMatchings()
An array of Match objects
|
List<MapMatchingTracepoint> |
getTracepoints()
An array of Tracepoint objects representing the location an input point was matched with.
|
void |
setCode(String code) |
void |
setMatchings(List<MapMatchingMatching> matchings)
Set the matchings value
|
void |
setTracepoints(List<MapMatchingTracepoint> tracepoints)
Set the tracepoints value
|
public String getCode()
mapbox.driving
, mapbox.walking
,
or mapbox.cycling
.public void setCode(String code)
code
- String containing the code.public List<MapMatchingMatching> getMatchings()
public void setMatchings(List<MapMatchingMatching> matchings)
matchings
- listpublic List<MapMatchingTracepoint> getTracepoints()
public void setTracepoints(List<MapMatchingTracepoint> tracepoints)
tracepoints
- list© 2015–2016 Mapbox. All rights reserved.