N
N
newaitix2018-08-27 08:56:11
Geolocation
newaitix, 2018-08-27 08:56:11

What location methods are available to sites?

As far as I know there are 2 options.
1. in php we find out the latitude and longitude by ip then through google maps we find out the city
2. using javascript geolocation api we find out the latitude and longitude then through google maps we find out the city
geolocation api disappears since there is no request for permission to determine the location
A by ip - this is needed base with ip and corresponding cities. These databases are paid and free. But neither one nor the other guarantees an exact definition.
Those are all the ways I know. Are there other ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-08-27
@dimonchik2013

by stars
will be more accurate than mobile IP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question