web / lib/services/geocoding
lib/services/geocoding
This file serves as the primary entry point for accessing the geocoding functionality.
It exports a simplified geocodeAddress function that acts as a wrapper around the more
complex GeocodingService. This approach abstracts the underlying implementation details,
such as service initialization and dependency injection, providing a clean and easy-to-use
interface for other parts of the application that need to perform geocoding lookups.
Functions
initializeGeocoding()
initializeGeocoding(
payload):void
Parameters
payload
BasePayload
Returns
void
geocodeAddress()
geocodeAddress(
address):Promise<GeocodingResult>
Parameters
address
string
Returns
Promise<GeocodingResult>
References
GeocodingResult
Re-exports GeocodingResult
Last updated on