I’m looking for a way to build an online listing similar to classified ad. Question, how do I take the visiting users current location and list everything found within the users city.
const x = position.coords.latitude;
const y = position.coords.longitude;
I think the most straight forward way would be to leave the heavy lifting to a search engine like open search that fully supports geo points (cords) and searching within geo shapes (bounding boxes).
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.