/// <summary>
 /// constructor for pathfinder strategy
 /// </summary>
 public PathfinderStrategy()
 {
     _turns = new List<Turn>();
     _turnImages = new List<Image>();
     _pois = new List<PointOfInterest>();
     _path = new TrackPath();
     _web = new WebInterface();
     _cache = new CacheStrategy();
     _rideMapFid = new FiducialStrategy();
     _turnMapFid = new FiducialStrategy();
     _rideMpaPainter = new MapPainter(_rideMapFid);
     _turnMapPainter = new MapPainter(_turnMapFid);
 }
 public static Address getAddress(Location loc, WebInterface web)
 {
     string fullGeoUrl = BASE_URL + loc.Lat + "," + loc.Lon + "&sensor=false";
     return new Address(web.downloadWebPage(fullGeoUrl), loc);
 }
        public static Address getAddress(Location loc, WebInterface web)
        {
            string fullGeoUrl = BASE_URL + loc.Lat + "," + loc.Lon + "&sensor=false";

            return(new Address(web.downloadWebPage(fullGeoUrl), loc));
        }