1、打开https://openlayers.org/download/ 下载OpenLayers,如下图:

2、使用vs2013新建一个ASP.NET Web应用程序:OpenLayers4Demo,如下图:


3、新建一个index.htm,并设为起始页,如下图:


4、在艺施酱 index.htm输入如下代码:


5、单击调试按钮,启动新盯浏览器就可以看到效果图了,如篇各下图:

时间:2026-02-15 03:10:47
1、打开https://openlayers.org/download/ 下载OpenLayers,如下图:

2、使用vs2013新建一个ASP.NET Web应用程序:OpenLayers4Demo,如下图:


3、新建一个index.htm,并设为起始页,如下图:


4、在艺施酱 index.htm输入如下代码:


5、单击调试按钮,启动新盯浏览器就可以看到效果图了,如篇各下图:
