Interface OkHiLocation

Defines the structure of the OkHi location object once an address has been successfully created by the user.

Hierarchy

  • OkHiLocation

Properties

city?: string

A user's city

country?: string

A user's country

countryCode?: string

A user's country code

directions?: string

User generated directions to the location.

displayTitle?: string

A formatted location information

id?: string

The OkHi's locationId. Usually obtained once an address has been successfully created by the user.

lat: number

The latitude of the location.

lon: number

The longitude of the location.

otherInformation?: string

User generated meta information about the location, how to access it and any other relevant notes.

photo?: string

A link to the location's gate photo.

placeId?: string

The id of a common residential or geological space such as apartment building or office block.

plusCode?: string

Geocode system for identifying an area anywhere on the Earth. See https://plus.codes/

propertyName?: string

The location's property name.

propertyNumber?: string

The location's property number.

state?: string

A user's state

streetName?: string

The location's street name.

streetViewPanoId?: string

A Google's StreetView Panorama Id, if the address was created using Google StreetView. See: https://developers.google.com/maps/documentation/javascript/streetview

streetViewPanoUrl?: string

A Google's StreetView Panorama Url, if the address was created using Google StreetView. See: https://developers.google.com/maps/documentation/javascript/streetview

subtitle?: string

A string that can be used to render meta information about the location.

title?: string

A string that can be used to render information about the location.

url?: string

A link to the user's address visible on browser or desktop.

userId?: string

The OkHi's userId. Usually obtained after a user successfully creates an OkHi address.

verificationTypes?: VerificationType

An array of verification types that specifies the mode of verification. Can include "physical" and/or "digital" as valid values.

Generated using TypeDoc