Example #1
0
        public async void OpenMapForCustomer(Customer customer)
        {
            var fullAddress = customer.Address1 + " " + customer.Address2 + " " 
                + customer.City + ", " + customer.State +
                              " " + customer.ZipCode;

            var uri = new Uri("bingmaps:?where=" + Uri.EscapeDataString(fullAddress));

            await Windows.System.Launcher.LaunchUriAsync(uri);
        }
 public void Save(Customer customer)
 {
     throw new System.NotImplementedException();
 }
Example #3
0
 public void OpenMapForCustomer(Customer customer)
 {
     var mapsTask = new MapsTask();
     mapsTask.SearchTerm = customer.City + ", " + customer.State;
     mapsTask.Show();
 }