在WebKit Browser C#中启用GEOLOCATION

时间:2014-10-13 07:43:32

标签: c# geolocation webkit

我正在使用Webkit.NET

创建一个窗体项目

我将WebKitBrowser网址设置为“http://htmlfive.appspot.com/static/whereami.html”(使用谷歌地图找到您的位置的网站)

messageBox确实弹出,所以我认为浏览器正在尝试重新获得权限但是我不知道在webkit浏览器中启用GEOLOCATION?

 private void webkit1_GeolocationPositionRequest(object sender, GeolocationRequestEventArgs e)
    {
        // Enable Geolocation 
           MessageBox.Show("DONE");
    }

有谁知道怎么做?

0 个答案:

没有答案