title: Google map geolocation for chrome same file different server can't work
body: <p>I have a PHP file, I am using the google geolocation's <code>getCurrentPosition()</code> function, it can work on my localhost and get the current position at windows chrome, but it can't work when I put that file on cloud server at the same PC chrome.</p>
  
  <p><img src="https://i.stack.imgur.com/Wlfcg.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/uA8ZF.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/bQhCS.png" alt="enter image description here"></p>