new GeocoderHelper(configopt)
Create an CloudinaryHelper.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
The configuration settings for the cloudinary API.
Properties
|
Members
(static) defaultConfig
Returns the default node geocoder configurations.
Methods
(async) geocodeData()
Geocodes the address specified in the query of the GeocoderHelper.
setLocData(req, index)
Sets the latitude, longitude, and address of a provided object (req).
Parameters:
Name | Type | Default | Description |
---|---|---|---|
req |
Object | The object, the location data of which, will be set. | |
index |
number | 0 | The index the node geocoder API response that will be used to set the location data of the object. |