Geocode an address with Algolia
Last updated
Was this helpful?
Last updated
Was this helpful?
Please be sure of your agent type and version and pick the right documentation accordingly.
This is the documentation of the forest-express-sequelize
and forest-express-mongoose
Node.js agents that will soon reach end-of-support.
forest-express-sequelize
v9 and forest-express-mongoose
v9 are replaced by v1.
Please check your agent type and version and read on or switch to the right documentation.
This example shows you how to use an autocomplete address smart field to update a PostreSQL geography point (lat, long).
An admin backend running on forest-express-sequelize
An algolia account
This directory contains the events.js
file where the model is declared.
This directory contains the events.js
file where the Smart Field Location setter
is declared.
This smart field will be used to update the value of the address
and locationGeo
fields.
npm package
The field Location setter
should use the to enable address autocomplete.