Update point geometry field using a smart field and algolia api
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.
Algolia is sunsetting its Place services. We recommend that you use the Google service instead. .
Description: I need to fill in 2 fields in my db for a location: address 1 (a string) and location (a postresql geography point). Although a with autocomplete exists to fill an address string in the UI, the location coordinates can only be obtained manually by looking up the address in our search engine which is not optimal.create smart field to edit point field using the address widget and algolia API.
Approach chosen: Create a smart field in your Forest Admin backend app that will serve as the input field.