title: Google geolocation doesn´t work in mobile browsers
body: <p>the standard geolocation code from google does not work in mobile browsers (Android Chrome, standard Android browser):</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta name="viewport" content="initial-scale=1.0, user-scalable=no"/&gt;
  &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"/&gt;
  &lt;title&gt;Reverse Geocoding&lt;/title&gt;
  
  &lt;script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
    var geocoder;
  
    if (navigator.geolocation) {
      navigator.geolocation.getCurrentPosition(successFunction, errorFunction, {enableHighAccuracy: true});
  }
  //Get the latitude and the longitude;
  function successFunction(position) {
      var lat = position.coords.latitude;
      var lng = position.coords.longitude;
      codeLatLng(lat, lng)
  }
  
  function errorFunction(){
      alert("Geocoder failed");
  }
  
    function initialize() {
      geocoder = new google.maps.Geocoder();
  
  
  
    }
  
    function codeLatLng(lat, lng) {
  
      var latlng = new google.maps.LatLng(lat, lng);
      geocoder.geocode({'latLng': latlng}, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
        console.log(results)
          if (results[1]) {
           //formatted address
           alert(results[2].address_components[0].long_name) 
  
          } else {
            alert("No results found");
          }
        } else {
          alert("Geocoder failed due to: " + status);
        }
      });
    }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onload="initialize()"&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But in Desktop Browser it works fine... Why? I´m sure the code has worked a few days ago. I didn´t change anything. is it possible that google has changed something in their code?</p>
  
  <p>EDIT: it´s important for me to get the location with GPS, WLAN AND! mobile network</p>