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
Waypoints. |
public java.lang.String getXMLResponse(PathFinder.PathFindType type, double lat1, double lon1, double lat2, double lon2)
PathFindergetXMLResponse in interface PathFinderpublic java.util.List<Waypoint> parseXML(java.lang.String xml)
PathFinderWaypoints.parseXML in interface PathFinder