Phonegap Geolocation connected to Server API
问题 Into the mobile app I'm adding GeoLocation for search results which is connected to webserver API however it's always returning "not available". Javascript function getCurrentLocation() { navigator.geolocation.getCurrentPosition(geolocationSuccess,geolocationError, { enableHighAccuracy: true } ); } function geolocationSuccess(position) { var params="lat="+position.coords.latitude; params+="&lng="+position.coords.longitude; callAjax("reverseGeoCoding",params); } function geolocationError(error