From 437dc47db709756e9eafa664f437a5db65078b51 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Tue, 26 Nov 2019 09:27:47 -0700 Subject: [PATCH] Error al consultar direcciones --- GPS/EntradasSalidasGR.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPS/EntradasSalidasGR.aspx.vb b/GPS/EntradasSalidasGR.aspx.vb index 5827fa0eb..84ef503af 100644 --- a/GPS/EntradasSalidasGR.aspx.vb +++ b/GPS/EntradasSalidasGR.aspx.vb @@ -233,7 +233,7 @@ Partial Class GPS_Rastreo For Each Row As DataRow In DtDatos.Rows Try - request = WebRequest.Create(String.Format("{0}nominatim/reverse.php?format=jsonv2&lat={1}&lon={2}", ClsPaginas.UrlDirecciones, Row("Lat"), Row("Lon"))) + request = WebRequest.Create(String.Format("{0}nominatim/reverse.php?format=jsonv2&lat={1}&lon={2}", ClsPaginas.UrlDirecciones, Row("Lat"), Row("Lng"))) request.Method = "GET" ' set default credentials Dim response As WebResponse = Request.GetResponse() ' fire this puppy off Dim inputstream1 As Stream = response.GetResponseStream() ' define the stream(must be stream