/*********************************************************************** * frm_MainMap.cs * Author: Ryan Abendroth * AHCS: _______________________ * Assignment: Capstone Experience Project - Door To Door * Date Due: Tuesday, May, 13th, 2013 ***********************************************************************/ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net; using GMap.NET; using GMap.NET.WindowsForms; using GMap.NET.MapProviders; //using System.IO; using System.Xml; using System.Xml.XPath; namespace Door2Door { public partial class frm_MainMap : Form { private string address; private int totalDestinations = 0; private double totalDistance; Bitmap from_marker = new Bitmap("marker.png"); //Next destination on route Bitmap dest_marker = new Bitmap("bluemarker.png"); //Future destination on route Bitmap curr_loc = new Bitmap("greenmarker.png"); //Current location GMapOverlay markers = new GMapOverlay(); //private string[] inputArray = new string[12]; private string[] addressArray = new string[20]; //private transaction[] passengerArray = new transaction[10]; //private destination[] destinationArray = new destination[20]; //private destination[] routeArray = new destination[20]; public List destinationList = new List(20); public List