Windows Forms WebBrowser和Google Maps Api不显示地图 [英] Windows Forms WebBrowser and Google Maps Api Not Displaying Map

查看:127
本文介绍了Windows Forms WebBrowser和Google Maps Api不显示地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用.net 4.51 Windows Forms VS2015.今天我所有使用WebBrowser控件的应用都停止加载Google地图或至少正确显示了它. Webbrowser只是空白.

I am using the .net 4.51 Windows Forms VS 2015. Today all my apps using the WebBrowser control stopped loading Google maps or at least displaying it correctly. The Webbrowser is just blank.

我从以下位置加载Google地图:

I load the Google maps from:

<script type="text/javascript" src="http://maps.google.com/maps/api/js? sensor=false">

如果我在地图上快速放大和缩小,则地图会短暂闪烁,但不会显示. 还有其他人遇到这种情况吗?

If I zoom in and out quickly on the map the maps appears briefly flickering but wont show. Is anyone else experiencing this?

推荐答案

我对我的桌面win32应用程序有相同的问题,刚刚解决了.也许您可以尝试我的观察,祝您好运. (链接)

I have the same problem to my desktop win32 application and just solved. Maybe you can try my observation, Good luck. (link)

这篇关于Windows Forms WebBrowser和Google Maps Api不显示地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆