Implement mobile phone location (demo) and h5ajax Based on h5 ajax

Source: Internet
Author: User

Implement mobile phone location (demo) and h5ajax Based on h5 ajax

As a friend needs it, I have read about h5 Mobile Phone Positioning before. Now I have posted a demo here. If you are interested, you can check it out.

The current version is only a demo, and several issues need to be improved as follows:

1. How to send data such as longitude and latitude to a page that is invisible to the target user.

2. How to bypass or force the person who opens the link to allow location (pop-up window ).

3. How to simplify this section by using Google Earth to analyze user locations (via satellite maps) or by taking longitude and latitude values, let the positioning person's longitude and latitude automatically generate Map Images and import them to other pages together (in short, the positioning person cannot be aware of the fact that he or she is located ).

<! Doctype html> 

The above code is the h5 and ajax mobile phone positioning code, which will be updated and improved in the future. Please stay tuned to the help House website.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.