Rohit
Rohit

Reputation: 19

How to estimate the user location in a web application?

On most of posts of SO I read the following about getting ip, location of users:

for users on a corporate network, the location will often be wrong. My corporate network places me in France, or Atlanta even though I'm in the UK. Off corporate network, it is unnervingly accurate

As per my understandings we should not use IP address. Then how can we estimate the user's location in a web application?

Upvotes: 0

Views: 196

Answers (1)

Tom van der Woerdt
Tom van der Woerdt

Reputation: 29975

Can't you use the JavaScript geolocation API?

Upvotes: 1

Related Questions