Article From:

Recently in the development of a small program mall, the need to obtain latitude and longitude, through the inverse analysis interface to obtain geographical location, accurate to the county.
But in the development process, we found that when calling the getLocation interface,
Android The location in the upper left corner of the mobile phone takes 5-10 seconds to complete the location.
iPhone The mobile phone, half a second – one second can complete the positioning

The call interface code is as follows:

  type: 'wgs84',
  success: function(res) {
    var latitude = res.latitude
    var longitude = res.longitude

Small program development seems to be neither too hot nor too bad to find relevant information.
How do you solve this problem?

Answer 0:

Did I get the same problem solved? I temporarily stopped with a friendly reminder. Is there a solution there?

Leave a Reply

Your email address will not be published. Required fields are marked *