193:vue+openlayers 多边形的绘制,编辑feature,删除所选feature和清空功能

在这里插入图片描述

第193个

点击查看专栏目录


本示例的目的是介绍如何在vue+openlayer中使用select来选择feature元素,选中的元素可以编辑,也可以删除,同时可以删除整个图层的source内容。

直接复制下面的 vue+openlayers源代码,操作2分钟即可运行实现效果; 注意如果OpenStreetMap无法加载,请加载其他来练习

示例效果

</

猜你喜欢

转载自blog.csdn.net/cuclife/article/details/128552537