- lng
Required.
Longitude in decimal degrees. Can be a numeric vector.
- lat
Required.
Latitude in decimal degrees. Must be the same length as `lng`.
- key
Optional.
AutoNavi API key. You can also set this globally via
`options(amap_key = "your-key")`.
- poitype
Optional.
Return nearby POI types. Only meaningful when `extensions = "all"`.
- radius
Optional.
Search radius in metres (0-3000).
- extensions
Optional.
Either `"base"` (default) or `"all"` to request extended detail payloads.
- roadlevel
Optional.
Road level filter. Only applies when `extensions = "all"`.
- sig
Optional.
Manual digital signature. Most workflows can enable automatic signing via
[with_amap_signature()] or [amap_config()].
- output
Optional.
Output format. Supported values are `"tibble"` (default), `"JSON"`,
and `"XML"`.
- callback
Optional.
JSONP callback. When supplied the raw response string is returned.
- homeorcorp
Optional.
Optimise POI ordering: `0` (default) for none, `1` for home-centric, `2` for
corporate-centric ordering.
- keep_bad_request
Optional.
When `TRUE` (default) API errors are converted into placeholder rows so that
batched workflows continue. When `FALSE` errors are raised as
`amap_api_error` conditions.
- batch
Optional.
When `TRUE`, requests are chunked into groups of ten coordinates using the
API's batch mode.
Bulk requests are executed with `httr2::req_perform_parallel()` (curl multi;
no additional R sessions) and are protected by throttling configured via
[amap_config()].
- details
Optional.
Character vector describing which extended list-columns to include in the
parsed output. Supported values are `"pois"`, `"roads"`, `"roadinters"`,
and `"aois"`. Use `"all"` to include every detail payload. Defaults to
`NULL`, which omits nested payloads.
- ...
Optional.
Included for forward compatibility only.