Kristoffer Eriksson

πŸ—ΊοΈπŸŒ useLocation

This hook gives you the user's geo-position in real time. It also responds with a heading, and speed if the user is moving. It can be used to, for example, fetch information about the surrounding area, or find other users nearby.

Below you can see your current position. Test this on your phone to see how your position updates in real-time.

Latitude

Longitude

Heading

None

Speed

0 m/s

View on Github