API Key for the Google Places, Autocomplete, and Geocoding APIs (API key must have accesse to all three).
Path to the Maxmind GeoIP City database.
Extra options
Returns a key-value pair of address components (for the Google Places API) from a EtomonLocationQuery.
Returns a key-value pair of address components (for the Google Places API) from a EtomonLocation.
Returns a key-value pair of address components (for the Google Places API).
Uses the Google Autocomplete API to return autocomplete matches.
Creates a hash of the input object to be used as a cache key (if cache is enabled)
Creates a hash of the input object to be used as a cache key (if cache is enabled)
Creates a hash of the input object to be used as a cache key (if cache is enabled)
Obtains arbitrary country data (like language and phone code) that corresponds to the location data provided, appending it to the EtomonLocation object.
Obtains arbitrary country data (like language and phone code) that corresponds to the location data provided, appending it to the EtomonLocation object.
Obtains arbitrary country data (like language and phone code) that corresponds to the location data provided, appending it to the EtomonLocation object.
Returns a single item from cache matching the provided query, if found
Returns a single item from cache matching the provided query, if found
Returns a single item from cache matching the provided query, if found
Returns all items from cache matching the provided query, if found
Returns all items from cache matching the provided query, if found
Returns all items from cache matching the provided query, if found
Returns the count of items from cache matching the provided query, if found
Returns the count of items from cache matching the provided query, if found
Returns the count of items from cache matching the provided query, if found
Obtains the timezone that corresponds to the location data provided, appending it to the EtomonLocation object.
Obtains the timezone that corresponds to the location data provided, appending it to the EtomonLocation object.
Obtains the timezone that corresponds to the location data provided, appending it to the EtomonLocation object.
Makes a request to a Google API
Query string to be used in the URL for the API request
Query to be sent
Which Google API to consume
Processes the response of a Google API request, overlaying each result of the API response on top of the original
EtomonLocationQueryOrResult
Original EtomonLocationQueryOrResult
The API response from Google
Returns a EtomonLocationQuery given the information in an EtomonLocation.
Missing fields are left null or undefined
Returns the EtomonLocationQuery passed unchanged
Returns a EtomonLocationQuery given the information in an EtomonLocation.
Missing fields are left null or undefined
Returns null
Loops through the list of resolvePriorities returning matching EtomonLocations
Loops through the list of resolvePriorities returning matching EtomonLocations
Loops through the list of resolvePriorities returning matching EtomonLocations
Uses the address contained in the input object to find corresponding locations using the Google Places API
Uses the address contained in the input object to find corresponding locations using the Google Places API
Uses the address contained in the input object to find corresponding locations using the Google Places API
Uses the individual address components (like city or country) contained in the input object to find corresponding locations using the Google Places API
Uses the individual address components (like city or country) contained in the input object to find corresponding locations using the Google Places API
Uses the individual address components (like city or country) contained in the input object to find corresponding locations using the Google Places API
Uses the IP address contained in the input object to find corresponding locations using the Google Places API
Uses the IP address contained in the input object to find corresponding locations using the Google Places API
Uses the IP address contained in the input object to find corresponding locations using the Google Places API
Uses the geographic coordinates contained in the input object to find corresponding locations using the Google Places API
Uses the geographic coordinates contained in the input object to find corresponding locations using the Google Places API
Uses the geographic coordinates contained in the input object to find corresponding locations using the Google Places API
Uses the Google Places API place id contained in the input object to find corresponding locations using the Google Places API
Uses the Google Places API place id contained in the input object to find corresponding locations using the Google Places API
Uses the Google Places API place id contained in the input object to find corresponding locations using the Google Places API
Returns all matching EtomonLocation objects from resolveLocation.
Returns all matching EtomonLocation objects from resolveLocation.
Returns all matching EtomonLocation objects from resolveLocation.
Used internally to aggregate EtomonLocations objects.
Returns a single EtomonLocation object from resolveLocation.
Returns a single EtomonLocation object from resolveLocation.
Returns a single EtomonLocation object from resolveLocation.
Returns a GeoJSONLocation given GeoJSONCoordinates
Returns a EtomonLocation given the information in an EtomonLocationQuery.
Missing fields are left null or undefined
Returns the EtomonLocation passed unchanged
Returns a EtomonLocation given the information in an EtomonLocationQuery.
Missing fields are left null or undefined
Returns null
Returns a EtomonLocationQuery given the information in an EtomonLocation.
Missing fields are left null or undefined
Returns the EtomonLocationQuery passed unchanged
Returns a EtomonLocationQuery given the information in an EtomonLocation.
Missing fields are left null or undefined
Returns null
Generated using TypeDoc
Accepts input in the form of a
EtomonLocationQueryand returns matchingEtomonLocations.