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

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


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


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


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

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:22
阅读量:96
阅读量:69
阅读量:168
阅读量:83