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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.