For this problem, I spent a whole morning to solve the problem, the online solution is almost impossible to find, so I can be able to get some inspiration from the answer of the Internet related questions, Kung Fu, eventually through the accumulation of these inspirations I finally solved the problem.
First let's take a look at the problem, in order to see the script error, I first
Webbrowser1.scripterrorssuppressed = true;
Hidden, the error is shown in the following figure:
For this error, my first reaction is due to jquery.min.js writing is not standardized, but looked not wrong, back to think about it, this possibility is relatively small, so ruled out this situation.
My second thought was: Easyui, but soon I vetoed the idea because my north and west directions were created by Easyui, and if it was a easyui problem, then neither of these would be shown, so the idea was also wrong.
This makes people guess when openlayers problem, from the internet I get the revelation, said is WebBrowser kernel is IE6 seems to be, that is, it does not support IE8 and above the kernel browser, through the official website query openlayers 3 Get Revelation openlayers Some features ie9.0 below are not supported, I use the version is 2.13, so I guess IE9 is enough.
The way to resolve webbrowsers support IE9 is to modify the registry by following these steps:
After you add this registry and run it again, you will find that the map can be loaded.
The problem is solved, but the truth is not perfect, because, if we make the form of the client, each computer needs to modify the registry, which will bring a lot of trouble, again, I hope you can help, how to better solve the problem.
Viva----Share