search

Home  >  Q&A  >  body text

php - IP positioning, H5 positioning, how to solve the positioning problem? ? ?

[Foreword]
Environment: Touch screen version
Requirements: The city is accurate
Performance: The homepage is positioned by default, so the performance requirements must not be too bad

[Problem]
The current IP positioning used by new sites occasionally comes out from other cities and says that their positioning is inaccurate. However, I occasionally see some good websites and the IP positioning is quite accurate. .
How to set the standard! ?

I think both,
[IP positioning]
(1) Users are unaware
(2) The performance is better than H5 WeChat positioning

[H5 positioning WeChat positioning]
(1) If the user prohibits authorization, it will fail directly
(2) The performance is poor and requires several processes, especially WeChat positioning.
(3) H5 compatibility issues, many models simply failed to locate or even failed to initiate inquiries

So I would like to ask if you have any good suggestions and solutions. This problem has been solved for me for a long time, thank you!

黄舟黄舟2791 days ago886

reply all(3)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 12:04:49

    The most accurate positioning is to use GPS instead of IP and H5 positioning. In fact, these two positioning methods are implemented through the network, and there are still errors.

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 12:04:49

    There are only three positioning situations: IP, base station (WIFI), and GPS. As an H5 page, the only thing you can choose is IP for positioning. Others require system permissions, and you can’t do anything about the data the system gives you.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-16 12:04:49

    How can IP positioning be accurate??

    If the mobile network passes through base stations, then it is impossible to determine which base station I am connected to and where the base station is.

    If it is a wifi network, the IP operator will allocate it randomly

    If you want to accurately and honestly use WeChat positioning, it’s not too troublesome

    reply
    0
  • Cancelreply