TransWikia.com

How to prevent ol.interaction.Modify module's function?

Geographic Information Systems Asked by kochizufan on October 12, 2020

If I use ol.interaction.Modify module with the latest OpenLayers 6, I can easily implement modify function of LineString.

enter image description here

But even if the feature of other layers (like marker, etc.) is in front of edge layer, ol.interaction.Modify module ignore such features and show light-blue handle, and edges are modifyable.

enter image description here

I want to prevent ol.interaction.Modify module’s function (showing light-blue handle, modifying the edges) if other features are in front of edges.

Is it possible?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP