摘要: 1 map.getView().on('change:resolution',checkZoom);//checkZoom为调用的函数 2 3 function checkZoom() { 4 // alert("1"); 5 // var childId; 6 console.log(map.getView().getZoom()); 7 if ... 阅读全文
posted @ 2017-01-06 14:08 sunnyny 阅读(6376) 评论(0) 推荐(1) 编辑