Skip to content

@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 ​

NameType
Textends LatLon

Parameters ​

NameTypeDescription
latLonTlat and lon of the place to geo reverse
forcedZoom?numberOptionally zoom to force

Returns ​

Promise<ReverseResult>

Reverse data, fallback object if anything failed