Skip to main content

Location

Stentor API Reference


Stentor API Reference / stentor-models/src / Location

Interface: Location

Defined in: packages/stentor-models/src/Location/Location.ts:13

Description of a physical location

Properties​

streetAddress?​

optional streetAddress: string

Defined in: packages/stentor-models/src/Location/Location.ts:21

The free-form street address, in the format used by the national postal service of the concerned country. This field can then be used for geocoding with a third-party API, like the Google Maps Geocoding API, to determine latitude and longitude.

For example: Washington, DC or 123 Main St, City, State


geocode?​

optional geocode: LocationGeocode

Defined in: packages/stentor-models/src/Location/Location.ts:25

Geocoded form of the location