Because friends need, before looking at the H5 of mobile phone positioning, currently wrote a demo here posted, interested friends can look.
The current version is only demo, there are still several problems need to be improved, the problem is as follows:
1, how to the latitude and longitude and other data sent to the location can not see the page.
2, how to bypass or force the open link to allow the person to use the Positioning (window).
3, at present or upon the latitude of the Scriptures, to use Google Earth to analyze the user's location (through the satellite map positioning and display), how to simplify this part, so that the latitude and longitude of the locator automatically generate map images and together to import to other pages (in short, can not let the location of the person to perceive the fact that they are located).
The above code is to implement H5 and Ajax mobile phone positioning code, follow-up will continue to update and improve, please continue to pay attention to cloud Habitat community website.