You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/Geo/Coder/OpenCage.pm
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -258,16 +258,16 @@ L<OpenCage geocoding API response codes|https://opencagedata.com/api#codes>
258
258
}
259
259
260
260
261
-
=over
262
-
263
-
=itemSupported Parameters
261
+
=head3Supported Parameters
264
262
265
263
The OpenCage Geocoder has a few optional parameters.
266
264
267
265
Please see L<the OpenCage geocoder documentation|https://opencagedata.com/api>. Most of L<the various optional parameters|https://opencagedata.com/api#forward-opt> are supported.
268
266
269
267
The most commonly useful parameters are:
270
268
269
+
=over
270
+
271
271
=itemlanguage
272
272
273
273
An IETF format language code (such as es for Spanish or pt-BR for Brazilian
@@ -285,6 +285,8 @@ the supplied country.
285
285
286
286
The countrycode is a comma separated list of 2 character code as defined by the ISO 3166-1 Alpha 2 standard.
287
287
288
+
=back
289
+
288
290
As a full example:
289
291
290
292
my $response = $Geocoder->geocode(
@@ -293,18 +295,19 @@ As a full example:
293
295
countrycode => "ru",
294
296
);
295
297
298
+
=head3Not Supported
296
299
297
-
=itemNot Supported
300
+
=over
298
301
299
302
=itemjsonp
300
303
301
304
This module always parses the response as a Perl data structure, so the jsonp
302
305
option is never used.
303
306
304
-
All other API parameters are passed through directly
305
-
306
307
=back
307
308
309
+
All other API parameters are passed through directly.
310
+
308
311
=head2reverse_geocode
309
312
310
313
Takes two named parameters 'lat' and 'lng' and returns a result hashref.
0 commit comments