private void Maps_Shown(object sender, EventArgs e) { MapPoint point; latlong = ""; if (this.bEsDireccion) { var locationservice = new GoogleLocationService(); point = locationservice.GetLatLongFromAddress(this.sDireccion); if (point == null) { point = locationservice.GetLatLongFromAddress("Ciudad Guzman"); } latlong = point.Latitude + "," + point.Longitude; } else { latlong = this.sDireccion; } string uri = (@"file:///" + UtilLocal.RutaRecursos("maps.html").Replace("\\", "/")); wkbMapa.Navigate(uri); this.Cargando(true); }
public static string RutaRecursos() { return(UtilLocal.RutaRecursos("")); }