Skip to content

Commit

Permalink
Additional bing tz debugging messages for Linux #1968
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Dec 11, 2024
1 parent 13dac1e commit 3ce73bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/geotools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo
url.Replace("<POINT>", wxString::Format("%.14lf,%.14lf", *lat, *lon));
url.Replace("<BINGAPIKEY>", wxString(bing_api_key));


wxMessageBox(url, "geocode developer bing tz URL");

if (showprogress)
{
if (!curl.Get(url, "Geocoding address '" + address + "'..."))
Expand All @@ -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()) {
Expand Down

0 comments on commit 3ce73bc

Please sign in to comment.