摘要: <body> <div id="map"></div> <script> var map=new ol.Map({ target:"map", layer:[], view:new ol.View({ center:[0,0], zoom:2 }) //control:new control.def 阅读全文
posted @ 2016-10-27 16:02 米娜-火箭 阅读(2685) 评论(0) 推荐(0) 编辑
摘要: <body> <div id="map"> <div id="mouse-position"></div> </div> <script> var map=new ol.Map({ target:"map", layer:[], view:new ol.View({ center:[0,0], zo 阅读全文
posted @ 2016-10-27 15:18 米娜-火箭 阅读(4157) 评论(1) 推荐(0) 编辑
摘要: <body><div id="map"></div><div id="layerControl" class="layerControl"> <ul id="layerTree" class="layerTree"></ul></div><script> var layer=new Array(); 阅读全文
posted @ 2016-10-27 14:42 米娜-火箭 阅读(2465) 评论(0) 推荐(1) 编辑