Skip to content

Commit 0f541b4

Browse files
authored
set language code (#29)
1 parent 7178288 commit 0f541b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample_project/Source/sample_project/Geocoding/Geocoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void AGeocoder::SendLocationQuery(UArcGISPoint* InPoint)
196196
// Set up the query
197197
FHttpRequestRef Request = FHttpModule::Get().CreateRequest();
198198
Request->OnProcessRequestComplete().BindUObject(this, &AGeocoder::ProcessLocationQueryResponse);
199-
Query = FString::Printf(TEXT("%s/?f=json&location=%f,%f"), *Url, Point->GetX(), Point->GetY());
199+
Query = FString::Printf(TEXT("%s/?f=json&langCode=en&location=%f,%f"), *Url, Point->GetX(), Point->GetY());
200200
Request->SetURL(Query.Replace(TEXT(" "), TEXT("%20")));
201201
Request->SetVerb("GET");
202202
Request->SetHeader("Content-Type", "x-www-form-urlencoded");

0 commit comments

Comments
 (0)