nicht bekommen Ich habe einige Code Javascript für GPS vom Browser erhalten. Es kann exacly GPS in: Chrome (Windows 7-PC), Firefox (Windows 7-PC), Firefox (Android 5.0-Smartphone). Aber mit Chrome (Android 5.0-Smartphone) kann es GPS nicht bekommen. Mein Code:Kann GPS von Google Chrome in Android
function getLocation() {
if (navigator && navigator.geolocation) {
navigator.geolocation.getCurrentPosition(successGPS, errorGPS, {enableHighAccuracy: true, timeout: 60000});
} else {
console.log('Geolocation is not supported');}}
function successGPS(position) {
latLng_taxi = new google.maps.LatLng(position.coords.latitude,
position.coords.longitude);
alert(latLng_taxi);}
function errorGPS() {
alert("Cant get GPS");}
Bitte sagen Sie mir ein über mein Problem und wie GPS bekommen mit Chrome (Android)