阅读背景:

等待功能结束

来源:互联网 

I have this code:

我有这个代码:

function getLocation() {
  //function executed if started by webview
  if (typeof Jinterface != 'undefined') {
    Jinterface.displayGPSRequest();
  }

  if (navigator.geolocation) {
    navigator.geolocation.getCurrentPosition(showPosition, showError, {
      enableHighAccuracy: true
    });
  } else {
    alert("Geolocation is not supported by this browser.");
  }
}
function getLocat



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: