Commit 3eb0b1e 1 parent d3a385d commit 3eb0b1e Copy full SHA for 3eb0b1e
File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ public function reverseQuery(ReverseQuery $query): Collection
107
107
$ language = $ query ->getLocale () ?? '' ;
108
108
109
109
$ jsonQuery = [
110
- 'language ' => $ language ,
111
- 'point ' => [
112
- // x, y are switched in the API
113
- 'y ' => $ coordinates ->getLongitude (),
114
- 'x ' => $ coordinates ->getLatitude (),
115
- ],
116
- 'SRS_In ' => 4326 ,
117
- ];
110
+ 'language ' => $ language ,
111
+ 'point ' => [
112
+ // x, y are switched in the API
113
+ 'y ' => $ coordinates ->getLongitude (),
114
+ 'x ' => $ coordinates ->getLatitude (),
115
+ ],
116
+ 'SRS_In ' => 4326 ,
117
+ ];
118
118
119
119
$ url = sprintf (self ::REVERSE_ENDPOINT_URL , urlencode (json_encode ($ jsonQuery )));
120
120
$ json = $ this ->executeQuery ($ url );
You can’t perform that action at this time.
0 commit comments