"unsafely-treat-insecure-origin-as-secure" flag is not working on Chrome : <p>I am using geo-location for a site running locally on my machine using HTTP on Chrome. However this does not work as I am running on HTTP as opposed to HTTPS. </p>

<p>On the console it says:</p>

<pre><code>getCurrentPosition() and watchPosition() no longer work on insecure origins.
To use this feature, you should consider switching your application to a 
secure origin, such as HTTPS. See https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins 
for more details.
</code></pre>

<p>Accoriding to <a href="https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins" rel="noreferrer">Deprecating Powerful Features on Insecure Origins</a> its says to start chrome using <code>--unsafely-treat-insecure-origin-as-secure="http://example.com"</code> flag. The command I ran was similar to:</p>

<pre><code>chrome.exe --unsafely-treat-insecure-origin-as-secure="http://hello.app"
</code></pre>

<p>However, the same error message still appears.</p>

<p>How can I fix this issue.</p>
