How display result sorted by location aka geopositioning.

Joined
Mar 18, 2023
Messages
1
Reaction score
0
Hi everyone,

I have a tiny website made with flask ❤️.

I would like to return some result ~POI but sorted by distance from the visitor.

I plan to display the result in "HTML list" and later on also trough a map. (using Openstreetmap , not google !)

So
  • in which format store the position of the POI
  • how get the position of the user ( IP, geolocation from device..)
  • how calculate the delta (distance)

If you have any ressources covering the subject or any ideas, I'm all ears :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top