标签:pac raw cli span source bsp int pre rac
1.在使用多边形draw时,双击地图结束绘画的同时地图也会被缩放,需要设置stopClick:true;
1 draw = new ol.interaction.Draw({ 2 source: spacesource, 3 type: drawtype, 4 stopClick:true//取消地图的单击双击事件 5 });
标签:pac raw cli span source bsp int pre rac
原文地址:https://www.cnblogs.com/weixiaoxiang/p/13151714.html