OpenLayers4 隐藏(hide)Feature
摘要:需求: 需要将同一图层的要素进行分类显示和隐藏(类似于图层控制) 方法: 使用setStyle方法将Feature的样式设置为null。 环境: win10、google chrome、OL 4.3 核心代码:
阅读全文
posted @ 2017-09-25 15:56
posted @ 2017-09-25 15:56