As mentioned above, map loading.
However, we can find that when there is no page layout, the <Object> control does not occupy the entire screen. Here we will use the extjs function.
This section describes how to useExtjs is <Object>Control layout to adapt to any version of IE browser (because skyline currently only supports IE ).
1. Import the extjs package to the project.
-Note that the extjs5.0 package downloaded from the Internet contains many examples. To ensure the project is as clean as possible, we only need a small part.
2. Application in projects
-In the previous section, we wrote the object space directly in index. cshtml. Here, we need to modify it,
We will use viewport in extjs to render it to index. cshtml.
@ {Layout = NULL ;}<! Doctype HTML>
3. When the map is not loaded, let's take a look at the effect.
-The screen is full ^.
4. Conclusion
-Some may say that the layout of this control is so troublesome. Check the IE height and attach the height when loading the control,
Here I want to say that, to determine whether the Internet Explorer version is required, or to develop Google or Firefox browsers In skyline, other browsers must be judged,
Here extjs is the method that I found to save a lot of trouble.