From 3ce73bcf110bf2ede1b376f33fdddc20b85951a5 Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Wed, 11 Dec 2024 04:18:41 -0700 Subject: [PATCH] Additional bing tz debugging messages for Linux #1968 --- src/geotools.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/geotools.cpp b/src/geotools.cpp index 2054c0ea4..0a173a485 100644 --- a/src/geotools.cpp +++ b/src/geotools.cpp @@ -278,6 +278,9 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo url.Replace("", wxString::Format("%.14lf,%.14lf", *lat, *lon)); url.Replace("", wxString(bing_api_key)); + + wxMessageBox(url, "geocode developer bing tz URL"); + if (showprogress) { if (!curl.Get(url, "Geocoding address '" + address + "'...")) @@ -289,6 +292,9 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo } str = curl.GetDataAsString(); + + wxMessageBox(str, "geocode developer bing tz URL return string"); + reader.Parse(str.c_str()); if (!reader.HasParseError()) {