openlayers4打开openstreetmap的做法
1、打开https://openlayers.org/download/ 下载OpenLayers,如下图:

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


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


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


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

阅读量:92
阅读量:66
阅读量:163
阅读量:83
阅读量:147