title: Does google map geo location require secure ssl connection?
body: <p>I am using google map geo location api. I have first tested it on local, its working file on both firefox and chrome. When it moved it to live site (that is not https), its working fine for firefox but not working on chrome. Getting this error:</p>
  
  <blockquote>
    <p>Geocoder failed</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>&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);
      }
      //Get the latitude and the longitude;
      function successFunction(position) {
          var lat = position.coords.latitude;
          var lng = position.coords.longitude;
      }
  
      function errorFunction() {
          alert("Geocoder failed");
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>Does chrome need secure ssl connection for geo location??</p>