@windy/reverseName
Returns complete geo reverse name for given lat,lon, including city, country, county, district, locality etc.
Result is localized based on user's language preferences.
Table of contents
Interfaces
Functions
Functions
get
▸ get<T
>(latLon
, forcedZoom?
): Promise
<ReverseResult
>
Returns reverse data for given lat,lon
Type parameters
Name | Type |
---|---|
T | extends LatLon |
Parameters
Name | Type | Description |
---|---|---|
latLon | T | lat and lon of the place to geo reverse |
forcedZoom? | number | Optionally zoom to force |
Returns
Promise
<ReverseResult
>
Reverse data, fallback object if anything failed