我正在使用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");
}
有谁知道怎么做?