@yext/search-core
Version:
Typescript Networking Library for the Yext Search API
25 lines • 473 B
text/typescript
/**
* The latitude and longitude of the user making the request.
* Used to bias the results.
*
* @remarks
* If omitted from a request, Yext will attempt to determine the location.
*
* @public
*/
export interface LatLong {
/**
* Latitude formatted as a decimal degree number.
*
* @example
* `40.741895`
*/
latitude: number,
/**
* Longitude formatted as a decimal degree number.
*
* @example
* `-73.989308`
*/
longitude: number
}