website to get and show user's location asp.net
<p>I'm developing a website that requires to get and show user's location.
    However, I get this error message every time I run the project:
<a href="https://i.stack.imgur.com/FgDQP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FgDQP.png" alt="enter image description here"></a></p>

<p>this is my code:</p>

<pre><code>&lt;!DOCTYPE html&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&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;
if (navigator.geolocation) {
    navigator.geolocation.getCurrentPosition(function (p) {
        var LatLng = new google.maps.LatLng(p.coords.latitude, p.coords.longitude);
        var mapOptions = {
            center: LatLng,
            zoom: 13,
            mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        var map = new google.maps.Map(document.getElementById("dvMap"), mapOptions);
        var marker = new google.maps.Marker({
            position: LatLng,
            map: map,
            title: "&lt;div style = 'height:60px;width:200px'&gt;&lt;b&gt;Your location:&lt;/b&gt;&lt;br /&gt;Latitude: " + p.coords.latitude + "&lt;br /&gt;Longitude: " + p.coords.longitude
        });
        google.maps.event.addListener(marker, "click", function (e) {
            var infoWindow = new google.maps.InfoWindow();
            infoWindow.setContent(marker.title);
            infoWindow.open(map, marker);
        });
    });
} else {
    alert('Geo Location feature is not supported in this browser.');
}
&lt;/script&gt;
&lt;div id="dvMap" style="width: 500px; height: 500px"&gt;
&lt;/div&gt;
  &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>What's I'm doing wrong???
can anyone help please??</p>