Html5Geolocation, html5geolocation
<Html>
<Head>
<Title> Geolocation API location </title>
<Script type = "text/javascript">
Navigator. geolocation. getCurrentPostion (function (pos ){
Console. log ("latitude of the current geographic location:" + pos. coords. Lads );
Console. log ("longitude of the current geographic location:" + pos. coords. longpolling );
Console. log ("longitude of the current longitude and latitude:" + pos. coords. accuracy );
});
Var watchID = navigator. geolocation. witchPosition (function (pos ){
Console. log ("latitude of the current location change:" + pos. coords. Lads );
Console. log ("longitude of the current location change:" + pos. coords. longpolling );
Console. log ("longitude of the current location change:" + pos. coords. accuracy );
Navigator. geolocation. clearwatch (watchID );
}, Function (){});
</Script>
</Head>
<Body>
</Body>
</Html>