You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when creating a new listing, the location is a free text field. Origin.js does not enforce neither any sort of standard formatting/schema for the location.
In order to be able to index the data and implement search based on listing location (ex: search for listings in a particular country, state or city, or within a given geographic radius), we need to standardize the location data. One idea would be to store in the listing location both:
normalized address format
(latitude, longitude)
One possible solution would be to have the DApp integrate with Google Maps APIs or any other similar service that provides similar functionalities. In addition, we could also add some validation at the Origin.js layer to enforce that new listings are created with a valid location.
Currently when creating a new listing, the location is a free text field. Origin.js does not enforce neither any sort of standard formatting/schema for the location.
In order to be able to index the data and implement search based on listing location (ex: search for listings in a particular country, state or city, or within a given geographic radius), we need to standardize the location data. One idea would be to store in the listing location both:
One possible solution would be to have the DApp integrate with Google Maps APIs or any other similar service that provides similar functionalities. In addition, we could also add some validation at the Origin.js layer to enforce that new listings are created with a valid location.