Skip to content

Commit

Permalink
Geocode debugging on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Dec 11, 2024
1 parent 5a29814 commit 73ef931
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/geotools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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());


Expand Down

0 comments on commit 73ef931

Please sign in to comment.