From 73ef931271c0475ac4655c24a30ef10533accc65 Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Wed, 11 Dec 2024 02:36:32 -0700 Subject: [PATCH] Geocode debugging on Linux --- src/geotools.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/geotools.cpp b/src/geotools.cpp index 88b88c355..44092036d 100644 --- a/src/geotools.cpp +++ b/src/geotools.cpp @@ -185,6 +185,8 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo wxEasyCurl curl; wxBusyCursor curs; + wxMessageBox(url, "geocode developer URL"); + if (showprogress) { if (!curl.Get(url, "Geocoding address '" + address + "'...")) return false; @@ -196,6 +198,9 @@ bool GeoTools::GeocodeDeveloper(const wxString& address, double* lat, double* lo rapidjson::Document reader; auto str = curl.GetDataAsString(); + + wxMessageBox(str, "geocode developer URL return string"); + reader.Parse(str.c_str());