public class PathFinderMapQuest extends java.lang.Object implements PathFinder
PathFinder.PathFindType
Constructor and Description |
---|
PathFinderMapQuest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXMLResponse(PathFinder.PathFindType type,
double lat1,
double lon1,
double lat2,
double lon2)
Make the HTTP request for a pathfinding query.
|
java.util.List<Waypoint> |
parseXML(java.lang.String xml)
Parse the XML string and return a List of
Waypoint s. |
public java.lang.String getXMLResponse(PathFinder.PathFindType type, double lat1, double lon1, double lat2, double lon2)
PathFinder
getXMLResponse
in interface PathFinder
public java.util.List<Waypoint> parseXML(java.lang.String xml)
PathFinder
Waypoint
s.parseXML
in interface PathFinder