Present location of a user.

Posted 9 months ago by nagendrabhat

Hey Team, I have a custom login page and dashboard page for user login. And I need to get his present location when he clicks on Check In Button present in the dashboard.

To be specific, I have a check-in button. and when a user clicks on it. I want to get his present location (lat, lang) and that should be saved into the database.

Searched all over. And end up with finding google maps implementation and user manually clicks on it to get location either autocomplete search box where it finds the location.

Please help me out with this. I would be really helpful to get the solution.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.