search

Home  >  Q&A  >  body text

javascript - thinkphp3.2.3+HTML5 problem

Regarding positioning check-in, you cannot open it if it exceeds this range. Once you are positioned, you need to read your current latitude and longitude, and then determine whether the current longitude and latitude are within the range of the longitude and latitude you set. , how to do this? Thank you

三叔三叔2788 days ago728

reply all(3)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-06-08 11:03:46

    You have described the process very clearly. Just implement it in code

    reply
    0
  • 滿天的星座

    滿天的星座2017-06-08 11:03:46

    Yes, just type in the code

    reply
    0
  • 扔个三星炸死你

    扔个三星炸死你2017-06-08 11:03:46

    It has nothing to do with thinkphp, it has something to do with the geography API. You can write it by specifically checking the API (https://developer.mozilla.org...). Do you have any questions?

    reply
    0
  • Cancelreply